step-examples/12-3c-faces/Tfa219.stp
Sources
- synthesized — no external source cited
Description
vertex_tolerance_mismatch
Reproducer recipe
Expected kernel behavior
one seam vertex carries tolerance 0.001 while another carries 10.0 — four orders of magnitude apart in a single edge chain. Concatenating edges into a continuous chain must validate that their tolerances are comparable first. Feeding a mixed-tolerance array to a continuity test makes the verdict depend on which tolerance the algorithm happens to use, so the same chain can be judged continuous or not.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(7) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "cylinder"face[0].quadric.radius == 1.0edge[0].curve_type == "circle"edge[0].analytic.radius == 1.0edge[2].curve_type == "circle"edge[2].analytic.radius == 1.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa219: CLOSED_SHELL: single ADVANCED_FACE on CYLINDRICAL_SURFACE; radius=1.0, height=2.0; seam edge (v_botâv_top at u=0) used twice (.T. and .F.); v_top has tolerance 10.0 mm (large) vs v_bot 0.001 mm (normal); two circle arcs (bottom z=0, top z=2) close the revolution; UnionPCurves line 1971: no tolerance synchronisation before ConcatC1; heterogeneous aTol[0]=0.001, aTol[1]=10.0 array causes inconsistent continuity; defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa219'),'2;1'); 5FILE_NAME('Tfa219.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#9000=APPLICATION_CONTEXT('mechanical design'); 10#1=CARTESIAN_POINT('',(0.0,0.0,0.0)); 11#2=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=CYLINDRICAL_SURFACE('',#4,1.0); 15#6=CARTESIAN_POINT('',(1.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(1.0,0.0,2.0)); 17#8=VERTEX_POINT('',#6); 18#9=VERTEX_POINT('',#7); 19#10=DIRECTION('',(0.0,0.0,1.0)); 20#11=VECTOR('',#10,2.0); 21#12=LINE('',#6,#11); 22#13=EDGE_CURVE('',#8,#9,#12,.T.); 23#14=CARTESIAN_POINT('',(0.0,0.0,0.0)); 24#15=DIRECTION('',(0.0,0.0,-1.0)); 25#16=DIRECTION('',(1.0,0.0,0.0)); 26#17=AXIS2_PLACEMENT_3D('',#14,#15,#16); 27#18=CIRCLE('',#17,1.0); 28#19=EDGE_CURVE('',#8,#8,#18,.T.); 29#20=CARTESIAN_POINT('',(0.0,0.0,2.0)); 30#21=DIRECTION('',(0.0,0.0,1.0)); 31#22=DIRECTION('',(1.0,0.0,0.0)); 32#23=AXIS2_PLACEMENT_3D('',#20,#21,#22); 33#24=CIRCLE('',#23,1.0); 34#25=EDGE_CURVE('',#9,#9,#24,.T.); 35#26=ORIENTED_EDGE('',$,$,#13,.T.); 36#27=ORIENTED_EDGE('',$,$,#25,.T.); 37#28=ORIENTED_EDGE('',$,$,#13,.F.); 38#29=ORIENTED_EDGE('',$,$,#19,.F.); 39#30=EDGE_LOOP('',(#26,#27,#28,#29)); 40#31=FACE_OUTER_BOUND('',#30,.T.); 41#32=ADVANCED_FACE('',(#31),#5,.T.); 42#33=CLOSED_SHELL('',(#32)); 43#34=MANIFOLD_SOLID_BREP('',#33); 44#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 45#9051=PRODUCT('Tfa219','Tfa219','',(#9050)); 46#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 47#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 48#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 49#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 50#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 51#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 52#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 53#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 54#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 55#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#34),#9060); 56#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 57ENDSEC; 58END-ISO-10303-21;