shell_solid
Hollow a solid into a thin-walled shell by removing specified faces and setting a wall thickness that grows inward, preserving the part's outer dimensions.
Instructions
Hollow a raw Part solid into a thin-walled shell (the direct-shape
counterpart to thickness, which only works on PartDesign bodies).
handle: handle of the solid to hollow (e.g. a box/cylinder from add_primitive, or any shaped Part::Feature). faces: NON-EMPTY list of the faces to REMOVE — these become the shell's openings. Each entry is a face tag (f_..., from list_faces/query_faces, preferred and edit-stable), a 'FaceN' string, or a 1-based integer index. thickness: wall thickness in mm, must be > 0. The wall is grown INWARD, so the part's outer dimensions are preserved.
The consumed input solid is hidden (its geometry now lives in the shell). Returns {handle (starts 'shell_'), name, volume (mm^3 of the resulting walls), wall_thickness (mm), removed_faces (list of 1-based face indices that were opened)}. Raises if faces is empty, thickness <= 0, an index is out of range, or the offset is too large to produce a valid shell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Shell | |
| faces | Yes | ||
| handle | Yes | ||
| thickness | Yes |