create_hatch
Fill an enclosed outline with parallel or cross-hatch lines at a set angle and spacing, with optional holes and automatic avoidance of doors and windows.
Instructions
Hatch an area with parallel lines, as one block "Hachure" on layer 'hachures' (mm). points: the outline [[x, y], ...]. holes: outlines to leave empty, e.g. for a wall ring give the OUTER outline as points and the INNER outline as holes (both from create_wall_loop). pattern: "lines" or "cross" (second set at +90 degrees). angle in degrees (default 45). spacing: mm between lines; default 3 mm on paper = 3 x scale (scale = print denominator). Lines align on the world origin, so neighbouring hatches of the same angle/spacing match. avoid_openings (default true): no hatch inside the doors and windows already drawn. Hatch AFTER placing them; a door added or moved later does not clear the existing hatch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | ||
| holes | No | ||
| scale | No | ||
| points | Yes | ||
| pattern | No | lines | |
| spacing | No | ||
| avoid_openings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||