step-examples/12-3b-wires/Twi268.stp
Sources
- synthesized — no external source cited
Description
ShapeAnalysis_Wire.CheckSeam
Reproducer recipe
Expected kernel behavior
The lateral edge appears twice within the same bound, once forward and once reversed, which on a periodic cylinder identifies it as the seam; yet no edge in this file carries a pcurve at all. Classify the doubly-listed edge as a seam from that structural evidence rather than from any flag, and give it two pcurves, one at each end of the surface's period, generated by projecting its 3D curve onto the surface; treating it as an ordinary edge with a single parametrisation leaves the face's parameter-space boundary open by a full period.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(7) ifc=schema_n/a
Tier-3 assertions
n_faces_total == 1face[0].surface_type == "cylinder"face[0].quadric.radius == 1.0edge[1].curve_type == "circle"edge[1].analytic.radius == 1.0edge[3].curve_type == "circle"edge[3].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/* Twi268: seam edge classification on periodic cylindrical surface */ 3HEADER; 4FILE_DESCRIPTION(('Twi268'),'2;1'); 5FILE_NAME('Twi268.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('cylinder',#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,2.0)); 24#15=AXIS2_PLACEMENT_3D('',#14,#2,#3); 25#16=CIRCLE('top',#15,1.0); 26#17=EDGE_CURVE('',#9,#9,#16,.T.); 27#18=CARTESIAN_POINT('',(0.0,0.0,0.0)); 28#19=AXIS2_PLACEMENT_3D('',#18,#2,#3); 29#20=CIRCLE('bot',#19,1.0); 30#21=EDGE_CURVE('',#8,#8,#20,.T.); 31#22=ORIENTED_EDGE('',$,$,#21,.T.); 32#23=ORIENTED_EDGE('',$,$,#13,.T.); 33#24=ORIENTED_EDGE('',$,$,#17,.T.); 34#25=ORIENTED_EDGE('',$,$,#13,.F.); 35#26=EDGE_LOOP('',(#22,#23,#24,#25)); 36#27=FACE_OUTER_BOUND('',#26,.T.); 37#28=ADVANCED_FACE('',(#27),#5,.T.); 38#29=OPEN_SHELL('',(#28)); 39#30=SHELL_BASED_SURFACE_MODEL('',(#29)); 40#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 41#9051=PRODUCT('Twi268','Twi268','',(#9050)); 42#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 43#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 44#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 45#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 46#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 47#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 48#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 49#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 50#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 51#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#30),#9060); 52#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 53ENDSEC; 54END-ISO-10303-21;