step-examples/12-3b-wires/Twi032.stp
Sources
- 05-occt-shapefix.md F048
- 03-occt-tests.md R011 (split_closed_faces)
- 09-healing-menus.md H053
Description
Periodic face (cylinder, sphere, torus) wrapping U or V needs to be split at the seam into multiple faces; for downstream meshing, parametric trimming, or BSpline conversion. Closed-edge splitting is a sub-step.
Reproducer recipe
BRep solid with full cylinder face (one face spans 360°); pass through `ShapeUpgrade_ShapeDivideClosed`.
Expected kernel behavior
split into two faces (or N) at U=0 (and U=π) introducing seam edges and matching pcurves.
Notes
**See also**: Gp027. Synonyms: "single face wraps full cylinder", "periodic face needs splitting at seam", "full 360 degree face won't mesh", "BSpline conversion needs split closed face", "face spans whole period".
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[0].curve_type == "circle"edge[0].analytic.radius == 1.0edge[1].curve_type == "circle"edge[1].analytic.radius == 1.0edge[3].curve_type == "circle"edge[3].analytic.radius == 1.0
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi032: CLOSED_SHELL with one ADVANCED_FACE on a CYLINDRICAL_SURFACE (radius 1, axis +Z, height 2); FACE_OUTER_BOUND references an EDGE_LOOP containing: two top semi-circle arcs (upper circle, 0âÏ and Ïâ2Ï) and two bottom semi-circle arcs (lower circle, 0âÏ and Ïâ2Ï) connected by four vertical seam-less lateral edges; the EDGE_LOOP spans the full 360° U-period with no topological seam IS the mechanism â face wraps back on itself; EDGE_LOOP IS wired into FACE_OUTER_BOUND, ADVANCED_FACE, CLOSED_SHELL; ShapeUpgrade_ShapeDivideClosed must split into two faces at U=0 and U=Ï */ 3HEADER; 4FILE_DESCRIPTION(('Twi032'),'2;1'); 5FILE_NAME('Twi032.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('',(-1.0,0.0,2.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(1.0,0.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(-1.0,0.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(0.0,0.0,2.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('',#7,#9,#18,.T.); 29#20=EDGE_CURVE('',#9,#7,#18,.T.); 30#21=CARTESIAN_POINT('',(0.0,0.0,0.0)); 31#22=DIRECTION('',(0.0,0.0,1.0)); 32#23=DIRECTION('',(1.0,0.0,0.0)); 33#24=AXIS2_PLACEMENT_3D('',#21,#22,#23); 34#25=CIRCLE('',#24,1.0); 35#26=EDGE_CURVE('',#11,#13,#25,.T.); 36#27=EDGE_CURVE('',#13,#11,#25,.T.); 37#28=DIRECTION('',(0.0,0.0,-1.0)); 38#29=VECTOR('',#28,2.0); 39#30=CARTESIAN_POINT('',(1.0,0.0,2.0)); 40#31=LINE('',#30,#29); 41#32=EDGE_CURVE('',#7,#11,#31,.T.); 42#33=DIRECTION('',(0.0,0.0,-1.0)); 43#34=VECTOR('',#33,2.0); 44#35=CARTESIAN_POINT('',(-1.0,0.0,2.0)); 45#36=LINE('',#35,#34); 46#37=EDGE_CURVE('',#9,#13,#36,.T.); 47#38=ORIENTED_EDGE('',*,*,#19,.T.); 48#39=ORIENTED_EDGE('',*,*,#37,.T.); 49#40=ORIENTED_EDGE('',*,*,#27,.F.); 50#41=ORIENTED_EDGE('',*,*,#32,.F.); 51#42=ORIENTED_EDGE('',*,*,#20,.T.); 52#43=ORIENTED_EDGE('',*,*,#32,.T.); 53#44=ORIENTED_EDGE('',*,*,#26,.F.); 54#45=ORIENTED_EDGE('',*,*,#37,.F.); 55#46=EDGE_LOOP('',(#38,#42,#43,#44,#40,#45)); 56#47=FACE_OUTER_BOUND('',#46,.T.); 57#48=ADVANCED_FACE('',(#47),#5,.T.); 58#49=CLOSED_SHELL('',(#48)); 59#50=SHELL_BASED_SURFACE_MODEL('',(#49)); 60#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 61#9051=PRODUCT('Twi032','Twi032','',(#9050)); 62#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 63#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 64#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 65#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 66#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 67#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 68#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 69#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 70#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 71#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#50),#9060); 72#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 73ENDSEC; 74END-ISO-10303-21;