Sketch a circle with a revolve axis
onshape_sketch_circle_axisCreate a sketch with a circle and a construction axis line, enabling a revolve feature to form a torus or ring shape.
Instructions
Add a sketch with a circle profile and a construction line. onshape_revolve spins the profile around that construction line, which is how you get a torus or a ring.
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 "Sketch circle and axis"). | |
| plane | No | Default plane to sketch on (default Front). | |
| center | Yes | Circle centre. As [x, y] inches or "x,y". | |
| radius | Yes | Radius in inches. | |
| axis_end | Yes | Axis end. As [x, y] inches or "x,y". | |
| validate | No | Re-read the feature list afterwards and fail if the feature regenerated with an error (default true). | |
| axis_start | Yes | Axis start. As [x, y] inches or "x,y". |