Tfa256 — Face with two coincident-edge wires, multi-wire gate satisfied

§12.3c faces (sub-class: `tkshh-face-wire-of-two-coincident-edges` PARTIAL, missing multi-wire subvariant)

topology

Sources

Description

A single `PLANE` `ADVANCED_FACE` carries TWO wires: `FACE_OUTER_BOUND` is an ordinary valid 10×10 square, and `FACE_BOUND` is a 2-edge slit *inside* the square — the SAME `EDGE_CURVE` entity `E` (a 4-unit segment from (3,3,0) to (7,3,0)) referenced twice by two `ORIENTED_EDGE`s, both at `.T.` (FORWARD). Because the face now genuinely has 2 wires, coincident-edge wire merging's multi-wire precondition is live and reachable, unlike Tfa074.

Reproducer recipe

`ADVANCED_FACE` with a valid `FACE_OUTER_BOUND` wire plus a second `FACE_BOUND` wire whose `EDGE_LOOP` references one `EDGE_CURVE` twice via two FORWARD `ORIENTED_EDGE`s — on a live `OPEN_SHELL`/`SHELL_BASED_SURFACE_MODEL` path.

Expected kernel behavior

when a face has 2+ wires and one of them is a 2-edge loop reusing one edge entity at matching (FORWARD/FORWARD) orientation, that wire bounds no area and must be dropped from the face, leaving the other wire(s) intact.

Notes

**See also**: Tfa074 (identical reused-edge pattern, but single-wire — the gate this entry satisfies never opens there), Tfa232 (4-edge loop reusing a curve — a different, filter-probe pattern outside the `NbEdges()==2` gate), Tfa209 (5-edge wire with a duplicate pair — also outside the 2-edge gate). Live-verified (this worktree's OCP/OCCT 7.8.1, default import path, heal-on and heal-off identical): `occt=shape(1)/shape(1)`. The authored file has 2 wires and 5 `EDGE_CURVE` entities (4 square + 1 reused twice); the loaded shape carries only 1 wire and 4 edges — the entire coincident-edge inner wire (both its `ORIENTED_EDGE` references to `E`) is dropped outright, not merely left unmerged or flipped to a valid-but-degenerate orientation. `face[0].area==99.99999999999999`, matching the full 10×10 square with no trace of the slit subtracted. This is the opposite outcome from Tfa074, where the identical reused-edge pattern survives translation as a live 2-edge zero-area sliver (OCCT there just flips one `ORIENTED_EDGE` to REVERSED to keep the wire topologically valid, without recognizing it as a duplicate to remove) because that face has only one wire and the removal repair's `nbWires>=2` gate never opens. Synonyms: "two coincident edges wire multi-wire face", "coincident-edge wire merging nbWires gate", "slit wire dropped from multi-wire face", "reused edge wire removal second wire present", "coincident-edge hole wire genuinely fires".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Tfa074, Tfa232, Tfa209

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa256: Single PLANE face, TWO wires: FACE_OUTER_BOUND is a valid 10x10 square (0,0,0)-(10,0,0)-(10,10,0)-(0,10,0); FACE_BOUND is a 2-edge slit inside the square, reusing ONE EDGE_CURVE E=(3,3,0)-(7,3,0) twice via two ORIENTED_EDGEs both .T. (FORWARD) — the coincident-edge pattern; unlike the single-wire Tfa074 (whose face has ONLY this wire and never satisfies the nbWires>=2 gate the removal repair needs), this face's second, ordinary wire genuinely gives it 2 wires, so the repair's multi-wire precondition is live and reachable; both bounds ARE wired into one ADVANCED_FACE on a live OPEN_SHELL; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Tfa256'),'2;1');
5FILE_NAME('Tfa256.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=CARTESIAN_POINT('',(10.0,0.0,0.0));
12#3=CARTESIAN_POINT('',(10.0,10.0,0.0));
13#4=CARTESIAN_POINT('',(0.0,10.0,0.0));
14#5=VERTEX_POINT('',#1);
15#6=VERTEX_POINT('',#2);
16#7=VERTEX_POINT('',#3);
17#8=VERTEX_POINT('',#4);
18#9=DIRECTION('',(1.0,0.0,0.0));
19#10=VECTOR('',#9,10.0);
20#11=LINE('',#1,#10);
21#12=EDGE_CURVE('',#5,#6,#11,.T.);
22#13=DIRECTION('',(0.0,1.0,0.0));
23#14=VECTOR('',#13,10.0);
24#15=LINE('',#2,#14);
25#16=EDGE_CURVE('',#6,#7,#15,.T.);
26#17=DIRECTION('',(-1.0,0.0,0.0));
27#18=VECTOR('',#17,10.0);
28#19=LINE('',#3,#18);
29#20=EDGE_CURVE('',#7,#8,#19,.T.);
30#21=DIRECTION('',(0.0,-1.0,0.0));
31#22=VECTOR('',#21,10.0);
32#23=LINE('',#4,#22);
33#24=EDGE_CURVE('',#8,#5,#23,.T.);
34#25=ORIENTED_EDGE('',$,$,#12,.T.);
35#26=ORIENTED_EDGE('',$,$,#16,.T.);
36#27=ORIENTED_EDGE('',$,$,#20,.T.);
37#28=ORIENTED_EDGE('',$,$,#24,.T.);
38#29=EDGE_LOOP('',(#25,#26,#27,#28));
39#30=FACE_OUTER_BOUND('',#29,.T.);
40#31=CARTESIAN_POINT('',(3.0,3.0,0.0));
41#32=CARTESIAN_POINT('',(7.0,3.0,0.0));
42#33=VERTEX_POINT('',#31);
43#34=VERTEX_POINT('',#32);
44#35=DIRECTION('',(1.0,0.0,0.0));
45#36=VECTOR('',#35,4.0);
46#37=LINE('',#31,#36);
47#38=EDGE_CURVE('',#33,#34,#37,.T.);
48#39=ORIENTED_EDGE('',$,$,#38,.T.);
49#40=ORIENTED_EDGE('',$,$,#38,.T.);
50#41=EDGE_LOOP('',(#39,#40));
51#42=FACE_BOUND('',#41,.T.);
52#43=CARTESIAN_POINT('',(0.0,0.0,0.0));
53#44=DIRECTION('',(0.0,0.0,1.0));
54#45=DIRECTION('',(1.0,0.0,0.0));
55#46=AXIS2_PLACEMENT_3D('',#43,#44,#45);
56#47=PLANE('',#46);
57#48=ADVANCED_FACE('',(#30,#42),#47,.T.);
58#49=OPEN_SHELL('',(#48));
59#50=SHELL_BASED_SURFACE_MODEL('',(#49));
60#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
61#9051=PRODUCT('Tfa256','Tfa256','',(#9050));
62#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
63#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
64#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
65#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
66#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
67#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
68#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
69#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
70#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
71#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#50),#9060);
72#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
73ENDSEC;
74END-ISO-10303-21;