cnc-club / gcodetools

CAM extension for Inkscape to export paths to Gcode
262 stars 99 forks source link

gcodetools.py ,line 5864 #4

Closed panepist closed 8 years ago

panepist commented 8 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/