2017-03-16 94 views

回答

1

我是個白癡。只需使用樣條函數..!

from dxfwrite import DXFEngine as dxf 
name = "spline.dxf" 
drawing = dxf.drawing(name) 

points = [(0,0), (1,1), (0,2), (1,3)] 
spline = dxf.spline(points) 

drawing.add(spline) 

drawing.save() 

希望這可以幫助其他人不知道如何rtfm。