Draft faces
onshape_draftAdd draft angles to selected faces around a neutral plane, preparing molded or cast parts for ejection from the tool.
Instructions
Taper faces away from a neutral plane — the usual requirement for moulded or cast parts.
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 "Draft"). | |
| angle | No | Draft angle in degrees (default 3). | |
| faces | Yes | FeatureScript query selecting the faces to draft. | |
| neutral | Yes | FeatureScript query selecting the neutral plane or face. | |
| validate | No | Re-read the feature list afterwards and fail if the feature regenerated with an error (default true). |