step-examples/12-4-tolerance/N100.stp
Sources
- synthesized — no external source cited
Description
ShapeAnalysis_Edge.CheckPoints precision-asymmetry-extreme
Reproducer recipe
Expected kernel behavior
accept: the two independent line edges are well-formed; the declared tolerances (1.0E-15 'ultra_tight_preci1', 1.0 'coarse_preci2') are both live global values in the same context, not bound to specific edges despite the labels. A correct kernel should not average two such wildly separated declared tolerances -- use the tighter (1e-15mm, or a sane working-precision floor above it) rather than a midpoint that masks both.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* N100: CheckPoints precision-asymmetry-extreme: two edges; preci1=1e-15 vs preci2=1.0; averaging masks both extremes; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N100'),'2;1'); 5FILE_NAME('N100.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#1=CARTESIAN_POINT('p1A',(0.0,0.0,0.0)); 10#2=CARTESIAN_POINT('p2A_ultra_close',(1.0E-14,0.0,0.0)); 11#3=VERTEX_POINT('v1A',#1); 12#4=VERTEX_POINT('v2A',#2); 13#5=DIRECTION('',(1.0,0.0,0.0)); 14#6=VECTOR('',#5,1.0E-14); 15#7=LINE('ln_ultra_tight',#1,#6); 16#8=EDGE_CURVE('eA_ultra_tight',#3,#4,#7,.T.); 17#9=CARTESIAN_POINT('p1B',(0.0,1.0,0.0)); 18#10=CARTESIAN_POINT('p2B_coarse',(0.9,1.0,0.0)); 19#11=VERTEX_POINT('v1B',#9); 20#12=VERTEX_POINT('v2B',#10); 21#13=DIRECTION('',(1.0,0.0,0.0)); 22#14=VECTOR('',#13,0.9); 23#15=LINE('ln_coarse',#9,#14); 24#16=EDGE_CURVE('eB_coarse',#11,#12,#15,.T.); 25#17=GEOMETRIC_CURVE_SET('asymmetric_prec',(#8,#16)); 26#18=APPLICATION_CONTEXT('automotive_design'); 27#19=PRODUCT_CONTEXT('',#18,'mechanical'); 28#20=PRODUCT('N100','N100','',(#19)); 29#21=PRODUCT_DEFINITION_FORMATION('','',#20); 30#22=PRODUCT_DEFINITION_CONTEXT('part definition',#18,'design'); 31#23=PRODUCT_DEFINITION('','',#21,#22); 32#24=PRODUCT_DEFINITION_SHAPE('','',#23); 33#25=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 34#26=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 35#27=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 36#28=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-15),#25,'distance_accuracy_value','ultra_tight_preci1'); 37#29=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0),#25,'distance_accuracy_value','coarse_preci2'); 38#30=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#28,#29))GLOBAL_UNIT_ASSIGNED_CONTEXT((#25,#26,#27))REPRESENTATION_CONTEXT('ctx','3D')); 39#31=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#17),#30); 40#32=SHAPE_DEFINITION_REPRESENTATION(#24,#31); 41ENDSEC; 42END-ISO-10303-21;