dxf_hatch
Append hatch fills to DXF drawings using polygon boundaries. Select solid or patterns like ANSI31, set scale and angle, and auto-create the file if missing.
Instructions
向 DXF 图纸追加填充(HATCH);文件不存在时自动创建。
每个填充是一个 dict: points (必填) 闭合多边形边界顶点 [[x,y],...](按序首尾自动闭合) pattern "solid"(实底,默认)或标准图案名,如 "ANSI31"(斜线)、 "ANSI32"、"CROSS"(网格)、"DOTT"/"DOTS"、"NET"、"GRAVEL"、 "BRICK"、"AR-CONC"(混凝土)、"TRUSS"(桁架)、"WAVES" 等 scale 图案缩放(默认 1.0,越大线越疏) angle 图案旋转角度(默认 0) layer / color 公共可选字段
注意:圆形/弧线边界暂不支持(仅多边形边界);复杂边界建议拆成多个填充。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| hatches | Yes | ||
| dxfversion | No | R2010 |