MoI finds a home

 From:  Michael Gibson
3892.67 In reply to 3892.65 
Hi Michael T,

> I just had the same STEP file issue with a SolidWorks STEP
> file I downloaded from the web. I have attached it here. The
> same SAT file came in okay.
>
> Just thought I would let you know.

Thanks for posting the file Michael T - this looks like another problem with reading the units setting from the file, but it is a different problem than the previous one.

I've heard back from the STEP library author for the previous problem and he has a fix coming for it in the next version of the library. I'll also send him this other one and see if that can also be fixed.

The problem with this new one seems to be that the library thinks the units in the file are supposed to be meters, when I guess they are actually in inches. This seems to be due to some kind of alternate method used for designating the units, it's got these entries in the STEP data:

#5130 =( CONVERSION_BASED_UNIT ( 'INCH', #5131 ) LENGTH_UNIT ( ) NAMED_UNIT ( #5132 ) );

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


The library seems to be not handling or taking into account that "Conversion based unit" stuff in the file.


In order to fix this second one into MoI, you'll need to turn off the option to scale objects when the unit system changes, then change the units from meters into inches, then turn the option to scale back on and then change the units to mm to get the correct final result in mm.

- Michael