Hello,
By STEPCode, I'm trying to load ap203 and ap214 STEP file which could be downloaded from Japanese Trading Company, Misumi.
However, on many cases of the mechanical parts, the common error was detected and I couldn't understand why it happened.
Our purpose is to build factory automation system with 3D cad.
I attach the STEP File(ap203), and please check if you can.
I tried on both Debian gcc and Windows MSVC(VS2019), but that problem is never changed.
(*Sorry, but I cannot attach step file.)
The STEP sentence:
#23 = ( GEOMETRIC_REPRESENTATION_CONTEXT( 3 )GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT( ( #43 ) )GLOBAL_UNIT_ASSIGNED_CONTEXT( ( #45, #46, #47 ) )REPRESENTATION_CONTEXT( 'NONE', 'WORKSPACE' ) );
#43 = UNCERTAINTY_MEASURE_WITH_UNIT( LENGTH_MEASURE( 0.00100000000000000 ), #45, '', '' );
#45 = ( CONVERSION_BASED_UNIT( 'MILLIMETRE', #59 )LENGTH_UNIT( )NAMED_UNIT( #62 ) );
#46 = ( NAMED_UNIT( #64 )PLANE_ANGLE_UNIT( )SI_UNIT( $, .RADIAN. ) );
#47 = ( NAMED_UNIT( #64 )SI_UNIT( $, .STERADIAN. )SOLID_ANGLE_UNIT( ) );
#59 = LENGTH_MEASURE_WITH_UNIT( LENGTH_MEASURE( 1.00000000000000 ), #74 );
#62 = DIMENSIONAL_EXPONENTS( 1.00000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000 );
#64 = DIMENSIONAL_EXPONENTS( 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000 );
#74 = ( LENGTH_UNIT( )NAMED_UNIT( #62 )SI_UNIT( .MILLI., .METRE. ) );
I write the error message issued in GUI console:
*******
HEADER read:
FIRST PASS complete: 2407 instances created.
0 ERRORS 0 WARNINGS
ERROR in EXCHANGE FILE: incomplete instance #46.
ERROR in EXCHANGE FILE: incomplete instance #47.
Second pass complete - instance summary:
Total instances: 2407
Invalid instances: 2
Incomplete instances (includes invalid instances): 0
Warnings: 0.
*******
And I'm able to avoid the problem now to use the sentence NAMED_UNIT( * ) instead of NAMED_UNIT( #64 ).
But I need a solution not to change contexts of STEP file.
Manufacture Information (by STEP Solutions):
Katayama Chain Inc.
NK35B
KANA_NK35B10D9
Thanks,
Yucho