create_wall_loop
Draw a closed wall loop with mitered corners using polygon vertices and alignment. Returns the wall center line for doors/windows plus interior area.
Instructions
Draw a closed run of walls (e.g. a house perimeter) with clean mitered corners. thickness defaults to 200 mm.
points: polygon vertices [[x, y], ...] in mm, in order. alignment says where the points lie: "outer" (outside face - use this for "house 12 x 8 m"), "center" (wall axis) or "inner" (inside face). Draws the outer and inner outlines on layer 'murs' and returns axis_points (wall centre line: place doors/windows on it), plus the interior bounds and area (mm2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| fit_view | No | ||
| alignment | No | outer | |
| thickness | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||