create_circle
Draw a circle on the active sketch by specifying center coordinates and radius. Use for bolt holes, bearing bores, and fillet circles before extrusion or cutting.
Instructions
Draw a circle on the active sketch.
Args:
cx_mm, cy_mm: Center point in mm (sketch-local frame). Long-form
aliases center_x_mm / center_y_mm accepted (kwarg-only) for
parity with the composite tools (add_bolt_circle,
build_rectangular_pocket, etc.). Pass one name per axis, not
both.
radius_mm: Circle radius in mm. Must be positive.
Returns the circle's center and radius/diameter. Common autoparts use: bolt holes, bearing bores, fillet circles before extruding/cutting.
Example — 8.5 mm clearance hole at origin (M8 medium per ISO 273): create_circle(0, 0, 4.25) # or equivalently: create_circle(center_x_mm=0, center_y_mm=0, radius_mm=4.25)
Caveat: requires an active sketch.
Caveat (paramétrico): el croquis NO es paramétrico. modify_dimension NO puede redimensionar el diámetro ni mover el centro post-hoc — solo la profundidad de extrusión es paramétrica. Si el usuario pide "hazlo más grande" o "cámbialo a Ø10", reconstruye desde una pieza nueva. [en: Sketch geometry has NO driving dimension — modify_dimension cannot resize the OD or move the center post-hoc; only extrude depth is parametric. To resize ("make it bigger"), rebuild from a fresh part.]
Related: add_bolt_circle (one call for N holes on a bolt circle — use instead of N create_circle + extrude_cut sequences for typical flange / bracket bolt patterns).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx_mm | No | ||
| cy_mm | No | ||
| radius_mm | No | ||
| center_x_mm | No | ||
| center_y_mm | No |