Difference between revisions of "Dealing with Incorrect STEP Linear Unit Scale"
From ATTWiki
(→How Wrong Scales Are Represented in STEP Files) |
(→How to Fix the STEP File in a Text Editor) |
||
Line 25: | Line 25: | ||
<pre> | <pre> | ||
− | #815=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(. | + | #815=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); |
</pre> | </pre> | ||
Then save the file, then re-import the STEP file. | Then save the file, then re-import the STEP file. | ||
− | |||
==Import After Fix== | ==Import After Fix== |
Revision as of 18:18, 12 July 2016
- Back to VTube-STEP or VTube-LASER
Contents |
How Wrong Scales Are Represented in STEP Files
If you attempt to calculate a centerline and find that the calculation takes much longer than usual, and the resulting values are extremely large, then there is probably a problem in the original STEP file setup.
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.
In the import shown above the line with LENGTH_UNIT shows 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: