step-examples/12-3b-wires/Twi175.stp
Sources
- synthesized — no external source cited
Description
ShapeAnalysis_Wire.CheckTail negative-parameter
Reproducer recipe
Expected kernel behavior
this model is a bare curve set — it carries no face and no shell — so returning no solid is CORRECT here and is not the defect. `heal` means the wire-level condition (a trailing segment addressed at a negative parameter) must be detected and reported; it does not mean geometry should appear. A kernel should diagnose that condition and continue processing the remaining entities rather than discarding the model without comment.
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/* Twi175: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 5 edges on PLANE; PLANE: normal +Z, origin (0,0,0); pentagon wire: A(0,0)âB(8,0)âC(10,6)âD(5,10)âE(-2,6)âA; edges e0..e3 are regular LINE segments; edge e4 (EâA) IS the tail edge â a B-spline with knot vector [-0.5,-0.5,0,0] giving parameter range [-0.5, 0.0] â negative lower bound IS defect; edge labelled 'tail_negative_param_range'; CheckTail IS mechanism â binary search initialized with [0, length] assumption fails when lower bound is negative (-0.5); GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi175'),'2;1'); 5FILE_NAME('Twi175.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('',(8.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(10.0,6.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(5.0,10.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(-2.0,6.0,0.0)); 24#15=VERTEX_POINT('',#14); 25#16=CARTESIAN_POINT('',(0.0,0.0,0.0)); 26#17=DIRECTION('',(1.0,0.0,0.0)); 27#18=VECTOR('',#17,8.0); 28#19=LINE('',#16,#18); 29#20=CARTESIAN_POINT('',(0.0,0.0)); 30#21=DIRECTION('',(1.0,0.0)); 31#22=VECTOR('',#21,8.0); 32#23=LINE('',#20,#22); 33#24=DEFINITIONAL_REPRESENTATION('',(#23),#*); 34#25=PCURVE('',#5,#24); 35#26=SURFACE_CURVE('',#19,(#25),.PCURVE_S1.); 36#27=EDGE_CURVE('',#7,#9,#26,.T.); 37#28=ORIENTED_EDGE('',*,*,#27,.T.); 38#29=CARTESIAN_POINT('',(8.0,0.0,0.0)); 39#30=DIRECTION('',(0.316227766017,0.948683298051,0.0)); 40#31=VECTOR('',#30,6.32455532034); 41#32=LINE('',#29,#31); 42#33=CARTESIAN_POINT('',(8.0,0.0)); 43#34=DIRECTION('',(0.316227766017,0.948683298051)); 44#35=VECTOR('',#34,6.32455532034); 45#36=LINE('',#33,#35); 46#37=DEFINITIONAL_REPRESENTATION('',(#36),#*); 47#38=PCURVE('',#5,#37); 48#39=SURFACE_CURVE('',#32,(#38),.PCURVE_S1.); 49#40=EDGE_CURVE('',#9,#11,#39,.T.); 50#41=ORIENTED_EDGE('',*,*,#40,.T.); 51#42=CARTESIAN_POINT('',(10.0,6.0,0.0)); 52#43=DIRECTION('',(-0.780868809443,0.624695047554,0.0)); 53#44=VECTOR('',#43,6.40312423743); 54#45=LINE('',#42,#44); 55#46=CARTESIAN_POINT('',(10.0,6.0)); 56#47=DIRECTION('',(-0.780868809443,0.624695047554)); 57#48=VECTOR('',#47,6.40312423743); 58#49=LINE('',#46,#48); 59#50=DEFINITIONAL_REPRESENTATION('',(#49),#*); 60#51=PCURVE('',#5,#50); 61#52=SURFACE_CURVE('',#45,(#51),.PCURVE_S1.); 62#53=EDGE_CURVE('',#11,#13,#52,.T.); 63#54=ORIENTED_EDGE('',*,*,#53,.T.); 64#55=CARTESIAN_POINT('',(5.0,10.0,0.0)); 65#56=DIRECTION('',(-0.868243142124,-0.496138938357,0.0)); 66#57=VECTOR('',#56,8.0622577483); 67#58=LINE('',#55,#57); 68#59=CARTESIAN_POINT('',(5.0,10.0)); 69#60=DIRECTION('',(-0.868243142124,-0.496138938357)); 70#61=VECTOR('',#60,8.0622577483); 71#62=LINE('',#59,#61); 72#63=DEFINITIONAL_REPRESENTATION('',(#62),#*); 73#64=PCURVE('',#5,#63); 74#65=SURFACE_CURVE('',#58,(#64),.PCURVE_S1.); 75#66=EDGE_CURVE('',#13,#15,#65,.T.); 76#67=ORIENTED_EDGE('',*,*,#66,.T.); 77#68=CARTESIAN_POINT('',(-2.0,6.0,0.0)); 78#69=CARTESIAN_POINT('',(0.0,0.0,0.0)); 79#70=B_SPLINE_CURVE_WITH_KNOTS('tail_negative_param_range',1,(#68,#69),.UNSPECIFIED.,.F.,.F.,(2,2),(-0.5,0.0),.UNSPECIFIED.); 80#71=EDGE_CURVE('tail_negative_param_range',#15,#7,#70,.T.); 81#72=ORIENTED_EDGE('',*,*,#71,.T.); 82#73=EDGE_LOOP('',(#28,#41,#54,#67,#72)); 83#74=GEOMETRIC_CURVE_SET('',(#73)); 84#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 85#9051=PRODUCT('Twi175','Twi175','',(#9050)); 86#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 87#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 88#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 89#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 90#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 91#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 92#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 93#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 94#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 95#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#74),#9060); 96#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 97ENDSEC; 98END-ISO-10303-21;