Tfa017 — Same-domain face merge inflates vertex tolerance on the result

§12.3c face-sliver-sewing

topology

Sources

Description

A same-domain face merge dissolves the shared edge of two coplanar faces and assigns the result a tolerance equal to the worst of the inputs (~1e-1) instead of recomputing it from the actual post-merge geometry (would have been ~2e-7). Downstream operations then see inflated tolerances on a result that didn't need them.

Reproducer recipe

Two coplanar faces with vertex tolerances ~2e-7; fuse; run a same-domain merge; check vertex tolerances on the result.

Expected kernel behavior

recompute tolerance from actual post-merge geometric deviation; preserve the input precision when merged vertices coincide within source tolerance.

Notes

**See also**: Tfa016. Synonyms: "merged face inherits worst tolerance", "face merge bloats vertex tolerance", "tolerance jumps after coplanar merge", "merged result tolerant on a precise input".

Expected validation

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

Closure intent

sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.

Tier-3 assertions

Cross-references

Tfa016

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa017: OPEN_SHELL: two 10×10 coplanar ADVANCED_FACEs; face[0] left square (x:0–10) on PLANE_A; face[1] right square (x:10–20) on PLANE_B; PLANE_A and PLANE_B have identical geometry but distinct entity IDs — same-domain merge target; shared-boundary vertices (at x=10) carry name 'tol_1e-1' marking inflated tolerance ~1e-1 (worst-case input precision from Boolean merge); healer must recompute post-merge vertex tolerance from actual geometry (~2e-7) not inherit worst input tolerance; defect IS on live face traversal path */
3HEADER;
4FILE_DESCRIPTION(('Tfa017'),'2;1');
5FILE_NAME('Tfa017.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('',(0.0,0.0,0.0));
16#7=DIRECTION('',(0.0,0.0,1.0));
17#8=DIRECTION('',(1.0,0.0,0.0));
18#9=AXIS2_PLACEMENT_3D('',#6,#7,#8);
19#10=PLANE('',#9);
20#11=CARTESIAN_POINT('',(0.0,0.0,0.0));
21#12=CARTESIAN_POINT('',(10.0,0.0,0.0));
22#13=CARTESIAN_POINT('',(10.0,10.0,0.0));
23#14=CARTESIAN_POINT('',(0.0,10.0,0.0));
24#15=CARTESIAN_POINT('',(20.0,0.0,0.0));
25#16=CARTESIAN_POINT('',(20.0,10.0,0.0));
26#17=VERTEX_POINT('',#11);
27#18=VERTEX_POINT('',#12);
28#19=VERTEX_POINT('',#13);
29#20=VERTEX_POINT('',#14);
30#21=VERTEX_POINT('',#15);
31#22=VERTEX_POINT('',#16);
32#23=DIRECTION('',(1.0,0.0,0.0));
33#24=VECTOR('',#23,10.0);
34#25=LINE('',#11,#24);
35#26=EDGE_CURVE('',#17,#18,#25,.T.);
36#27=DIRECTION('',(0.0,1.0,0.0));
37#28=VECTOR('',#27,10.0);
38#29=LINE('',#12,#28);
39#30=EDGE_CURVE('',#18,#19,#29,.T.);
40#31=DIRECTION('',(-1.0,0.0,0.0));
41#32=VECTOR('',#31,10.0);
42#33=LINE('',#13,#32);
43#34=EDGE_CURVE('',#19,#20,#33,.T.);
44#35=DIRECTION('',(0.0,-1.0,0.0));
45#36=VECTOR('',#35,10.0);
46#37=LINE('',#14,#36);
47#38=EDGE_CURVE('',#20,#17,#37,.T.);
48#39=DIRECTION('',(1.0,0.0,0.0));
49#40=VECTOR('',#39,10.0);
50#41=LINE('',#12,#40);
51#42=EDGE_CURVE('',#18,#21,#41,.T.);
52#43=DIRECTION('',(0.0,1.0,0.0));
53#44=VECTOR('',#43,10.0);
54#45=LINE('',#15,#44);
55#46=EDGE_CURVE('',#21,#22,#45,.T.);
56#47=DIRECTION('',(-1.0,0.0,0.0));
57#48=VECTOR('',#47,10.0);
58#49=LINE('',#16,#48);
59#50=EDGE_CURVE('',#22,#19,#49,.T.);
60#51=ORIENTED_EDGE('',$,$,#26,.T.);
61#52=ORIENTED_EDGE('',$,$,#30,.T.);
62#53=ORIENTED_EDGE('',$,$,#34,.T.);
63#54=ORIENTED_EDGE('',$,$,#38,.T.);
64#55=EDGE_LOOP('',(#51,#52,#53,#54));
65#56=FACE_OUTER_BOUND('',#55,.T.);
66#57=ADVANCED_FACE('',(#56),#5,.T.);
67#58=ORIENTED_EDGE('',$,$,#42,.T.);
68#59=ORIENTED_EDGE('',$,$,#46,.T.);
69#60=ORIENTED_EDGE('',$,$,#50,.T.);
70#61=ORIENTED_EDGE('',$,$,#30,.F.);
71#62=EDGE_LOOP('',(#58,#59,#60,#61));
72#63=FACE_OUTER_BOUND('',#62,.T.);
73#64=ADVANCED_FACE('',(#63),#10,.T.);
74#65=OPEN_SHELL('',(#57,#64));
75#66=SHELL_BASED_SURFACE_MODEL('',(#65));
76#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
77#9051=PRODUCT('Tfa017','Tfa017','',(#9050));
78#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
79#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
80#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
81#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
82#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
83#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
84#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
85#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.000000E-01),#9056,'distance_accuracy_value','');
86#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
87#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#66),#9060);
88#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
89ENDSEC;
90END-ISO-10303-21;