mbastl / bastl-laser-tool

Inkscape extension to generate gcode laser cutter comptible with 3D printer firmwares
GNU General Public License v3.0
13 stars 6 forks source link

Error while creating gcode #3

Open kampfhase7 opened 3 years ago

kampfhase7 commented 3 years ago

File "bastl_laser.py", line 52 def bezierslopeatt(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),t): ^ SyntaxError: invalid syntax

whats the issue?

Aypac commented 3 years ago

What version of Inkscape are you using?

mochmaster commented 3 years ago

I also have this problem, I'm on inkscape 1.0.1

Aypac commented 3 years ago

So it seems like there have been changes in how extension work in Inkscape >v1.0. It could also have something to do with the "Python 3 / Python 2 compatibility". Which python version do you guys have installed?

In either case, from what I can tell, the developer of this tool does not seem to be working actively on it anymore (last commit 3 years ago and no reaction on issues). So either one of you has to pick this up (or hope for someone else to pick it up) or you could try to use inkscape v0.92 or older.

popeye70 commented 3 years ago

Hi all, can this tool generate GCODE from grayscale GIF image, or maybe only from bitmap traces? I'm trying it on Inkscape 0,92: no error emessages, but it only save header and footer G commands.

Aypac commented 3 years ago

Ok, so that fixes it :). I'll open a new issue for your new issue :P

Aypac commented 3 years ago

Please close this issue.