Tfa257 — Two independent full-circle boundaries at the same location, closed-edge vertex reconciliation

§12.3c faces (sub-class: `sew-edge-endpoint-tolerance-reconciliation` PARTIAL, missing closed-edge subvariant)

topology

Sources

Description

An `OPEN_SHELL` carries two `ADVANCED_FACE`s on coincident `PLANE` locations (z=0). Each face's entire boundary is a single CLOSED `EDGE_CURVE` — its start vertex and end vertex are the identical `VERTEX_POINT` — tracing a full 360° `CIRCLE` of radius 5. `face_a`'s circle (normal +Z) closes at `VERTEX_POINT` (5,0,0). `face_b`'s circle (normal -Z, the "other side" of the same disk location) closes at a DISTINCT `VERTEX_POINT` (5.00001,0,0) — offset 1e-5 mm along +X, within a typical sewing tolerance (1e-4) but a genuinely different entity. Two independent, topologically unshared, full-period closed boundaries at (nearly) the same location.

Reproducer recipe

Two `ADVANCED_FACE`s whose entire boundary is one CLOSED `EDGE_CURVE` each (own start vertex == own end vertex), positioned at coincident locations with their closing vertices offset by a within-tolerance amount and encoded as distinct `VERTEX_POINT` entities — on a live `OPEN_SHELL`/`SHELL_BASED_SURFACE_MODEL` path.

Expected kernel behavior

a sewing/merge pass reconciling these two closed boundaries should use the closed-edge three-point-averaging tolerance computation (not the plain two-point formula) since both of each edge's endpoints are the same vertex; the merged result should have a single shared closing vertex whose tolerance sphere bounds both original positions.

Notes

**See also**: Tfa020 (open-edge two-vertex merge precondition, same offset-encoding convention), Tsh203, Tsh187 (same two-vertex subvariant, different offsets). Live-verified (this worktree's OCP/OCCT 7.8.1, default import path, heal-on and heal-off identical): `occt=shape(1)/shape(1) gmsh=shape(6)/shape(6)`; `n_faces_total==2`, `n_vertices_total==4` (2 closed edges x 1 vertex, each counted once per edge-endpoint reference pair). Honest caveat, matching this class's existing PARTIAL-covering fixtures: the plain default STEP reading path does not itself invoke the sewing/merge algorithm, so no live vertex-reconciling merge is observed on ordinary import — the two closing vertices remain 2 distinct, unmerged `VERTEX_POINT` instances at (5.00001,0,0) and (5,0,0) (confirmed via tier-3 vertex dump), and the two faces load as 2 separate shells inside a compound rather than one merged shell. What IS genuinely demonstrated and live-verified is that the input precondition itself survives translation completely intact and reachable — not orphaned, not dropped, no read fault — unlike a `GEOMETRIC_CURVE_SET`-hosted encoding, which this entry deliberately avoids. Synonyms: "closed edge three point averaging merge", "two full circles same location unshared", "closed-edge tolerance-vertex overload", "closing vertex reconciliation coincident circles", "closed edge sewing tolerance merge precondition".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

Tfa020, Tsh203, Tsh187

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa257: OPEN_SHELL, two ADVANCED_FACEs on coincident PLANE locations (z=0); face_a: full CIRCLE radius 5 centered at origin, normal +Z, single closed EDGE_CURVE whose start vertex and end vertex ARE the same VERTEX_POINT at (5,0,0); face_b: full CIRCLE radius 5 at the same center, normal -Z (the other side of the same disk location), its own closed EDGE_CURVE whose closing vertex is a DISTINCT VERTEX_POINT at (5.00001,0,0) -- offset 1e-5 mm along +X, within typical sewing tolerance but a genuinely different entity; two independent, topologically unshared, full-period CLOSED boundaries at (nearly) the same location IS the precondition for the closed-edge three-point-averaging vertex-tolerance-reconciliation merge; both faces ARE wired into one live OPEN_SHELL/SHELL_BASED_SURFACE_MODEL; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Tfa257'),'2;1');
5FILE_NAME('Tfa257.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('',(5.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(0.0,0.0,0.0));
18#9=DIRECTION('',(0.0,0.0,1.0));
19#10=DIRECTION('',(1.0,0.0,0.0));
20#11=AXIS2_PLACEMENT_3D('',#8,#9,#10);
21#12=CIRCLE('',#11,5.0);
22#13=EDGE_CURVE('',#7,#7,#12,.T.);
23#14=ORIENTED_EDGE('',$,$,#13,.T.);
24#15=EDGE_LOOP('',(#14));
25#16=FACE_OUTER_BOUND('',#15,.T.);
26#17=ADVANCED_FACE('',(#16),#5,.T.);
27#18=CARTESIAN_POINT('',(0.0,0.0,0.0));
28#19=DIRECTION('',(0.0,0.0,-1.0));
29#20=DIRECTION('',(1.0,0.0,0.0));
30#21=AXIS2_PLACEMENT_3D('',#18,#19,#20);
31#22=PLANE('',#21);
32#23=CARTESIAN_POINT('',(5.00001,0.0,0.0));
33#24=VERTEX_POINT('',#23);
34#25=CARTESIAN_POINT('',(0.0,0.0,0.0));
35#26=DIRECTION('',(0.0,0.0,-1.0));
36#27=DIRECTION('',(1.0,0.0,0.0));
37#28=AXIS2_PLACEMENT_3D('',#25,#26,#27);
38#29=CIRCLE('',#28,5.0);
39#30=EDGE_CURVE('',#24,#24,#29,.T.);
40#31=ORIENTED_EDGE('',$,$,#30,.T.);
41#32=EDGE_LOOP('',(#31));
42#33=FACE_OUTER_BOUND('',#32,.T.);
43#34=ADVANCED_FACE('',(#33),#22,.T.);
44#35=OPEN_SHELL('',(#17,#34));
45#36=SHELL_BASED_SURFACE_MODEL('',(#35));
46#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
47#9051=PRODUCT('Tfa257','Tfa257','',(#9050));
48#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
49#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
50#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
51#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
52#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
53#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
54#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
55#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
56#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
57#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#36),#9060);
58#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
59ENDSEC;
60END-ISO-10303-21;