Shell a body
onshape_shellHollow a solid body to a specified wall thickness and remove selected faces to open it, creating shelled CAD geometry in Onshape.
Instructions
Hollow the body out to a wall thickness, removing the selected faces to open it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc": "<doc>",
"ws": "<ws>",
"elem": "<elem>"
},
"name": "onshape_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| name | No | Feature name shown in the tree (default "Shell"). | |
| faces | No | Deterministic ids of faces to remove. | |
| query | No | FeatureScript query selecting the faces to remove. | |
| outward | No | Thicken outward instead of inward. | |
| validate | No | Re-read the feature list afterwards and fail if the feature regenerated with an error (default true). | |
| thickness | No | Wall thickness in inches (default 0.125). | |
| thickness_variable | No | Use a Part Studio variable for the thickness. |