Tfa025 — Glue Edges: duplicate `EDGE_CURVE` instances over duplicated `LINE` / `VERTEX_POINT` entities (coincident edges)

§12.3c face-sliver-sewing

P1 — silent data loss

topology

Sources

Description

Edge-level analogue of Glue Faces: a wireframe model (e.g. `GEOMETRIC_CURVE_SET`) or sewing residue carries duplicate `EDGE_CURVE` instances across patches that should be shared. Common signature: four geometrically identical edges in one set — two using the same `VERTEX_POINT`s and `LINE` (true duplicates), one using duplicated `LINE` instance over the same vertices, and one using duplicated `VERTEX_POINT` instances over the same line — all combinations of duplicated underlying entities for the same physical edge.

Reproducer recipe

Compound where two `EDGE_CURVE`s reference the same `LINE` between identical `VERTEX_POINT`s, but live in different parents.

Expected kernel behavior

heal; merge coincident edges within tolerance; rebind ancestors to the kept edge.

Notes

**See also**: Twi033. Synonyms: "duplicate edges over same line and vertices", "coincident edges in wireframe", "same edge defined four times with duplicate underlying entities", "edges sharing geometry but stored separately", "edge dedup needed across patches".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Twi033

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa025: GEOMETRIC_CURVE_SET containing two EDGE_LOOPs with identical geometry; each loop uses its own EDGE_CURVE, LINE, and VERTEX_POINT instances; LINE named 'line_shared' and start vertex named 'p0'; four geometrically identical edges: two true duplicates (same LINE), one with duplicated LINE instance, one with duplicated VERTEX_POINT instances; edge dedup / glue-edges pass needed to merge them; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; no orphaned entities */
3HEADER;
4FILE_DESCRIPTION(('Tfa025'),'2;1');
5FILE_NAME('Tfa025.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('p0',(0.0,0.0,0.0));
11#2=CARTESIAN_POINT('',(10.0,0.0,0.0));
12#3=VERTEX_POINT('',#1);
13#4=VERTEX_POINT('',#2);
14#5=DIRECTION('',(1.0,0.0,0.0));
15#6=VECTOR('',#5,10.0);
16#7=LINE('line_shared',#1,#6);
17#8=EDGE_CURVE('edge_orig',#3,#4,#7,.T.);
18#9=EDGE_CURVE('edge_dup',#3,#4,#7,.T.);
19#10=CARTESIAN_POINT('p0',(0.0,0.0,0.0));
20#11=DIRECTION('',(1.0,0.0,0.0));
21#12=VECTOR('',#11,10.0);
22#13=LINE('line_dup_instance',#10,#12);
23#14=CARTESIAN_POINT('',(10.0,0.0,0.0));
24#15=VERTEX_POINT('',#10);
25#16=VERTEX_POINT('',#14);
26#17=EDGE_CURVE('edge_dup_line',#15,#16,#13,.T.);
27#18=CARTESIAN_POINT('p0',(0.0,0.0,0.0));
28#19=CARTESIAN_POINT('',(10.0,0.0,0.0));
29#20=VERTEX_POINT('',#18);
30#21=VERTEX_POINT('',#19);
31#22=EDGE_CURVE('edge_dup_verts',#20,#21,#7,.T.);
32#23=ORIENTED_EDGE('',*,*,#8,.T.);
33#24=ORIENTED_EDGE('',*,*,#9,.T.);
34#25=ORIENTED_EDGE('',*,*,#17,.T.);
35#26=ORIENTED_EDGE('',*,*,#22,.T.);
36#27=EDGE_LOOP('loop_true_dups',(#23,#24));
37#28=EDGE_LOOP('loop_entity_dups',(#25,#26));
38#29=GEOMETRIC_CURVE_SET('',(#27,#28));
39#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
40#9051=PRODUCT('Tfa025','Tfa025','',(#9050));
41#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
42#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
43#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
44#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
45#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
46#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
47#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
48#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
49#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
50#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#29),#9060);
51#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
52ENDSEC;
53END-ISO-10303-21;