M195 — Tessellated solid's declared exact-geometry link points at a real but never-built solid, reader substitutes a fresh shell-plus-solid

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

P1 — silent data loss

crash

Sources

Description

A tessellated solid declares a link to its exact-geometry counterpart, but that counterpart, though a real and well-formed solid 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 fabricates a brand-new shell-and-solid pair from the tessellated solid's own mesh items instead of substituting the intended precise geometry.

Reproducer recipe

`TESSELLATED_SOLID` whose `geometric_link` attribute is populated with a reference to a syntactically valid `MANIFOLD_SOLID_BREP` entity, fully defined in the file (own `CLOSED_SHELL`/`ADVANCED_FACE`), that is never referenced by any shape representation reachable from the model; the tessellated solid'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 solid whose declared exact-geometry link cannot be resolved, or heal by substituting a diagnosed placeholder solid; never silently fabricate an unrelated fresh solid from mesh data alone without flagging that the intended precise geometry was never actually used.

Notes

**See also**: M194. Synonyms: "tessellated solid dangling geometric link", "unresolved exact-geometry counterpart falls back to fresh shell and solid", "solid rebuilt from mesh items when geometric link is unbound", "surfaceless solid from unbound tessellation link". Live-verified: loads cleanly as a fresh solid wrapping a 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/M194's face- and shell-level mechanisms, same code family one further level up the topology tree). Mirrors Tsh065, whose tessellated-shell construct is a dead scaffold never reached from that file's actual precise-geometry shape representation, by making the tessellated construct itself the live model and giving it a genuinely unresolvable link. See also: M193, M194.- **Byte assertion**: contains(b'TESSELLATED_SOLID')

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

M194, M193, Tsh065

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M195: TESSELLATED_SOLID whose geometric_link references a real MANIFOLD_SOLID_BREP entity (#39, own CLOSED_SHELL/ADVANCED_FACE geometry) that is never itself wired into a shape representation reachable from the model; input: AP242 file where a tessellated solid declares an exact-BRep counterpart the reader transfer graph never visits, so the geometric_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_TranslateSolid.cxx:67-82 checks theTSo->HasGeometricLink() && theTP->IsBound(theTSo->GeometricLink()) before looking up the binder, finds the link unbound, and falls back to a fresh TopoDS_Shell + TopoDS_Solid built from the solid own tessellated items with theHasGeom cleared; covers stp-tess-dangling-brep-link (solid subvariant); mirrors Tsh065 (whose TESSELLATED_SHELL_REPRESENTATION is a dead scaffold never reached from the file's actual SHELL_BASED_SURFACE_MODEL shape representation) fixed by making the tessellated construct itself the live, reachable shape and giving it a genuinely unresolvable geometric_link; synonyms: tessellated solid dangling geometric_link, unresolved exact-BRep solid counterpart, fresh shell plus solid on unbound link, TESSELLATED_SOLID geometric_link unbound */
3HEADER;
4FILE_DESCRIPTION(('M195'),'2;1');
5FILE_NAME('M195.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('solid_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=CLOSED_SHELL('unreachable_target_shell',(#37));
48#39=MANIFOLD_SOLID_BREP('unreachable_target_solid',#38);
49#40=TRIANGULATED_FACE('solid_face',#1,3,(),$,(),((1,2,3)));
50#41=TESSELLATED_SOLID('dangling_geo_link_solid',(#40),#39);
51#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
52#9051=PRODUCT('M195','M195','',(#9050));
53#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
54#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
55#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
56#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
57#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
58#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
59#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
60#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
61#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
62#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#41),#9060);
63#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
64ENDSEC;
65END-ISO-10303-21;