step-examples/12-4-tolerance/N063.stp
Sources
- synthesized — no external source cited
Description
ShapeFix_Edge.FixVertexTolerance escalation cascade
Reproducer recipe
Expected kernel behavior
accept: the 3-edge star wire is well-formed (hub at origin, spokes to (1,0,0)/(0,1,0)/(0,0,1)); both declared tolerances (1.0E-5 'hub_vertex_tol', 1.0E-4 'spoke_edge_tol') are live, applied global values in the same `GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT` -- STEP has no mechanism to bind either value to a specific vertex or edge despite the suggestive labels, so a correct kernel should use the tighter of the two (1e-5mm) as its working precision for the whole wire rather than trying to route the labels to specific sub-elements.
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/* N063: 3-edge star: hub at origin; endpoints at (1,0,0),(0,1,0),(0,0,1); hub vertex tol 1e-5, edge tol 1e-4; FixVertexTolerance cascade escalates hub; GEOMETRIC_CURVE_SET â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('N063'),'2;1'); 5FILE_NAME('N063.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('p_hub',(0.0,0.0,0.0)); 10#2=VERTEX_POINT('v_hub',#1); 11#3=CARTESIAN_POINT('p_spoke1',(1.0,0.0,0.0)); 12#4=CARTESIAN_POINT('p_spoke2',(0.0,1.0,0.0)); 13#5=CARTESIAN_POINT('p_spoke3',(0.0,0.0,1.0)); 14#6=VERTEX_POINT('v_spoke1',#3); 15#7=VERTEX_POINT('v_spoke2',#4); 16#8=VERTEX_POINT('v_spoke3',#5); 17#9=DIRECTION('',(1.0,0.0,0.0)); 18#10=VECTOR('',#9,1.0); 19#11=LINE('lineA',#1,#10); 20#12=EDGE_CURVE('eA_spoke1',#2,#6,#11,.T.); 21#13=DIRECTION('',(0.0,1.0,0.0)); 22#14=VECTOR('',#13,1.0); 23#15=LINE('lineB',#1,#14); 24#16=EDGE_CURVE('eB_spoke2',#2,#7,#15,.T.); 25#17=DIRECTION('',(0.0,0.0,1.0)); 26#18=VECTOR('',#17,1.0); 27#19=LINE('lineC',#1,#18); 28#20=EDGE_CURVE('eC_spoke3',#2,#8,#19,.T.); 29#21=GEOMETRIC_CURVE_SET('star_topo',(#12,#16,#20)); 30#22=APPLICATION_CONTEXT('automotive_design'); 31#23=PRODUCT_CONTEXT('',#22,'mechanical'); 32#24=PRODUCT('N063','N063','',(#23)); 33#25=PRODUCT_DEFINITION_FORMATION('','',#24); 34#26=PRODUCT_DEFINITION_CONTEXT('part definition',#22,'design'); 35#27=PRODUCT_DEFINITION('','',#25,#26); 36#28=PRODUCT_DEFINITION_SHAPE('','',#27); 37#29=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 38#30=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 39#31=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 40#32=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-5),#29,'distance_accuracy_value','hub_vertex_tol'); 41#33=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-4),#29,'distance_accuracy_value','spoke_edge_tol'); 42#34=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#32,#33))GLOBAL_UNIT_ASSIGNED_CONTEXT((#29,#30,#31))REPRESENTATION_CONTEXT('ctx','3D')); 43#35=GEOMETRICALLY_BOUNDED_WIREFRAME_SHAPE_REPRESENTATION('',(#21),#34); 44#36=SHAPE_DEFINITION_REPRESENTATION(#28,#35); 45ENDSEC; 46END-ISO-10303-21;