Lasercut Jigsaw Extension

Post questions on how to use or achieve an effect in Inkscape.
v2x
Posts: 4
Joined: Sun Mar 29, 2015 5:44 am
Location: Granada, Spain

Lasercut Jigsaw Extension

Postby v2x » Sun Mar 29, 2015 6:38 am

Hi friends :) this is my first post.. just starting with Inkscape 0.91 (beginner level yet).

I'm trying to install Lasercut Jigsaw extension by Neon22, to try to do this tutorial by Olga Bikmullina.

I put Lasercut-jigsaw.inx and Lasercut-jigsaw.py in the correct folder for Ubuntu (14.4 64bits) /usr/share/inkscape/extensions

The addon must showed in Extension > Render > Lasercut Jigsaw but is not here :roll:

Lasercut Jigsaw Extension has an other dependency, I readt in Lasercut-jigsaw.inx is inkex.py and is not in /usr/share/inkscape/extensions
so I think maybe this is the problem.

Is inkex.py part from the old version 0.48? and for this reason can't run 0.91?

Hope someone can help me, I'm very interested in this extension to do a project, thanks and cheers!

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Lasercut Jigsaw Extension

Postby hulf2012 » Sun Mar 29, 2015 10:09 am

Hello

v2x wrote:I put Lasercut-jigsaw.inx and Lasercut-jigsaw.py in the correct folder for Ubuntu (14.4 64bits) /usr/share/inkscape/extensions
The addon must showed in Extension > Render > Lasercut Jigsaw but is not here :roll:


mmm... wait, you are wrong, in 32bits Ubuntu, I put the extensions in a different path. Something like

Code: Select all

home/.config/inkscape/extensions/

Please, be aware that /.config is a hidden directory

Even more: in the home/.config/inkscape/ there is a file called extension-errors.log

There it says what problems were found.

Give it a try
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

v2x
Posts: 4
Joined: Sun Mar 29, 2015 5:44 am
Location: Granada, Spain

Re: Lasercut Jigsaw Extension

Postby v2x » Sun Mar 29, 2015 9:10 pm

Hello hulf2012, thanks for the reply

nice to know about the path home/.config/inkscape/extensions/ and extension-errors.log file.

I tryed to put in this path the extension and now it's running, yeah ;)

cheers

v2x
Posts: 4
Joined: Sun Mar 29, 2015 5:44 am
Location: Granada, Spain

Re: Lasercut Jigsaw Extension

Postby v2x » Sun Mar 29, 2015 9:26 pm

oops finally isn't work :cry:

Inkscape show me this notice

Code: Select all

Traceback (most recent call last):
  File "Lasercut-jigsaw.py", line 879, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 268, in affect
    self.effect()
  File "Lasercut-jigsaw.py", line 798, in effect
    docW = inkex.unittouu(self.document.getroot().get('width'))
AttributeError: 'module' object has no attribute 'unittouu'


I sent a message by disqus to the developer hope he will can fix it :P

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Lasercut Jigsaw Extension

Postby ragstian » Sun Mar 29, 2015 9:33 pm

Hi.

Edit the extension python file and change the inkex.unittouu to self.unittouu

There are a few other posts on this forum on the subject , do a forum search for unittouu to find the posts.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

v2x
Posts: 4
Joined: Sun Mar 29, 2015 5:44 am
Location: Granada, Spain

Re: Lasercut Jigsaw Extension

Postby v2x » Mon Mar 30, 2015 12:18 am

Thanks you ragstian

The developer has update python file already but he did this fix inkex.unittouu to inkex.Effect.unittouu

Your change in .py is ok, now is working ;) I'll send a new message to the developer with your instructions.

Cheers!


Return to “Help with using Inkscape”