M194 — Tessellated shell's declared topological-geometry link points at a real but never-built shell, reader substitutes a fresh shell

§12.8 (sub-class: tessellation / mesh-as-brep)

P1 — silent data loss

crash

Sources

Description

A tessellated shell declares a link to its exact-topology counterpart, but that counterpart, though a real and well-formed shell entity present in the file, is never itself built as part of the model because it is not wired into anything the model's shape representation reaches. The declared link resolves to nothing at read time, and the reader quietly builds a brand-new shell from the tessellated shell's own mesh items instead of substituting the intended precise topology.

Reproducer recipe

`TESSELLATED_SHELL` whose `topological_link` attribute is populated with a reference to a syntactically valid `OPEN_SHELL` entity, fully defined in the file, that is never referenced by any `MANIFOLD_SOLID_BREP` or shape representation reachable from the model; the tessellated shell's one `TRIANGULATED_FACE` item carries its own `COORDINATES_LIST`; wired directly as the sole item of a `MANIFOLD_SURFACE_SHAPE_REPRESENTATION`.

Expected kernel behavior

reject a tessellated shell whose declared topological link cannot be resolved, or heal by substituting a diagnosed placeholder shell; never silently rebuild an unrelated fresh shell from mesh data alone without flagging that the intended precise topology was never actually used.

Notes

**See also**: M195. Synonyms: "tessellated shell dangling topological link", "unresolved exact-topology counterpart falls back to fresh shell", "shell rebuilt from mesh items when topology link is unbound", "surfaceless shell from unbound tessellation link". Live-verified: loads cleanly as a fresh single-face shell whose face reports as unrecognized surface kind and whose validity check reports invalid, confirming the fallback path fires exactly as described (companion finding to M193's face-level mechanism, same code family one level up in the topology tree). Mirrors Pmi164's overall single-shared-coordinate-list layout but gives the tessellated shell an actual unresolvable topological link and its own private coordinate list rather than leaving Pmi164's shell-level construct as a dead scaffold never reached from that file's real shape representation. See also: M193.- **Byte assertion**: contains(b'TESSELLATED_SHELL')

Expected validation

occt=shape(1)/shape(1) gmsh=signal(11) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

M195, M193, Pmi164

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M194: TESSELLATED_SHELL whose topological_link references a real OPEN_SHELL entity (#38, own PLANE/EDGE_LOOP face) that is never itself wired into a MANIFOLD_SOLID_BREP or shape representation reachable from the model; input: AP242 file where a tessellated shell declares an exact-BRep counterpart the reader transfer graph never visits, so the topological_link entity is syntactically present but never bound in the transient-process map; wired as a direct shape_representation item (own COORDINATES_LIST, no GEOMETRIC_CURVE_SET wrapper) per the M193 finding that the GEOMETRIC_SET GRI-fallback path crashes OCCT independent of link content; StepToTopoDS_TranslateShell.cxx:140-157 looks up the link via aTP->Find() (a lookup, not a recursive translate), finds no binder, and falls back to a fresh TopoDS_Shell built from the shell own tessellated items with theHasGeom cleared; covers stp-tess-dangling-brep-link (shell subvariant); mirrors Pmi164 (single shared COORDINATES_LIST across 6 faces, no topological_link at all) fixed by using one face with its own coordinate list and an actual unresolvable topological_link; synonyms: tessellated shell dangling topological_link, unresolved exact-BRep shell counterpart, fresh shell on unbound link, TESSELLATED_SHELL topological_link unbound */
3HEADER;
4FILE_DESCRIPTION(('M194'),'2;1');
5FILE_NAME('M194.stp','2026-07-12T00: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('shell_face_coords',3,((0.,0.,0.),(1.,0.,0.),(0.,1.,0.)));
11#2=CARTESIAN_POINT('',(0.,0.,5.));
12#3=DIRECTION('',(0.,0.,1.));
13#4=DIRECTION('',(1.,0.,0.));
14#5=AXIS2_PLACEMENT_3D('',#2,#3,#4);
15#6=PLANE('',#5);
16#7=CARTESIAN_POINT('',(0.,0.,5.));
17#8=CARTESIAN_POINT('',(1.,0.,5.));
18#9=CARTESIAN_POINT('',(1.,1.,5.));
19#10=CARTESIAN_POINT('',(0.,1.,5.));
20#11=VERTEX_POINT('',#7);
21#12=VERTEX_POINT('',#8);
22#13=VERTEX_POINT('',#9);
23#14=VERTEX_POINT('',#10);
24#15=DIRECTION('',(1.,0.,0.));
25#16=VECTOR('',#15,1.);
26#17=LINE('',#7,#16);
27#18=EDGE_CURVE('',#11,#12,#17,.T.);
28#19=DIRECTION('',(0.,1.,0.));
29#20=VECTOR('',#19,1.);
30#21=LINE('',#8,#20);
31#22=EDGE_CURVE('',#12,#13,#21,.T.);
32#23=DIRECTION('',(-1.,0.,0.));
33#24=VECTOR('',#23,1.);
34#25=LINE('',#9,#24);
35#26=EDGE_CURVE('',#13,#14,#25,.T.);
36#27=DIRECTION('',(0.,-1.,0.));
37#28=VECTOR('',#27,1.);
38#29=LINE('',#10,#28);
39#30=EDGE_CURVE('',#14,#11,#29,.T.);
40#31=ORIENTED_EDGE('',$,$,#18,.T.);
41#32=ORIENTED_EDGE('',$,$,#22,.T.);
42#33=ORIENTED_EDGE('',$,$,#26,.T.);
43#34=ORIENTED_EDGE('',$,$,#30,.T.);
44#35=EDGE_LOOP('',(#31,#32,#33,#34));
45#36=FACE_OUTER_BOUND('',#35,.T.);
46#37=ADVANCED_FACE('unreachable_target_face',(#36),#6,.T.);
47#38=OPEN_SHELL('unreachable_target_shell',(#37));
48#40=TRIANGULATED_FACE('shell_face',#1,3,(),$,(),((1,2,3)));
49#41=TESSELLATED_SHELL('dangling_topo_link_shell',(#40),#38);
50#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
51#9051=PRODUCT('M194','M194','',(#9050));
52#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
53#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
54#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
55#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
56#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
57#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
58#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
59#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
60#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
61#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#41),#9060);
62#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
63ENDSEC;
64END-ISO-10303-21;