Files
solvecraft/tests/kernel-cases/shell/4009-closed-shell-internal-void/expected.json
T
jyviko 1df330c79b 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>
2026-10-27 02:28:52 -04:00

18 lines
589 B
JSON

{
"sources": [
"tangency-labs/solidcraft#4009"
],
"what": "shell with no face removed: a closed hollow body with a sealed internal void",
"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,
"center_of_mass": [
20,
15,
6.25
]
}