engine: a shell that opens no face makes a closed hollow body

solid.shell refused an empty face list ("select 1…1000 faces"), and the
shell feature found its body from the first face picked. SMLib shells with no
face opened (the void sealed inside, its own shell): the command now takes
`faces: []`, the feature shells the one body there is or the one named
(`body`), and an outside or both-ways shell pushes no open face out of the
cavity. Rig shell/4009 declares the void's shell (`shells: 2`), as its method
says.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jyvikoandClaude Opus 5.5 committed 2026-10-27 02:28:52 -04:00
1 parent 48abbbcc15
commit 1df330c79b
4 files changed
+35 -4

No files matched your search

@@ -6,6 +6,7 @@
"source": "analytic",
"method": "outer box 40x30x12.5, void = inward offset box 35x25x7.5 (2.5 wall every side). V=15000-6562.5=8437.5; area=outer 2(1200+500+375)=4150 + void 2(875+187.5+262.5)... computed in python; faces 6+6=12; one body with an outer and an inner shell; centroid (20,15,6.25) by symmetry",
"body_count": 1,
"shells": 2,
"volume_mm3": 8437.5,
"area_mm2": 6800.0,
"faces": 12,