test.py 185 B

12345678910
  1. import time
  2. import ezdxf
  3. doc = ezdxf.new("R2000")
  4. msp = doc.modelspace()
  5. msp.add_lwpolyline([(10, 10, 1), (0, 0, 0)], format="xyb")
  6. doc.saveas(f"lwpolyline2{str(time.time())}.dxf")