step-examples/12-3b-wires/Twi132.stp
Sources
- synthesized — no external source cited
Description
ShapeFix_Wire.FixDummySeam non-periodic-surface
Reproducer recipe
Expected kernel behavior
The wire is a closed 10x5 rectangle on a `PLANE`, every pcurve matches its 3D line exactly, no two consecutive edges share a curve, and the surface has no periodic direction and therefore no seam. Gate duplicate-pair removal on evidence that is actually present — two consecutive edges whose curves coincide within tolerance while running in opposite directions — rather than on heuristics about edge direction patterns. On this input nothing may be removed: deleting any of the four edges would open the boundary and destroy the face.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi132: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 4 edges on PLANE; PLANE: normal +Z, origin (0,0,0); e1: (0,0,0)â(10,0,0) pcurve u:[0â10] v=0; e2: (10,0,0)â(10,5,0) pcurve v:[0â5] u=10; e3: (10,5,0)â(0,5,0) pcurve u:[10â0] v=5 â anti-parallel to e1 IS seam-trigger; e4: (0,5,0)â(0,0,0) pcurve v:[5â0] u=0 â anti-parallel to e2 IS seam-trigger; FixDummySeam heuristic fires on anti-parallel adjacent pcurves on non-periodic PLANE IS defect; PLANE has no seam â FixDummySeam should be no-op but incorrectly triggers; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi132'),'2;1'); 5FILE_NAME('Twi132.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.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(10.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(10.0,5.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(0.0,5.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(0.0,0.0)); 24#15=DIRECTION('',(1.0,0.0)); 25#16=VECTOR('',#15,10.0); 26#17=LINE('',#14,#16); 27#18=DEFINITIONAL_REPRESENTATION('',(#17),#*); 28#19=PCURVE('',#5,#18); 29#20=CARTESIAN_POINT('',(0.0,0.0,0.0)); 30#21=DIRECTION('',(1.0,0.0,0.0)); 31#22=VECTOR('',#21,10.0); 32#23=LINE('',#20,#22); 33#24=SURFACE_CURVE('',#23,(#19),.PCURVE_S1.); 34#25=EDGE_CURVE('',#7,#9,#24,.T.); 35#26=ORIENTED_EDGE('',*,*,#25,.T.); 36#27=CARTESIAN_POINT('',(10.0,0.0)); 37#28=DIRECTION('',(0.0,1.0)); 38#29=VECTOR('',#28,5.0); 39#30=LINE('',#27,#29); 40#31=DEFINITIONAL_REPRESENTATION('',(#30),#*); 41#32=PCURVE('',#5,#31); 42#33=CARTESIAN_POINT('',(10.0,0.0,0.0)); 43#34=DIRECTION('',(0.0,1.0,0.0)); 44#35=VECTOR('',#34,5.0); 45#36=LINE('',#33,#35); 46#37=SURFACE_CURVE('',#36,(#32),.PCURVE_S1.); 47#38=EDGE_CURVE('',#9,#11,#37,.T.); 48#39=ORIENTED_EDGE('',*,*,#38,.T.); 49#40=CARTESIAN_POINT('',(10.0,5.0)); 50#41=DIRECTION('',(-1.0,0.0)); 51#42=VECTOR('',#41,10.0); 52#43=LINE('',#40,#42); 53#44=DEFINITIONAL_REPRESENTATION('',(#43),#*); 54#45=PCURVE('',#5,#44); 55#46=CARTESIAN_POINT('',(10.0,5.0,0.0)); 56#47=DIRECTION('',(-1.0,0.0,0.0)); 57#48=VECTOR('',#47,10.0); 58#49=LINE('',#46,#48); 59#50=SURFACE_CURVE('',#49,(#45),.PCURVE_S1.); 60#51=EDGE_CURVE('',#11,#13,#50,.T.); 61#52=ORIENTED_EDGE('',*,*,#51,.T.); 62#53=CARTESIAN_POINT('',(0.0,5.0)); 63#54=DIRECTION('',(0.0,-1.0)); 64#55=VECTOR('',#54,5.0); 65#56=LINE('',#53,#55); 66#57=DEFINITIONAL_REPRESENTATION('',(#56),#*); 67#58=PCURVE('',#5,#57); 68#59=CARTESIAN_POINT('',(0.0,5.0,0.0)); 69#60=DIRECTION('',(0.0,-1.0,0.0)); 70#61=VECTOR('',#60,5.0); 71#62=LINE('',#59,#61); 72#63=SURFACE_CURVE('',#62,(#58),.PCURVE_S1.); 73#64=EDGE_CURVE('',#13,#7,#63,.T.); 74#65=ORIENTED_EDGE('',*,*,#64,.T.); 75#66=EDGE_LOOP('',(#26,#39,#52,#65)); 76#67=GEOMETRIC_CURVE_SET('',(#66)); 77#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 78#9051=PRODUCT('Twi132','Twi132','',(#9050)); 79#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 80#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 81#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 82#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 83#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 84#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 85#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 86#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 87#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 88#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#67),#9060); 89#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 90ENDSEC; 91END-ISO-10303-21;