dxf_splines
Append splines to DXF drawings by defining fit points, degree, layer, and color; automatically creates the file when missing.
Instructions
向 DXF 图纸追加样条线(SPLINE);文件不存在时自动创建。
每个样条是一个 dict: points (必填) 拟合点 [[x,y],...](≥3 个,样条穿过这些点) degree 样条阶数,2 或 3(默认 3) layer / color 公共可选字段
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| splines | Yes | ||
| dxfversion | No | R2010 |