M004 — Watertightness lost when each tessellated face has its own coordinates_list

§12.8 (sub-class: tessellation)

P1 — silent data loss

topology

Sources

Description

Defining each `tessellated_face` with an independent `coordinates_list` produces duplicate vertices along shared edges. Floating-point quantization may make those duplicates non-equal, leaving sub-tolerance gaps along every shared edge. Recommendation: one `coordinates_list` per solid plus `tessellated_connecting_edge` per topological edge.

Reproducer recipe

Tessellate a unit cube so each of the six faces has its own `coordinates_list` with corner coordinates differing in the last few digits across faces.

Expected kernel behavior

heal; merge nearly-coincident vertices using model uncertainty, or report the gap.

Notes

Synonyms: "tessellation not watertight", "duplicate vertices on shared edge", "per-face coordinates_list causes gaps", "tessellated mesh has sub-tolerance gaps", "shared edge vertices don't match across faces".

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M004: GEOMETRIC_CURVE_SET containing TESSELLATED_SOLID with 6 TESSELLATED_FACEs, each owning its own COORDINATES_LIST; per-face COORDINATES_LIST produces duplicate vertices along every shared cube edge; floating-point quantization makes some duplicates non-equal (sub-tolerance gap); AP242 Tessellated Geometry §5.4.3/§6 recommendation: one COORDINATES_LIST per solid plus TESSELLATED_CONNECTING_EDGE per topological edge; kernel must heal: merge nearly-coincident vertices using model uncertainty, or report the gap; GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: tessellation not watertight, duplicate vertices on shared edge, per-face coordinates_list causes gaps, tessellated mesh has sub-tolerance gaps, shared edge vertices don't match across faces */
3HEADER;
4FILE_DESCRIPTION(('M004'),'2;1');
5FILE_NAME('M004.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=COORDINATES_LIST('bottom_face_coords',3,((0.,0.,0.),(1.0000003,0.,0.),(1.0000003,1.0000003,0.),(0.,1.0000003,0.)));
11#2=TRIANGULATED_FACE('bottom_face',#1,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3)));
12#3=COORDINATES_LIST('top_face_coords',3,((0.,0.,1.),(1.,0.,1.),(1.,1.,1.),(0.,1.,1.)));
13#4=TRIANGULATED_FACE('top_face',#3,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3)));
14#5=COORDINATES_LIST('front_face_coords',3,((0.,0.,0.),(1.,0.,0.),(1.,0.,1.),(0.,0.,1.)));
15#6=TRIANGULATED_FACE('front_face',#5,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3)));
16#7=COORDINATES_LIST('back_face_coords',3,((0.,1.0000003,0.),(1.,1.0000003,0.),(1.,1.0000003,1.),(0.,1.0000003,1.)));
17#8=TRIANGULATED_FACE('back_face',#7,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3)));
18#9=COORDINATES_LIST('left_face_coords',3,((0.,0.,0.),(0.,1.,0.),(0.,1.,1.),(0.,0.,1.)));
19#10=TRIANGULATED_FACE('left_face',#9,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3)));
20#11=COORDINATES_LIST('right_face_coords',3,((1.0000003,0.,0.),(1.0000003,1.0000003,0.),(1.0000003,1.0000003,1.),(1.0000003,0.,1.)));
21#12=TRIANGULATED_FACE('right_face',#11,$,((.FALSE.,.FALSE.,.FALSE.,.FALSE.)),((0,1,2),(0,2,3)));
22#13=TESSELLATED_SOLID('per_face_coords_cube',(#2,#4,#6,#8,#10,#12));
23#14=GEOMETRIC_CURVE_SET('per-face-coords-list-gaps',(#13));
24#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
25#9051=PRODUCT('M004','M004','',(#9050));
26#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
27#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
28#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
29#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
30#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
31#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
32#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
33#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
34#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
35#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#14),#9060);
36#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
37ENDSEC;
38END-ISO-10303-21;