Tb017 — Two coincident faces at distance equal to declared tolerance

§12.4 (sub-class: face-coincidence threshold)

spec-violation

Sources

Description

Two `ADVANCED_FACE`s (planar, parallel, same outline) are separated by exactly 1.0e-6 mm; equal to the declared tolerance. A kernel comparing strict `<` keeps them as separate faces (a thin slab). A kernel comparing `<=` merges them and the slab disappears, leaving a single face. Both interpretations are mathematically reasonable but produce different geometry.

Reproducer recipe

Two coplanar `ADVANCED_FACE`s on parallel `PLANE`s offset by 1.0e-6 mm; declared uncertainty 1.0e-6 mm. Wrap in PRODUCT chain.

Expected kernel behavior

Heal and accept: normalize the equality-vs-strict-inequality choice at the tolerance boundary; tie-breaking is documented.

Notes

Searchable as "duplicate coincident faces", "thin slab. Synonyms: "faces at exact tolerance distance", "is this coincident or not at exactly tol", "boundary case for face dedup", "parallel faces separated by exactly the tolerance". disappeared after import".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(18) 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

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tb017: two parallel ADVANCED_FACEs on PLANEs separated by exactly 1.0e-06 mm; declared uncertainty 1.0e-06 mm — strict < keeps both faces (thin slab); <=  comparison merges them (slab disappears); equality at tolerance boundary creates policy-dependent geometry */
3HEADER;
4FILE_DESCRIPTION(('Tb017'),'2;1');
5FILE_NAME('Tb017.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
10#2=CARTESIAN_POINT('',(10.0,0.0,0.0));
11#3=CARTESIAN_POINT('',(10.0,10.0,0.0));
12#4=CARTESIAN_POINT('',(0.0,10.0,0.0));
13#5=VERTEX_POINT('',#1);
14#6=VERTEX_POINT('',#2);
15#7=VERTEX_POINT('',#3);
16#8=VERTEX_POINT('',#4);
17#9=DIRECTION('',(1.0,0.0,0.0));
18#10=DIRECTION('',(0.0,1.0,0.0));
19#11=VECTOR('',#9,10.0);
20#12=LINE('',#1,#11);
21#13=EDGE_CURVE('f1_bot',#5,#6,#12,.T.);
22#14=VECTOR('',#10,10.0);
23#15=LINE('',#2,#14);
24#16=EDGE_CURVE('f1_rgt',#6,#7,#15,.T.);
25#17=VECTOR('',#9,10.0);
26#18=LINE('',#4,#17);
27#19=EDGE_CURVE('f1_top',#8,#7,#18,.T.);
28#20=VECTOR('',#10,10.0);
29#21=LINE('',#1,#20);
30#22=EDGE_CURVE('f1_lft',#5,#8,#21,.T.);
31#23=ORIENTED_EDGE('',$,$,#13,.T.);
32#24=ORIENTED_EDGE('',$,$,#16,.T.);
33#25=ORIENTED_EDGE('',$,$,#19,.F.);
34#26=ORIENTED_EDGE('',$,$,#22,.F.);
35#27=EDGE_LOOP('',(#23,#24,#25,#26));
36#28=CARTESIAN_POINT('',(0.0,0.0,0.0));
37#29=DIRECTION('',(0.0,0.0,1.0));
38#30=DIRECTION('',(1.0,0.0,0.0));
39#31=AXIS2_PLACEMENT_3D('',#28,#29,#30);
40#32=PLANE('',#31);
41#33=FACE_OUTER_BOUND('',#27,.T.);
42#34=ADVANCED_FACE('face_z0',(#33),#32,.T.);
43#35=CARTESIAN_POINT('',(0.0,0.0,1.0E-06));
44#36=CARTESIAN_POINT('',(10.0,0.0,1.0E-06));
45#37=CARTESIAN_POINT('',(10.0,10.0,1.0E-06));
46#38=CARTESIAN_POINT('',(0.0,10.0,1.0E-06));
47#39=VERTEX_POINT('',#35);
48#40=VERTEX_POINT('',#36);
49#41=VERTEX_POINT('',#37);
50#42=VERTEX_POINT('',#38);
51#43=DIRECTION('',(1.0,0.0,0.0));
52#44=DIRECTION('',(0.0,1.0,0.0));
53#45=VECTOR('',#43,10.0);
54#46=LINE('',#35,#45);
55#47=EDGE_CURVE('f2_bot',#39,#40,#46,.T.);
56#48=VECTOR('',#44,10.0);
57#49=LINE('',#36,#48);
58#50=EDGE_CURVE('f2_rgt',#40,#41,#49,.T.);
59#51=VECTOR('',#43,10.0);
60#52=LINE('',#38,#51);
61#53=EDGE_CURVE('f2_top',#42,#41,#52,.T.);
62#54=VECTOR('',#44,10.0);
63#55=LINE('',#35,#54);
64#56=EDGE_CURVE('f2_lft',#39,#42,#55,.T.);
65#57=ORIENTED_EDGE('',$,$,#47,.T.);
66#58=ORIENTED_EDGE('',$,$,#50,.T.);
67#59=ORIENTED_EDGE('',$,$,#53,.F.);
68#60=ORIENTED_EDGE('',$,$,#56,.F.);
69#61=EDGE_LOOP('',(#57,#58,#59,#60));
70#62=CARTESIAN_POINT('',(0.0,0.0,1.0E-06));
71#63=DIRECTION('',(0.0,0.0,1.0));
72#64=DIRECTION('',(1.0,0.0,0.0));
73#65=AXIS2_PLACEMENT_3D('',#62,#63,#64);
74#66=PLANE('',#65);
75#67=FACE_OUTER_BOUND('',#61,.T.);
76#68=ADVANCED_FACE('face_z_tol',(#67),#66,.T.);
77#69=OPEN_SHELL('',(#34,#68));
78#70=SHELL_BASED_SURFACE_MODEL('',(#69));
79#71=APPLICATION_CONTEXT('automotive_design');
80#72=PRODUCT_CONTEXT('',#71,'mechanical');
81#73=PRODUCT('Tb017','Tb017','',(#72));
82#74=PRODUCT_DEFINITION_FORMATION('','',#73);
83#75=PRODUCT_DEFINITION_CONTEXT('part definition',#71,'design');
84#76=PRODUCT_DEFINITION('','',#74,#75);
85#77=PRODUCT_DEFINITION_SHAPE('','',#76);
86#78=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
87#79=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
88#80=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
89#81=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-6),#78,'distance_accuracy_value','face_separation_equals_tolerance');
90#82=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#81))GLOBAL_UNIT_ASSIGNED_CONTEXT((#78,#79,#80))REPRESENTATION_CONTEXT('ctx','3D'));
91#83=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#70),#82);
92#84=SHAPE_DEFINITION_REPRESENTATION(#77,#83);
93ENDSEC;
94END-ISO-10303-21;