The problem I am having is that INCH units are being converted to metric. If I open the file in a text editor I can see that the CARTESIAN_POINT values are correct. As a test if I remove the line below all is well:
#5 =( CONVERSION_BASED_UNIT ( 'INCH', #3 ) LENGTH_UNIT ( ) NAMED_UNIT ( #4 ) );
I have stepped through the code in the debugger but I can't see when the conversion takes place:(
Test file attached. It is a cube 3.94 x 3.94 x 1.97, but is converted to 100 x 100 x 50
Interestingly testing the file in proprietary CAD software, about half get it right.
Many thanks for any help in this matter.