step-examples/12-3b-wires/Twi021.stp
Sources
- 05-occt-shapefix.md F012 (FixDegenerated)
- 08-occt-gitlog.md G079 (cone apex separate from seam check)
- 14-brlcad-rhino.md K010 (singularity reconciliation)
- 11-translator-vendors.md W018
Sender
ProSTEP `r0501-ug.stp #182180` (cone apex); HOOPS Exchange (singularities-in-UV-space class)
Description
A face on a cone or sphere has the surface's singular point (apex / pole) inside its parametric domain, but the wire bounding that face does not include the degenerate edge (zero length in 3D, finite length in UV) that bridges the singular row. Without the bridging edge the wire is open in UV, and surface-surface intersection routines misbehave at the singularity.
Reproducer recipe
`CONICAL_SURFACE` semi-angle 30°; `ADVANCED_FACE` whose outer loop touches the cone apex `vertex_point`; no degenerate ORIENTED_EDGE inserted at apex.
Expected kernel behavior
insert a degenerate edge bridging the singular row in UV (zero length in 3D, full surface-period length in UV), or reject as malformed. This is a separate concern from inserting a seam edge on a periodic surface.
Notes
**See also**: Tfa004, Tfa005, Twi029, Twi031, Gp005. Synonyms: "missing apex bridge edge", "cone tip degenerate edge missing", "wire on sphere pole has no closing edge", "singular point bridging edge absent", "face passing through pole has gap in UV".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(8) 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 == "cone"n_edges_total >= 4n_vertices_total >= 8brepcheck.valid == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi021: OPEN_SHELL with one ADVANCED_FACE on a CONICAL_SURFACE (semi-angle 30°, axis +Z, apex at origin); FACE_OUTER_BOUND references an EDGE_LOOP with two lateral line edges and one base-circle arc that closes the side face; NO degenerate ORIENTED_EDGE inserted at the apex singular row; missing apex-bridging degenerate edge IS the mechanism; apex VERTEX_POINT IS wired into EDGE_LOOP lateral edges, FACE_OUTER_BOUND, ADVANCED_FACE, OPEN_SHELL; kernel must insert degenerate edge at apex or reject as malformed */ 3HEADER; 4FILE_DESCRIPTION(('Twi021'),'2;1'); 5FILE_NAME('Twi021.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=CONICAL_SURFACE('',#4,2.0,0.5235987756); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(0.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(1.15470053838,0.0,2.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(-1.15470053838,0.0,2.0)); 22#13=VERTEX_POINT('',#12); 23#14=DIRECTION('',(0.57735026919,0.0,1.0)); 24#15=DIRECTION('',(0.5,0.0,0.866025403784)); 25#16=VECTOR('',#15,2.30940107676); 26#17=CARTESIAN_POINT('',(0.0,0.0,0.0)); 27#18=LINE('',#17,#16); 28#19=EDGE_CURVE('',#7,#11,#18,.T.); 29#20=ORIENTED_EDGE('',$,$,#19,.T.); 30#21=DIRECTION('',(-0.5,0.0,0.866025403784)); 31#22=VECTOR('',#21,2.30940107676); 32#23=CARTESIAN_POINT('',(-1.15470053838,0.0,2.0)); 33#24=LINE('',#23,#22); 34#25=EDGE_CURVE('',#13,#9,#24,.T.); 35#26=ORIENTED_EDGE('',$,$,#25,.T.); 36#27=CARTESIAN_POINT('',(0.0,0.0,2.0)); 37#28=DIRECTION('',(0.0,0.0,1.0)); 38#29=DIRECTION('',(1.0,0.0,0.0)); 39#30=AXIS2_PLACEMENT_3D('',#27,#28,#29); 40#31=CIRCLE('',#30,1.1547005384); 41#32=EDGE_CURVE('',#11,#13,#31,.T.); 42#33=ORIENTED_EDGE('',*,*,#32,.T.); 43#34=EDGE_LOOP('',(#20,#33,#26)); 44#35=FACE_OUTER_BOUND('',#34,.T.); 45#36=ADVANCED_FACE('',(#35),#5,.T.); 46#37=OPEN_SHELL('',(#36)); 47#38=SHELL_BASED_SURFACE_MODEL('',(#37)); 48#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 49#9051=PRODUCT('Twi021','Twi021','',(#9050)); 50#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 51#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 52#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 53#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 54#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 55#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 56#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 57#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 58#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 59#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#38),#9060); 60#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 61ENDSEC; 62END-ISO-10303-21;