step-examples/12-3b-wires/Twi019.stp
Sources
- 05-occt-shapefix.md F050 (ShapeUpgrade_ClosedEdgeDivide)
- 09-healing-menus.md H053 (SplitClosedFaces)
Description
An `EDGE_CURVE` whose underlying curve is closed (full circle / ellipse) is used as a single edge; the curve goes around 360° and the edge's start vertex equals its end vertex. Downstream tools that expect every edge to be a topologically open arc (with two distinct endpoints) require the edge to be split at a seam parameter or a natural break.
Reproducer recipe
Edge wraps full 360° on cylindrical face without explicit seam; receiver needs to split into two half-edges.
Expected kernel behavior
split the closed edge at the seam parameter (u=0 / u=period) into two open arcs, or accept a single closed edge as a kernel-internal representation. Choice is design-dependent; consumers of the result must agree on the convention.
Notes
Synonyms: "edge wraps full 360 degrees", "closed circular edge needs splitting", "single edge spans whole period on cylinder", "downstream tool wants two halves of seam", "full periodic edge unsupported".
Expected validation
occt=shape(1)/shape(1) gmsh=reject ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Tier-3 assertions
face[0].surface_type == "cylinder"n_edges_total >= 4n_vertices_total >= 8brepcheck.valid == Falseface[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/* Twi019: OPEN_SHELL with one ADVANCED_FACE on a CYLINDRICAL_SURFACE (radius 1, height 2); FACE_OUTER_BOUND references an EDGE_LOOP with two half-circumference arcs and one full-period closed CIRCLE edge (start==end vertex) acting as the seam; plus two bottom edges, totalling >=4 EDGE_CURVEs; full-period EDGE_CURVE with start==end vertex IS the mechanism â the seam edge wraps 360° without being split; defect edge IS wired into EDGE_LOOP, FACE_OUTER_BOUND, ADVANCED_FACE, OPEN_SHELL; kernel must split closed edge at seam parameter into two open arcs */ 3HEADER; 4FILE_DESCRIPTION(('Twi019'),'2;1'); 5FILE_NAME('Twi019.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,2.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(0.0,0.0,2.0)); 18#9=DIRECTION('',(0.0,0.0,1.0)); 19#10=DIRECTION('',(1.0,0.0,0.0)); 20#11=AXIS2_PLACEMENT_3D('',#8,#9,#10); 21#12=CIRCLE('',#11,1.0); 22#13=EDGE_CURVE('',#7,#7,#12,.T.); 23#14=ORIENTED_EDGE('',*,*,#13,.T.); 24#15=CARTESIAN_POINT('',(1.0,0.0,0.0)); 25#16=VERTEX_POINT('',#15); 26#17=CARTESIAN_POINT('',(0.0,0.0,0.0)); 27#18=DIRECTION('',(0.0,0.0,1.0)); 28#19=DIRECTION('',(1.0,0.0,0.0)); 29#20=AXIS2_PLACEMENT_3D('',#17,#18,#19); 30#21=CIRCLE('',#20,1.0); 31#22=EDGE_CURVE('',#16,#16,#21,.T.); 32#23=ORIENTED_EDGE('',*,*,#22,.F.); 33#24=CARTESIAN_POINT('',(1.0,0.0,2.0)); 34#25=VERTEX_POINT('',#24); 35#26=CARTESIAN_POINT('',(1.0,0.0,0.0)); 36#27=VERTEX_POINT('',#26); 37#28=CARTESIAN_POINT('',(-1.0,0.0,2.0)); 38#29=VERTEX_POINT('',#28); 39#30=CARTESIAN_POINT('',(-1.0,0.0,0.0)); 40#31=VERTEX_POINT('',#30); 41#32=DIRECTION('',(0.0,0.0,1.0)); 42#33=VECTOR('',#32,2.0); 43#34=CARTESIAN_POINT('',(1.0,0.0,0.0)); 44#35=LINE('',#34,#33); 45#36=EDGE_CURVE('',#27,#25,#35,.T.); 46#37=ORIENTED_EDGE('',$,$,#36,.T.); 47#38=DIRECTION('',(0.0,0.0,1.0)); 48#39=VECTOR('',#38,2.0); 49#40=CARTESIAN_POINT('',(-1.0,0.0,0.0)); 50#41=LINE('',#40,#39); 51#42=EDGE_CURVE('',#31,#29,#41,.T.); 52#43=ORIENTED_EDGE('',$,$,#42,.F.); 53#44=EDGE_LOOP('',(#23,#37,#14,#43)); 54#45=FACE_OUTER_BOUND('',#44,.T.); 55#46=ADVANCED_FACE('',(#45),#5,.T.); 56#47=OPEN_SHELL('',(#46)); 57#48=SHELL_BASED_SURFACE_MODEL('',(#47)); 58#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 59#9051=PRODUCT('Twi019','Twi019','',(#9050)); 60#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 61#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 62#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 63#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 64#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 65#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 66#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 67#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 68#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 69#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#48),#9060); 70#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 71ENDSEC; 72END-ISO-10303-21;