create_sketch
Create an empty sketch on a PartDesign Body's XY, XZ, or YZ plane to hold constrained 2D geometry for later padding or pocketing.
Instructions
Create an empty sketch attached to one of a PartDesign Body's base planes.
plane is one of "XY", "XZ", "YZ". Populate it with add_rectangle/
add_circle/add_polygon (each one locks its own geometry so the sketch
stays fully constrained), then pad or pocket it.
Args:
doc_name: The name of the document.
body_name: The name of the existing PartDesign::Body to sketch in.
name: The name to give the new sketch.
plane: Which base plane to attach to: "XY", "XZ", or "YZ".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| plane | No | XY | |
| doc_name | Yes | ||
| body_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |