step-examples/12-3b-wires/Twi031.stp
Sources
- 05-occt-shapefix.md F083
- (Pro/E PRO7226.stp #489490)
Sender
PRO/E
Description
Some Pro/E exports emit two degenerate edges where one is sufficient at a cone/sphere apex. Causes downstream wire reorder confusion.
Reproducer recipe
Pro/E-exported cone whose apex carries two zero-length ORIENTED_EDGEs in the same wire.
Expected kernel behavior
detect and dedupe; preserve a single canonical apex bridge.
Notes
**See also**: Twi021, Twi030. Synonyms: "two zero-length edges at apex", "Pro/E exports redundant degenerate edges", "duplicate apex bridge edges", "wire reorder confused by extra apex edge", "multiple degenerate edges at cone tip".
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/* Twi031: 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 containing: two degenerate ORIENTED_EDGEs (degen_A and degen_B) both at the apex â same zero-length EDGE_CURVEs with apex vertex at both ends â two lateral line edges from apex to base, and one base semi-circle arc; two degenerate apex EDGE_CURVEs in the same EDGE_LOOP IS the mechanism (Pro/E redundant apex bridge); EDGE_LOOP IS wired into FACE_OUTER_BOUND, ADVANCED_FACE, OPEN_SHELL; kernel must detect and dedupe to a single canonical apex bridge */ 3HEADER; 4FILE_DESCRIPTION(('Twi031'),'2;1'); 5FILE_NAME('Twi031.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('',(1.15470053838,0.0,2.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(-1.15470053838,0.0,2.0)); 20#11=VERTEX_POINT('',#10); 21#12=DIRECTION('',(1.0,0.0,0.0)); 22#13=VECTOR('',#12,0.0); 23#14=CARTESIAN_POINT('',(0.0,0.0,0.0)); 24#15=LINE('',#14,#13); 25#16=EDGE_CURVE('',#7,#7,#15,.T.); 26#17=ORIENTED_EDGE('',*,*,#16,.T.); 27#18=DIRECTION('',(1.0,0.0,0.0)); 28#19=VECTOR('',#18,0.0); 29#20=CARTESIAN_POINT('',(0.0,0.0,0.0)); 30#21=LINE('',#20,#19); 31#22=EDGE_CURVE('',#7,#7,#21,.T.); 32#23=ORIENTED_EDGE('',*,*,#22,.T.); 33#24=DIRECTION('',(0.5,0.0,0.866025403784)); 34#25=VECTOR('',#24,2.30940107676); 35#26=CARTESIAN_POINT('',(0.0,0.0,0.0)); 36#27=LINE('',#26,#25); 37#28=EDGE_CURVE('',#7,#9,#27,.T.); 38#29=ORIENTED_EDGE('',$,$,#28,.T.); 39#30=CARTESIAN_POINT('',(0.0,0.0,2.0)); 40#31=DIRECTION('',(0.0,0.0,1.0)); 41#32=DIRECTION('',(1.0,0.0,0.0)); 42#33=AXIS2_PLACEMENT_3D('',#30,#31,#32); 43#34=CIRCLE('',#33,1.1547005384); 44#35=EDGE_CURVE('',#9,#11,#34,.T.); 45#36=ORIENTED_EDGE('',*,*,#35,.T.); 46#37=DIRECTION('',(-0.5,0.0,0.866025403784)); 47#38=VECTOR('',#37,2.30940107676); 48#39=CARTESIAN_POINT('',(-1.15470053838,0.0,2.0)); 49#40=LINE('',#39,#38); 50#41=EDGE_CURVE('',#11,#7,#40,.T.); 51#42=ORIENTED_EDGE('',$,$,#41,.T.); 52#43=EDGE_LOOP('',(#17,#23,#29,#36,#42)); 53#44=FACE_OUTER_BOUND('',#43,.T.); 54#45=ADVANCED_FACE('',(#44),#5,.T.); 55#46=OPEN_SHELL('',(#45)); 56#47=SHELL_BASED_SURFACE_MODEL('',(#46)); 57#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 58#9051=PRODUCT('Twi031','Twi031','',(#9050)); 59#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 60#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 61#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 62#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 63#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 64#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 65#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 66#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 67#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 68#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#47),#9060); 69#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 70ENDSEC; 71END-ISO-10303-21;