Advanced Tubular Technologies, Inc. Support Center

Contact Us

Fixing Incorrect STEP File Linear Units - Idea 1

See also: Idea 2 for fixing incorrect linear units in STEP files.


How Wrong Scales in STEP Files Affect VTube

After importing a STEP model of a tube, if you attempt to calculate a centerline and find that the calculation takes much longer than usual and the resulting values are huge, then there is probably a problem in the original STEP file setup for linear units.
 

For example, this STEP file imported the following values:

 

The import required 28,539 loops which is much higher than normal.

How to Fix the STEP File in a Text Editor

Open the STEP file in a text editor and search for SI_UNIT.

The file data for this example has a text line with LENGTH_UNIT like this:

#815=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT($,.METRE.));

In this line, we can change the "$" character like this:

#815=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));

Then save the file, then re-import the STEP file.

Import After Fix

This is how the imported part shows now:


See also: Idea 2 for fixing incorrect linear units in STEP files.