|
Hi,
I am trying to display a spline done with the python ezdxf package and impossible to do it.
Can please someone help me ?
Thanks, best regards :)
my very simple python script
---------------------------------------------------
#!/usr/bin/python
import ezdxf
dwg = ezdxf.new('AC1015') # splines requires the DXF R2000 format or later
fit_points = [(0, 0, 0), (750, 500, 0), (1750, 500, 0), (2250, 1250, 0)]
msp = dwg.modelspace()
msp.add_spline(fit_points)
dwg.saveas("simple_spline.dxf")
|