Twi081 — Edge has multiple distinct 3D curves attached

§12.3b (sub-class: edge representation)

P1 — silent data loss

topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

A topological edge carries more than one 3D-curve representation (different `EDGE_CURVE.edge_geometry` references coalesced onto the same edge). The two curves disagree about where the edge lies in space. Bug-reporter language: "edge has two curves", "curve mismatch on edge", "edge geometry conflict".

Reproducer recipe

Two distinct `EDGE_CURVE` entities sharing endpoints `#V1`, `#V2` but referencing different `LINE` or `B_SPLINE_CURVE` geometries. Both are referenced by `ORIENTED_EDGE`s in the same `EDGE_LOOP`.

Expected kernel behavior

Choose one curve canonically and emit a warning, or reject.

Notes

Different from Twi-style pcurve disagreement; this is *3D* curve disagreement. Synonyms: "two edge curves share start and end vertices but use different 3D curves", "duplicate edges between same vertex pair with different geometry", "two distinct 3D curves bound by same vertex pair", "edge has line and arc on same endpoints", "edge geometry ambiguous between line and circle".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Twi081: GEOMETRIC_CURVE_SET containing EDGE_LOOP with 2 EDGE_CURVEs sharing the same VERTEX_POINT pair (#V1 at (0,0,0), #V2 at (1,0,0)) but referencing different 3D geometries; EDGE_CURVE 'edge_with_line': straight LINE from (0,0,0) to (1,0,0); EDGE_CURVE 'edge_with_arc': ARC (CIRCLE radius 0.5, centre (0.5,0,0)) spanning same endpoints; two distinct 3D curves on same vertex pair → BRepCheck Multiple3DCurve; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; both EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi081'),'2;1');
5FILE_NAME('Twi081.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=VERTEX_POINT('',#1);
12#3=CARTESIAN_POINT('',(1.0,0.0,0.0));
13#4=VERTEX_POINT('',#3);
14#5=CARTESIAN_POINT('',(0.0,0.0,0.0));
15#6=DIRECTION('',(1.0,0.0,0.0));
16#7=VECTOR('',#6,1.0);
17#8=LINE('',#5,#7);
18#9=EDGE_CURVE('edge_with_line',#2,#4,#8,.T.);
19#10=ORIENTED_EDGE('',*,*,#9,.T.);
20#11=CARTESIAN_POINT('',(0.5,0.0,0.0));
21#12=DIRECTION('',(0.0,0.0,1.0));
22#13=DIRECTION('',(1.0,0.0,0.0));
23#14=AXIS2_PLACEMENT_3D('',#11,#12,#13);
24#15=CIRCLE('',#14,0.5);
25#16=EDGE_CURVE('edge_with_arc',#2,#4,#15,.T.);
26#17=ORIENTED_EDGE('',*,*,#16,.T.);
27#18=EDGE_LOOP('',(#10,#17));
28#19=GEOMETRIC_CURVE_SET('',(#18));
29#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
30#9051=PRODUCT('Twi081','Twi081','',(#9050));
31#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
32#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
33#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
34#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
35#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
36#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
37#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
38#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
39#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
40#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#19),#9060);
41#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
42ENDSEC;
43END-ISO-10303-21;