2017-05-16 74 views

答えて

1

はポリラインエンティティを使用します。

http://pythonhosted.org/dxfwrite/entities/polyline.html

from dxfwrite import DXFEngine as dxf 

dwg = dxf.drawing('polyline.dxf') 

points = [(0, 3), (2, 0), (5, 0), (7, 3), (5, 6), (2, 6)] 
polyline = dxf.polyline(points) 
polyline.close() 
dwg.add(polyline) 

dwg.save() 
+0

は、それが正常に動作しますありがとう – kemz

関連する問題