============================================================
IGES file header per DRAFT v6 1998-01-05 18.
Global Section (reference 2.2 pg 18 Table 1)
============================================================
1) String Parameter delimiter character.
2) String Record delimiter character.
3) String Product identification from sending system
4) String File name
5) String Native System ID
6) String Preprocessor version
7) Integer Number of binary bits
for integer representation
8) Integer Maximum power of ten representable
in a single-precision floating point number
on the sending system
9) Integer Number of significant digits in a
single-precision floating point number on
the sending system
10) Integer Maximum power of ten representable
in a double-precision floating point
number on the sending system
11) Integer Number of significant digits in a
double-precision floating point number on
the sending system
12) String Product identification for the
receiving system
13) Real Model space scale
14) Integer Units flag (see pg 20; 1 = in, 2 = mm, etc.)
15) String Units Name ***** (Redundant unless [14] = 3) *****
16) Integer Maximum number of line weight
gradations. Refer to the Directory Entry
Parameter 12.
17) Real Width of maximum line weight in units.
Refer to the Directory Entry Parameter 12
(see Section 2.2.4.4.12) for use of this parameter.
18) String Date and time of exchange file generation
15HYYYYMMDD.HHNNSS or 13HYYMMDD.HHNNSS
where:
YYYY or YY is 4 or 2 digit year HH is hour (00-23)
MM is month (01-12) NN is minute (00-59)
DD is day (01-31) SS is second (00-59)
19) Real Minimum user-intended resolution or ******************
granularity of the model in units specified ***************
by Parameter 14. ******************************************
20) Real Approximate maximum coordinate value
occurring in the model in units specified
by Parameter 14.
21) String Name of author
22) String Author’s organization
23) Integer Flag value corresponding to the version
of the Specification to which this file complies.
24) Integer Flag value corresponding to the drafting
standard to which this file complies, if any.
25) String Date and time the model was created or
last modified, in same format as field 18.
26) String Descriptor indicating application protocol,
application subset, Mil-specification, or
user-defined protocol or subset, if any.
================================================================================
================================================================================
I'm assuming you have a standard Fixed Format ASCII file.
You can change the units using a text editor.
Use fixed width font, i.e. Courier.
This message should be viewed using same.
Global section fields are variable length (usually comma) delimited.
All lines are 80 characters.
Strings are prefixed with character counts, i.e. 63H, 22H in fields
[3] and [4] below.
The above was taken from (never to be implemented?) IGES 6.
The headers in IGES 5.x are the same.
Units are defined by field [14] or [15].
-----
Sample inch:
,,63HD:\MyData\Reference\Aircraft\Boeing\Boeing_3_Views\737-700w.dwg, G 1
22HD:\MyData\737-700w.igs,53HAutoCAD-16.0 (Microsoft Windows NT Version G 2
5.0 (x86)),87HAutodesk IGES Translator Mechanical Desktop.R7.0.43.0 (MarG 3
18 2003) from Autodesk, Inc.,32,38,6,99,15,63HD:\MyData\Reference\AircrG 4
aft\Boeing\Boeing_3_Views\737-700w.dwg,1.0D0,1,2HIN,211, G 5
8.30708661417323D-2,15H20040414.223429,2.90688854527066D-6, G 6
2906.88854527066D0,,,11,0,15H20020213.110902,; G 7
-----
Line 5 extracted:
aft\Boeing\Boeing_3_Views\737-700w.dwg,1.0D0,1,2HIN,211, G 5
indicates it's an IN(ch) file.
("1.0D0,1,2HIN,211," are fields [13] thru [16])
Line 5 modified so it will be interpreted as mm:
aft\Boeing\Boeing_3_Views\737-700w.dwg,1.0D0,2,2HMM,211, G 5
If your file has something like "4HINCH" in field [15],
change it to "2HMM" and <SPACE> the "G" back to #73.
HTH
-Jeff Howard (wf2)
Sure it's true. I saw it on the internet.