error message when using lasercutter extentione and 305 engineering extension

Post about using Inkscape with cutters or plotters.
tompie150
Posts: 4
Joined: Wed Jan 27, 2016 4:22 am

error message when using lasercutter extentione and 305 engineering extension

Postby tompie150 » Wed Jan 27, 2016 4:40 am

Hi guys,

I'm trying to make my self a lasercutter from scratch.
The design is made, and as a first step in making the dream come true :) , I'm trying to get the software up and running.

I had found a very useful instructable in which software was recommended:
inkscape in combination with the lasercutter extention or the 305 engineering extention.
Installed all as to the description in the instructable, but am running into issues. On both extentions I get this error when generation G-code:
(see picture attached)
I have tried finding sollutions on line, but none have helped...

anybody have an idea what I can do?

Thx a bunch

Tom
inkscape.jpg.png
this is the error I get
inkscape.jpg.png (31.27 KiB) Viewed 3479 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby Lazur » Wed Jan 27, 2016 5:03 am

Hi.

I suppose you are looking for this.

Edit: Check next post for answer.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby Moini » Wed Jan 27, 2016 7:34 am

No, this is a different issue :/

You need to activate translations. Add this line at the start of the *.py file:

Code: Select all

inkex.localize()



Or you can remove the underscore and the parentheses around "Unable to..." in line 178 (and whereever else they occur).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tompie150
Posts: 4
Joined: Wed Jan 27, 2016 4:22 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby tompie150 » Sat Feb 13, 2016 5:25 pm

Please understand I am a complete newby in python
I've tried adding that line in the py file
it only generatas an error that it doesn't recognise the line...

tried removing the underscore and brackets. then he does not recognise the command that was in the removed brackets...

the inkex.localize() doe snot become green either, so I'm thinking it does not recognise..??
Hope you guys can help me solve this one...
laser rig is ready...
the j tech photoponics laser tool does work, but can 't find out how to raster an image to engrave...

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby Moini » Sun Feb 14, 2016 12:35 am

Can you link to the extension? We'd need access to the code for further suggestions.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tompie150
Posts: 4
Joined: Wed Jan 27, 2016 4:22 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby tompie150 » Mon Feb 15, 2016 5:26 am

how do I go about that?
copy and paste the entire code for the extension into a reply?
You can see I'm pretty new at this... :)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby Moini » Mon Feb 15, 2016 9:35 am

Copy and paste the link of the website where you downloaded the extension into a comment in this forum, so we can use our web browser to access the code (I think it's on github).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tompie150
Posts: 4
Joined: Wed Jan 27, 2016 4:22 am

Re: error message when using lasercutter extentione and 305 engineering extension

Postby tompie150 » Mon Feb 15, 2016 4:07 pm

well, I feel stupid now...
as I'm creating drawings and testing on my laptop, but the laser engraver is hooked up to my gaming pc, I had used a location on my server to save the gcode files...
I changed it to a local folder, and now it works...
thanks for the help guys


Return to “Inkscape & Cutters/Plotters”