pythonOCC set default units to inches
问题 PLEASE SEE EDIT FOR SHORT VERSION Been hunting through the pythonOCC documentation for this. I have .step file in inches. Here are the lines in the .step file for confirmation: #50 = ( CONVERSION_BASED_UNIT( 'INCH', #122 )LENGTH_UNIT( )NAMED_UNIT( #125 ) ); #51 = ( NAMED_UNIT( #127 )PLANE_ANGLE_UNIT( )SI_UNIT( $, .RADIAN. ) ); #52 = ( NAMED_UNIT( #127 )SI_UNIT( $, .STERADIAN. )SOLID_ANGLE_UNIT( ) ); ~~~ #122 = LENGTH_MEASURE_WITH_UNIT( LENGTH_MEASURE( 25.4000000000000 ), #267 ); File reads