add_sketch_geometry
Append geometric primitives like lines, circles, arcs, or points to a sketch, returning indices for constraints.
Instructions
Append geometric primitives to a sketch.
items is a list of dicts:
{type: 'line', start: [x,y], end: [x,y], construction?: bool}
{type: 'circle', center: [x,y], radius: float}
{type: 'arc', center: [x,y], radius, start_angle, end_angle} (radians)
{type: 'point', pos: [x,y]} Returns {indices: [...]} — Sketcher-assigned indices for use in constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| sketch | Yes |