M003 — Free-edge tessellated shell cannot use tessellated_connecting_edge

§12.8 (sub-class: tessellation)

P1 — silent data loss

topology

Sources

Description

`tessellated_connecting_edge` requires both `face1` and `face2` to be set, so it cannot represent edges on the free boundary of an open shell. Writers either fall back to plain `tessellated_edge` (losing connectivity) or, incorrectly, point `face2` at an arbitrary face. Receivers may then think the shell is closed.

Reproducer recipe

Build an open tessellated shell that has a free boundary (e.g., a half-sphere). Force the writer to emit `tessellated_connecting_edge` for the free boundary.

Expected kernel behavior

heal — emit only `tessellated_edge` (no connecting edge) for free boundaries; on read, do not infer a closed shell when free edges are present.

Notes

Synonyms: "tessellated_connecting_edge on free edge", "open shell connecting edge invalid", "free-boundary connecting edge has only one face", "face2 missing on boundary edge".

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/* M003: GEOMETRIC_CURVE_SET containing TESSELLATED_SHELL; open tessellated shell has a free-boundary edge represented by TESSELLATED_CONNECTING_EDGE with both face1 and face2 set, incorrectly implying the shell is closed; AP242 Tessellated Geometry §5.4.2: TESSELLATED_CONNECTING_EDGE requires both face1 and face2 to be set — it cannot represent a free-boundary edge; writers on free-boundary edges must use TESSELLATED_EDGE not TESSELLATED_CONNECTING_EDGE; buggy writer points face2 at an arbitrary face to avoid a null reference, making receivers think the shell is closed; kernel must heal: detect free-boundary TESSELLATED_CONNECTING_EDGEs and not infer a closed shell from their presence; GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: tessellated_connecting_edge on free edge, open shell connecting edge invalid, free-boundary connecting edge has only one face, face2 missing on boundary edge */
3HEADER;
4FILE_DESCRIPTION(('M003'),'2;1');
5FILE_NAME('M003.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('face_a_coords',3,((0.,0.,0.),(10.,0.,0.),(5.,10.,0.)));
11#2=TRIANGULATED_FACE('face_a',#1,$,((.FALSE.,.FALSE.,.FALSE.)),((0,1,2)));
12#3=COORDINATES_LIST('face_b_coords',3,((10.,0.,0.),(20.,0.,0.),(5.,10.,0.)));
13#4=TRIANGULATED_FACE('face_b',#3,$,((.FALSE.,.FALSE.,.FALSE.)),((0,1,2)));
14#5=TESSELLATED_SHELL('open_tess_shell',(#2,#4));
15#6=TESSELLATED_CONNECTING_EDGE('free_boundary_edge_WRONG',#2,0,#4,2);
16#7=TESSELLATED_EDGE('internal_edge_ok',#2,2,#4,0);
17#8=GEOMETRIC_CURVE_SET('free-edge-tess-connecting-edge',(#5,#6,#7));
18#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
19#9051=PRODUCT('M003','M003','',(#9050));
20#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
21#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
22#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
23#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
24#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
25#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
26#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
27#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
28#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
29#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#8),#9060);
30#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
31ENDSEC;
32END-ISO-10303-21;