autocad_create_hatch
Draw a closed polyline boundary and fill it with a specified hatch pattern, scale, and layer to add material or section fills in AutoCAD drawings.
Instructions
Draw a closed boundary polyline and fill it with a hatch pattern.
Args: params (CreateHatchInput): - boundary (list[Point]): 3-1000 vertices (implicitly closed). - pattern (str): e.g. 'SOLID', 'ANSI31' (default 'SOLID'). - scale (float): pattern scale, ignored for SOLID (default 1.0). - layer (str): layer for both the boundary and the hatch (default 'HATCH').
Returns: str: JSON {"status": "created", "type": "HATCH", "boundary", "hatch", "layer"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |