step-examples/12-3b-wires/Twi174.stp
Sources
- synthesized — no external source cited
Description
ShapeFix_Wire.FixDummySeam non-cylindrical
Reproducer recipe
Expected kernel behavior
The four edges form a closed belt at constant height on a cone of base radius 5 and half-angle 30 degrees: their pcurves tile u from 0 to 2pi exactly, but each edge's 3D curve is a straight chord between the vertices instead of an arc on the surface, deviating from the cone by up to about 2.3 units. Reconcile the 3D curve with the pcurve before any seam reasoning — replace each chord with the surface curve its pcurve implies, or reject the edge — and do not read the belt's 0-to-2pi wrap as a duplicate seam pair, since a closed belt legitimately spans one full period. Because this belt is the face's only bound, the parametric region is still open on the apex side: close it by inserting a degenerate edge at the cone apex, which lies below the belt.
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/* Twi174: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 4 edges on CONICAL_SURFACE; cone: apex at origin, axis +Z, half-angle 30°, base radius 5; 4-edge closed loop at V=5 (uniform height) â quarter-circle arcs in UV; edge at U=0..0.01 (near seam) labelled 'cone_apex_seam_misidentified'; FixDummySeam IS mechanism â cylindrical-seam heuristic fires on cone because U-extremes of near-seam edge match seam detection pattern; incorrectly processes genuine geometry as dummy seam; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi174'),'2;1'); 5FILE_NAME('Twi174.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,5.0,0.523598775598); 15#6=CARTESIAN_POINT('',(7.88675134595,0.0,5.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(0.0,7.88675134595,5.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(-7.88675134595,0.0,5.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(0.0,-7.88675134595,5.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(0.0,5.0)); 24#15=DIRECTION('',(1.0,0.0)); 25#16=VECTOR('',#15,1.57079632679); 26#17=LINE('',#14,#16); 27#18=DEFINITIONAL_REPRESENTATION('',(#17),#*); 28#19=PCURVE('',#5,#18); 29#20=CARTESIAN_POINT('',(7.88675134595,0.0,5.0)); 30#21=DIRECTION('',(-0.707106781187,0.707106781187,0.0)); 31#22=VECTOR('',#21,11.1535507165); 32#23=LINE('',#20,#22); 33#24=SURFACE_CURVE('',#23,(#19),.PCURVE_S1.); 34#25=EDGE_CURVE('cone_apex_seam_misidentified',#7,#9,#24,.T.); 35#26=ORIENTED_EDGE('',*,*,#25,.T.); 36#27=CARTESIAN_POINT('',(1.57079632679,5.0)); 37#28=DIRECTION('',(1.0,0.0)); 38#29=VECTOR('',#28,1.57079632679); 39#30=LINE('',#27,#29); 40#31=DEFINITIONAL_REPRESENTATION('',(#30),#*); 41#32=PCURVE('',#5,#31); 42#33=CARTESIAN_POINT('',(0.0,7.88675134595,5.0)); 43#34=DIRECTION('',(-0.707106781187,-0.707106781187,0.0)); 44#35=VECTOR('',#34,11.1535507165); 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('',(3.14159265359,5.0)); 50#41=DIRECTION('',(1.0,0.0)); 51#42=VECTOR('',#41,1.57079632679); 52#43=LINE('',#40,#42); 53#44=DEFINITIONAL_REPRESENTATION('',(#43),#*); 54#45=PCURVE('',#5,#44); 55#46=CARTESIAN_POINT('',(-7.88675134595,0.0,5.0)); 56#47=DIRECTION('',(0.707106781187,-0.707106781187,0.0)); 57#48=VECTOR('',#47,11.1535507165); 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('',(4.71238898038,5.0)); 63#54=DIRECTION('',(1.0,0.0)); 64#55=VECTOR('',#54,1.57079632679); 65#56=LINE('',#53,#55); 66#57=DEFINITIONAL_REPRESENTATION('',(#56),#*); 67#58=PCURVE('',#5,#57); 68#59=CARTESIAN_POINT('',(0.0,-7.88675134595,5.0)); 69#60=DIRECTION('',(0.707106781187,0.707106781187,0.0)); 70#61=VECTOR('',#60,11.1535507165); 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('Twi174','Twi174','',(#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;