Chamfer edges
onshape_chamferBevel selected edges in an Onshape Part Studio by specifying chamfer width, type, and edge selection to create angled cuts.
Instructions
Bevel the selected edges. Selection works exactly as for onshape_fillet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| all | No | Select all edges of all solid bodies. | |
| 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 "Chamfer"). | |
| type | No | Chamfer type (default EQUAL_OFFSETS). | |
| angle | No | Angle in degrees, for type=OFFSET_ANGLE. | |
| edges | No | Explicit deterministic edge ids, from onshape_get_edges. | |
| query | No | FeatureScript query, e.g. query = qCreatedBy(makeId("FID"), EntityType.EDGE); | |
| width | No | Chamfer width in inches (default 0.1). | |
| feature | No | Select every edge created by this feature id. | |
| circular | No | Select only circular edges. | |
| validate | No | Re-read the feature list afterwards and fail if the feature regenerated with an error (default true). | |
| width_variable | No | Use a Part Studio variable for the width. |