cnc-club / gcodetools

CAM extension for Inkscape to export paths to Gcode
258 stars 98 forks source link

gcodetools.py ,line 5864 #4

Closed panepist closed 7 years ago

panepist commented 7 years ago

file:gcodetools/stable/gcodetools.py

The line 5864 doc_height = inkex.unittouu(self.document.getroot().get('height')) give me error "AttributeError: 'module' object has no attribute 'unittouu'"

change with code doc_height = self.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0])

http://www.tylerforsythe.com/2015/02/inkscape-laser-engraver-bug/