draw_rectangle_in_sketch
Draw a rectangle in a FreeCAD sketch by specifying two corner coordinates. Define the rectangle's position and size with x1, y1, x2, y2.
Instructions
FreeCAD tool: draw_rectangle_in_sketch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch_name | No | Body name | |
| x1 | No | Corner X1 | |
| y1 | No | Corner Y1 | |
| x2 | No | Corner X2 | |
| y2 | No | Corner Y2 |