Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scaling Imported IGES files.... 1

Status
Not open for further replies.

NickE

Materials
Jan 14, 2003
1,570
I am trying to import an IGES file into SW 2008. I can import it as either importedcurves or a 3d sketch. (its the centerline of a complex curve, similar to a helix)

The problem is that the imported curve is 25.4 times bigger than I need.

The sketch tool scale is not available....

how do I scale the curve to get it from reading in as inches, its actually metric.

(I can't change the way the iges file is made, its just given to me.)

nick
 
Replies continue below

Recommended for you

Nick, check the imported geometry carefully to insure correctness.

Field 14 is an integer field and should be 2 for mm.
Field 15 is redundant unless [14] = 3, which tells postprocessor to use field 15.

Field 15 is a string field and should read (for inch or mm)
2HIN
4HINCH
2HMM

I see what you were trying to do with the 'scale factor'. It's just not supposed to work that way.

Out of curiosity would you post the appropriate line from your original file and your modified file? Or zip and post the .igs.

-Jeff Howard (wf2)
Sure it's true. I saw it on the internet.
 
I cant post the IGES but here's the first four lines of the file.....


Code:
                                                                        S      1
1H,,1H;,,10Hcase0.iges,                                                 G      1
5HANSYS,21H  8.1      UP20040329,,,,,,,1.0,,,,,13H000725.071414,        G      2
1.0000E-04,,,,9,,;                                                      G      3

in line G2 (the actual third line) the 1.0 when replaced with 0.03937HMM worked for me.....

nick
 
Thanks for getting back, Nick.
I hate to leave things dangling without understanding,
at least in part, and I learned something from this.

What you actually changed was Field 13, Model Space Scale.
Fields 14, 15 are empty (defaulted to inch). I guess the
postprocessor read the "0.03937" scale factor,ignored the
invalid "HMM" portion and went on about it's business
reading in a scaled inch model.

What line G(lobal section) 2 should look like for a millimeter
file, if you're curious:

5HANSYS,21H 8.1 UP20040329,,,,,,,1.0,2,2HMM,,,13H000725.071414, G 2

The attachment is a breakdown of the line and some extracts from
the IGES spec.

IGES specifications can be found at ...
... if there's an interest.

Have a good'n.

-Jeff Howard (wf2)
Sure it's true. I saw it on the internet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor