summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/dxf_export/effect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/dxf_export/effect.py b/support/dxf_export/effect.py
index 206ce9d..52915cc 100644
--- a/support/dxf_export/effect.py
+++ b/support/dxf_export/effect.py
@@ -2,7 +2,7 @@
Based on code from Aaron Spike. See http://www.bobcookdev.com/inkscape/inkscape-dxf.html
"""
-import pkgutil, re
+import pkgutil, os, re
from . import inkex, simpletransform, cubicsuperpath, cspsubdiv
@@ -32,7 +32,7 @@ class DXFExportEffect(inkex.Effect):
self._dxf_instructions = []
self._handle = 255
- self._flatness = 0.1
+ self._flatness = float(os.environ['DXF_FLATNESS'])
def _get_user_unit(self):
"""