Add Hatch Boundary
hatch_add_boundaryAdd a boundary path to a hatch from typed line, arc, or ellipse edges. Validates every edge before writing, preserving curves and preventing malformed paths from leaving a partially built boundary.
Instructions
Add one boundary path built from typed edges.
Typed edges exist because a boundary that only accepts vertex lists silently straightens every curve it is given. Every edge is validated before any is written, so a malformed list refuses instead of leaving a half-built path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Typed edges: {'type':'line','start':[x,y],'end':[x,y]} | {'type':'arc','center':[x,y],'radius':r,'start_angle':a,'end_angle':b,'ccw':true} | {'type':'ellipse','center':[x,y],'major_axis':[x,y],'ratio':r} | |
| handle | Yes | Handle of an existing HATCH. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||