gotcha

Author Topic: problem with laser engraver  (Read 1479 times)

March 29, 2018, 12:17:51 PM
Read 1479 times

elavert

  • Newbie

  • Offline
  • *

  • 1
Hi,
I try to creat a gcode for my laser engraver using inkscape.
(attached screen shot)

here is the error:

Traceback (most recent call last):
  File "laserengraver.py", line 3188, in <module>
    e.affect()                   
  File "inkex.py", line 283, in affect
    self.effect()
  File "laserengraver.py", line 3156, in effect
    self.orientation( self.layers[min(0,len(self.layers)-1)] )       
  File "laserengraver.py", line 3080, in orientation
    doc_height = inkex.unittouu(self.document.getroot().get('height'))
AttributeError: 'module' object has no attribute 'unittouu'

did anyone ever saw this?
thanks,
Etay,
  • 0.92
  • windows 10

March 30, 2018, 06:36:39 AM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Seems the extension and the Inkscape version you're using are not compatible.

Try if replacing 'inkex.unittouu' in the extension file laserengraver.py by 'self.unittouu' helps.

If it doesn't, either ask the extension author to update the extension, or have a go at it yourself.

March 31, 2018, 01:03:16 PM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

Which extension is that?  Is it Extensions menu > Gcodetools > Engraving.... ?

If that's the one you're using, I don't seem to be having any problems with it (Inkscape 0.92.2).  I'm not terribly knowledgeable about it - I don't even have any kind of cutter.  But I've learned a lot of the basics, just by trying to help other users.

Anyway, that makes me wonder if it might be some particular combination of options which you've chosen.  They aren't very easy to understand, and documentation seems to be quite lacking.

Well, if that's the extension you're using, and Moini's suggestion doesn't help, we might try looking at how you're setting it up.  But definitely try Moini's suggestion first.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

March 31, 2018, 07:17:45 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
It's a different one. There's no laserengraver.py included with Inkscape: https://gitlab.com/inkscape/inkscape/tree/0.92.x/share/extensions