step-examples/12-3b-wires/Twi010.stp
Sources
- 05-occt-shapefix.md F020 (FixLoopWire)
- 11-translator-vendors.md W008
- 15-academic.md L005 (pinched face)
- 09-healing-menus.md H002 (CGAL stitch_boundary_cycle)
Description
A wire's edge sequence visits the same vertex twice mid-traversal; the face is topologically two disks joined at a single point (a figure-eight or pinched face). Outer-boundary integrity check fails; downstream Booleans break.
Reproducer recipe
Planar face whose outer wire visits a shared `VERTEX_POINT` twice; export.
Expected kernel behavior
split the wire at the pinch vertex into two separate wires (and the face into two faces sharing the vertex), or reject as a non-manifold face.
Notes
**See also**: Gs009. **OCC behavior**: the validity-checker does not flag the figure-eight wire revisiting a vertex; tier-3 valid-flag should be ignored for this entry. The reader most likely silently fixes or ignores the pinched wire on import. Synonyms: "wire visits same vertex twice", "pinched wire forms figure eight", "two disks joined at point", "self-touching wire", "boundary loop pinches at single vertex".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(1) 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 == "plane"face[0].sliver_aspect_max_min > 1e6
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi010: OPEN_SHELL with one ADVANCED_FACE on a PLANE (z=0, normal +Z); FACE_OUTER_BOUND references an EDGE_LOOP with four ORIENTED_EDGEs forming a figure-eight; a single VERTEX_POINT (#v_pinch at (0.5,0,0)) is referenced at start and end of each lobe; wire visits #v_pinch twice â once after lobe-1 and once after lobe-2; figure-eight topology IS the mechanism; kernel must split at pinch vertex into two wires or reject as non-manifold */ 3HEADER; 4FILE_DESCRIPTION(('Twi010'),'2;1'); 5FILE_NAME('Twi010.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=PLANE('',#4); 15#6=CARTESIAN_POINT('',(0.5,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(-0.5,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(-0.5,0.0,0.0)); 20#11=CARTESIAN_POINT('',(0.0,1.0,0.0)); 21#12=CARTESIAN_POINT('',(1.5,1.0,0.0)); 22#13=CARTESIAN_POINT('',(-0.5,0.0,0.0)); 23#14=VERTEX_POINT('',#13); 24#15=CARTESIAN_POINT('',(0.0,1.0,0.0)); 25#16=VERTEX_POINT('',#15); 26#17=CARTESIAN_POINT('',(1.5,1.0,0.0)); 27#18=VERTEX_POINT('',#17); 28#19=DIRECTION('',(-0.4472135955,0.894427191,0.0)); 29#20=VECTOR('',#19,1.0); 30#21=LINE('',(0.5,0.0,0.0),#20); 31#22=EDGE_CURVE('',#7,#16,#21,.T.); 32#23=DIRECTION('',(-0.4472135955,-0.894427191,0.0)); 33#24=VECTOR('',#23,1.0); 34#25=LINE('',(0.0,1.0,0.0),#24); 35#26=EDGE_CURVE('',#16,#14,#25,.T.); 36#27=DIRECTION('',(1.0,0.0,0.0)); 37#28=VECTOR('',#27,1.0); 38#29=LINE('',(-0.5,0.0,0.0),#28); 39#30=EDGE_CURVE('',#14,#7,#29,.T.); 40#31=DIRECTION('',(0.707106781187,0.707106781187,0.0)); 41#32=VECTOR('',#31,1.0); 42#33=LINE('',(0.5,0.0,0.0),#32); 43#34=EDGE_CURVE('',#7,#18,#33,.T.); 44#35=DIRECTION('',(-0.707106781187,-0.707106781187,0.0)); 45#36=VECTOR('',#35,1.0); 46#37=LINE('',(1.5,1.0,0.0),#36); 47#38=EDGE_CURVE('',#18,#7,#37,.T.); 48#39=ORIENTED_EDGE('',$,$,#22,.T.); 49#40=ORIENTED_EDGE('',$,$,#26,.T.); 50#41=ORIENTED_EDGE('',$,$,#30,.T.); 51#42=ORIENTED_EDGE('',$,$,#34,.T.); 52#43=ORIENTED_EDGE('',$,$,#38,.T.); 53#44=EDGE_LOOP('',(#39,#40,#41,#42,#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('Twi010','Twi010','',(#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;