Twi143 — Every LINE puts a direction entity in the slot that requires a vector, so the reader aborts before intersecting-edge analysis is reached

§12.3b

crash topology

Sources

Description

Every LINE puts a direction entity in the slot that requires a vector, so the reader aborts before intersecting-edge analysis is reached

Reproducer recipe

Expected kernel behavior

Reject with a diagnostic naming each unbuildable curve: all five of the wire's LINE entities put a DIRECTION where Part 21 requires a `#N` reference to a VECTOR, so no edge curve can be constructed. Once curves can be built, the file still separately describes edge #111 running (0,0)->(10,0) and edge #121 running (10,0)->(0,0) back along the identical LINE #110/#120 pair — full-length antiparallel overlap on the same underlying geometry — which a kernel must flag as a degenerate/coincident boundary rather than accept as two independent, non-intersecting edges.

Notes

RUNTIME-VERIFIED 2026-08-08 — the recorded crash comes from this file's straight-line direction argument, which references a plain direction where the schema declares a vector carrying a magnitude; repairing that one reference makes the file load, so the titled condition is never reached. See BACKLOG (M).

Expected validation

occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Twi143 - ShapeAnalysis_Wire.CheckIntersectingEdges parallel edges
3 * Defect: two parallel edges coincident along their entire length but in
4 * opposite directions; CheckIntersectingEdges considers them non-intersecting
5 * but they should be flagged as problematic overlapping geometry.
6 */
7HEADER;
8FILE_DESCRIPTION(('Twi143 test case','ShapeAnalysis_Wire.CheckIntersectingEdges parallel-edges'),'2;1');
9FILE_NAME('Twi143.stp','2026-06-15T00:00:00',(''),(''),'cad-research-suite','','');
10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
11ENDSEC;
12DATA;
13#1=APPLICATION_CONTEXT('automotive_design');
14#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
15#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#11=DIRECTION('',(0.0,0.0,1.0));
17#12=DIRECTION('',(1.0,0.0,0.0));
18#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);
19
20#20=PLANE('',#13);
21/* Wire with two parallel overlapping edges in opposite directions */
22#100=CARTESIAN_POINT('',(0.0,0.0,0.0));
23#101=VERTEX_POINT('',#100);
24#102=CARTESIAN_POINT('',(10.0,0.0,0.0));
25#103=VERTEX_POINT('',#102);
26
27/* Edge 1: (0,0) -> (10,0) forward */
28#110=LINE('',#100,#12);
29#111=EDGE_CURVE('',#101,#103,#110,.T.);
30
31/* Edge 2: (10,0) -> (0,0) reverse - same line, opposite direction */
32#120=LINE('',#102,#12);
33#121=EDGE_CURVE('',#103,#101,#120,.T.);
34
35/* Edge 3: normal edge to complete loop */
36#130=CARTESIAN_POINT('',(10.0,10.0,0.0));
37#131=VERTEX_POINT('',#130);
38#132=DIRECTION('',(0.0,1.0,0.0));
39#133=LINE('',#102,#132);
40#134=EDGE_CURVE('',#103,#131,#133,.T.);
41
42#140=CARTESIAN_POINT('',(0.0,10.0,0.0));
43#141=VERTEX_POINT('',#140);
44#142=DIRECTION('',(0.0,-1.0,0.0));
45#143=LINE('',#130,#142);
46#144=EDGE_CURVE('',#131,#141,#143,.T.);
47
48#150=DIRECTION('',(0.0,-1.0,0.0));
49#151=LINE('',#140,#150);
50#152=EDGE_CURVE('',#141,#101,#151,.T.);
51
52/* Edge loop with parallel overlapping edges */
53#160=ORIENTED_EDGE('',*,*,#111,.T.);
54#161=ORIENTED_EDGE('',*,*,#121,.F.);
55#162=ORIENTED_EDGE('',*,*,#134,.T.);
56#163=ORIENTED_EDGE('',*,*,#144,.T.);
57#164=ORIENTED_EDGE('',*,*,#152,.T.);
58#165=EDGE_LOOP('',(#160,#161,#162,#163,#164));
59#166=FACE_OUTER_BOUND('',#165,.T.);
60#167=ADVANCED_FACE('',(#166),#20,.T.);
61#8000=OPEN_SHELL('',(#167));
62
63/* PRODUCT CHAIN - Mandatory */
64#9000=PRODUCT_CONTEXT('',#1,'mechanical');
65#9001=PRODUCT('Twi143','Twi143','',(#9000));
66#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
67#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
68#9004=PRODUCT_DEFINITION('','',#9002,#9003);
69#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
70#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
71#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
72#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
73#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
74#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
75#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#8000));
76#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
77#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
78ENDSEC;
79END-ISO-10303-21;