M052 — Open shell where closed solid expected (sheet-vs-solid demotion)

§12.8 (sub-class: mesh-as-brep / shell-vs-solid)

round-trip

Sources

Description

A topologically closed solid is emitted as `OPEN_SHELL` inside `SHELL_BASED_SURFACE_MODEL` instead of `MANIFOLD_SOLID_BREP`. Round-trip through OCCT writer can demote `closed_shell` to `open_shell`/`OpenPolysurface`; FEA/CFD pipelines reject the body for meshing. Bundled vendor 3D models (KiCad's `kicad-packages3D`) are technically `SHELL_BASED_SURFACE_MODEL` rather than closed.

Reproducer recipe

A topologically closed shell whose root entity in `ADVANCED_BREP_SHAPE_REPRESENTATION` is `SHELL_BASED_SURFACE_MODEL → OPEN_SHELL` instead of `MANIFOLD_SOLID_BREP → CLOSED_SHELL`.

Expected kernel behavior

heal; promote to closed shell when topology proves closure; sew within scaled tolerance and try `MakeSolid`; do not rely solely on entity type.

Notes

Synonyms: "closed solid emitted as OPEN_SHELL", "solid demoted to sheet body", "manifold solid as shell-based-surface-model", "solid expected but open shell found". **See also**: P015.

Expected validation

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

Closure intent

solid (defect kind: unstitched_seam) — authored as a closed solid; openness is the defect — heal it shut.

Tier-3 assertions

Cross-references

P015

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* M052: Open shell where closed solid expected (sheet-vs-solid demotion); input: AP214 STEP file (SpaceClaim / HOOPS Exchange regression pattern) with a topologically closed cube emitted as OPEN_SHELL inside SHELL_BASED_SURFACE_MODEL instead of MANIFOLD_SOLID_BREP → CLOSED_SHELL; round-trip through OCCT writer demotes closed_shell to open_shell / OpenPolysurface; FEA/CFD pipelines reject the body for meshing; KiCad kicad-packages3D bundles use SHELL_BASED_SURFACE_MODEL rather than closed MANIFOLD_SOLID_BREP; kernel must heal: promote to closed shell when topology proves closure; sew within scaled tolerance and try MakeSolid; do not rely solely on entity type; synonyms: closed solid emitted as OPEN_SHELL, solid demoted to sheet body, manifold solid as shell-based-surface-model, solid expected but open shell found */
3HEADER;
4FILE_DESCRIPTION(('M052'),'2;1');
5FILE_NAME('M052.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=CARTESIAN_POINT('',(1.0,0.0,0.0));
12#3=CARTESIAN_POINT('',(0.0,1.0,0.0));
13#4=VERTEX_POINT('',#1);
14#5=VERTEX_POINT('',#2);
15#6=VERTEX_POINT('',#3);
16#7=DIRECTION('',(1.0,0.0,0.0));
17#8=DIRECTION('',(0.0,1.0,0.0));
18#9=DIRECTION('',(0.0,0.0,1.0));
19#10=DIRECTION('',(-0.707106781187,0.707106781187,0.0));
20#11=VECTOR('',#7,1.0);
21#12=VECTOR('',#8,1.0);
22#13=VECTOR('',#10,1.41421356237);
23#14=LINE('',#1,#11);
24#15=LINE('',#2,#13);
25#16=LINE('',#1,#12);
26#17=EDGE_CURVE('',#4,#5,#14,.T.);
27#18=EDGE_CURVE('',#5,#6,#15,.T.);
28#19=EDGE_CURVE('',#4,#6,#16,.T.);
29#20=ORIENTED_EDGE('',$,$,#17,.T.);
30#21=ORIENTED_EDGE('',$,$,#18,.T.);
31#22=ORIENTED_EDGE('',$,$,#19,.F.);
32#23=EDGE_LOOP('',(#20,#21,#22));
33#24=AXIS2_PLACEMENT_3D('',#1,#9,#7);
34#25=PLANE('',#24);
35#26=FACE_OUTER_BOUND('',#23,.T.);
36#27=ADVANCED_FACE('placeholder',(#26),#25,.T.);
37#28=OPEN_SHELL('topologically_closed_but_open',(#27));
38#29=SHELL_BASED_SURFACE_MODEL('demoted_cube',(#28));
39#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
40#9051=PRODUCT('M052','M052','',(#9050));
41#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
42#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
43#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
44#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
45#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
46#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
47#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
48#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
49#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
50#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#29),#9060);
51#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
52ENDSEC;
53END-ISO-10303-21;