Fillet edges
onshape_filletRounds selected edges in an Onshape Part Studio by edge IDs, FeatureScript query, feature, all edges, or circular edges, with configurable radius and validation.
Instructions
Round the selected edges. Name the edges with one of: edges (ids), query (FeatureScript), feature (every edge that feature made), all, or circular.
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 "Fillet"). | |
| type | No | Fillet type (default EDGE). | |
| edges | No | Explicit deterministic edge ids, from onshape_get_edges. | |
| query | No | FeatureScript query, e.g. query = qCreatedBy(makeId("FID"), EntityType.EDGE); | |
| radius | No | Fillet radius 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). | |
| radius_variable | No | Use a Part Studio variable for the radius. |