Code

fix svg to dxf scaling factor
authoracspike <acspike@users.sourceforge.net>
Wed, 15 Feb 2006 00:21:25 +0000 (00:21 +0000)
committeracspike <acspike@users.sourceforge.net>
Wed, 15 Feb 2006 00:21:25 +0000 (00:21 +0000)
share/extensions/dxf_outlines.py

index cb68ef4d6c9eed9c6e99c81d323e6f49becceaee..01e7b0633e4fce7b3a524471c6c82a801cebd442 100755 (executable)
@@ -62,7 +62,7 @@ class MyEffect(inkex.Effect):
         #              NURB Curves: A Guide for the Uninitiated By Philip J. Schneider
         self.dxf_add("999\nDXF created by Inkscape\n0\nSECTION\n2\nENTITIES")\r
         \r
-        scale = 5.0/18.0
+        scale = 25.4/90.0
         h = unittouu(inkex.xml.xpath.Evaluate('/svg/@height',self.document)[0].value)\r
 
         path = '//path'