Code

add group code 70 to LWPOLYLINE
authoralvinpenner <alvinpenner@users.sourceforge.net>
Sun, 1 Feb 2009 00:04:19 +0000 (00:04 +0000)
committeralvinpenner <alvinpenner@users.sourceforge.net>
Sun, 1 Feb 2009 00:04:19 +0000 (00:04 +0000)
share/extensions/dxf_outlines.py

index 2e619bdc9d3d0af171d09d1599f5b802186c6ff4..ad2ef49e2b21ea6cd6713d738ed22040c8b4ad8c 100755 (executable)
@@ -72,7 +72,7 @@ class MyEffect(inkex.Effect):
         if len(self.poly) == 1:
             return
         self.handle += 1
-        self.dxf_add("  0\nLWPOLYLINE\n  5\n%x\n100\nAcDbEntity\n  8\n0\n100\nAcDbPolyline\n 90\n%d\n" % (self.handle, len(self.poly)))
+        self.dxf_add("  0\nLWPOLYLINE\n  5\n%x\n100\nAcDbEntity\n  8\n0\n100\nAcDbPolyline\n 90\n%d\n 70\n0\n" % (self.handle, len(self.poly)))
         for i in range(len(self.poly)):
             self.dxf_add(" 10\n%f\n 20\n%f\n 30\n0.0\n" % (self.poly[i][0],self.poly[i][1]))
     def dxf_spline(self,csp):