create_line
Draw a line on the active sketch between two points, returning geometry for building non-rectangular profiles prior to extrusion.
Instructions
Draw a line on the active sketch.
Args: x1_mm, y1_mm: Start point in mm (sketch-local frame). x2_mm, y2_mm: End point.
Returns the line's geometry (endpoints + length). Used as a building block for non-rectangular profiles before extrusion.
Caveat: requires an active sketch (call create_sketch first).
Caveat (paramétrico): el croquis NO es paramétrico. modify_dimension NO puede mover los endpoints ni cambiar la longitud post-hoc — solo la profundidad de extrusión es paramétrica. Para cambiar la línea, reconstruye desde una pieza nueva. [en: Sketch geometry has NO driving dimension — modify_dimension cannot move endpoints or resize length post-hoc; only extrude depth is parametric. To resize, rebuild from a fresh part.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1_mm | Yes | ||
| x2_mm | Yes | ||
| y1_mm | Yes | ||
| y2_mm | Yes |