Add Hatch Boundary
hatch_add_boundaryAdds a boundary path to an existing hatch using typed edges (lines, arcs, ellipses) that preserve curves. Validates every edge before writing to avoid malformed or incomplete paths.
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 | |||