I use the gcodetools extension included with inkscape to turn SVGs to gcode with the intention to plot (GRBL running on an arduino and a cnc shield on top), so the error plaguing me is the one bellow, it outputs a .ngc file with a size of 0 bytes.
So the steps I would take to get to that error would be, open Inkscape, throw in my SVG, select it, Path > Object to Path, Extensions > Gcodetools > Orientation Points, Extensions > Gcodetools > Tools Library > default tool (also tried cylinder), Extensions > Gcodetools > Path to Gcode and then it throws me this error, iv been using Inkscape 0.92 and I also tried with the latest version available for windows 10 (also latest windows version), but the gcodetools extension has been unchanged for many years now, I doupt it matters.
I went my self in the files that the error shows us, like gcodetools.py, but I cant seem to make out why it would throw an error there.
I will now upload one succesful svg (Poster_Floral), and one unssucesful (anime1_Converted) that makes the error show up, I hope a more trained eye can spot something I dont.
Please do give me alternative ways to generate gcode off SVGs if you have any, i ask for ANY kind of sollution, not just resolving our pretty little error. I tried Unicorn Master extension but its no longer supported by the creator.
Thank you all again!
Traceback (most recent call last): File "gcodetools.py", line 5921, in <module> Gcodetools().run() File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 140, in run self.save_raw(self.effect()) File "gcodetools.py", line 5872, in effect self.options.active_tab() File "gcodetools.py", line 3936, in tab_path_to_gcode [self.parse_curve([subpath], layer) for subpath in csp] File "gcodetools.py", line 3936, in <listcomp> [self.parse_curve([subpath], layer) for subpath in csp] File "gcodetools.py", line 3146, in parse_curve c += biarc(sp1, sp2, 0, 0) if w is None else biarc(sp1, sp2, -f(w[k][i - 1]), -f(w[k][i])) File "gcodetools.py", line 2117, in biarc r = 1 / (TE.mag() / v.mag() * 2) ZeroDivisionError: float division by zero
Hello everyone and thank you for your time,
I use the gcodetools extension included with inkscape to turn SVGs to gcode with the intention to plot (GRBL running on an arduino and a cnc shield on top), so the error plaguing me is the one bellow, it outputs a .ngc file with a size of 0 bytes.
So the steps I would take to get to that error would be, open Inkscape, throw in my SVG, select it, Path > Object to Path, Extensions > Gcodetools > Orientation Points, Extensions > Gcodetools > Tools Library > default tool (also tried cylinder), Extensions > Gcodetools > Path to Gcode and then it throws me this error, iv been using Inkscape 0.92 and I also tried with the latest version available for windows 10 (also latest windows version), but the gcodetools extension has been unchanged for many years now, I doupt it matters.
I went my self in the files that the error shows us, like gcodetools.py, but I cant seem to make out why it would throw an error there.
I will now upload one succesful svg (Poster_Floral), and one unssucesful (anime1_Converted) that makes the error show up, I hope a more trained eye can spot something I dont.
Please do give me alternative ways to generate gcode off SVGs if you have any, i ask for ANY kind of sollution, not just resolving our pretty little error. I tried Unicorn Master extension but its no longer supported by the creator.
Thank you all again!
Traceback (most recent call last):
File "gcodetools.py", line 5921, in <module>
Gcodetools().run()
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 140, in run
self.save_raw(self.effect())
File "gcodetools.py", line 5872, in effect
self.options.active_tab()
File "gcodetools.py", line 3936, in tab_path_to_gcode
[self.parse_curve([subpath], layer) for subpath in csp]
File "gcodetools.py", line 3936, in <listcomp>
[self.parse_curve([subpath], layer) for subpath in csp]
File "gcodetools.py", line 3146, in parse_curve
c += biarc(sp1, sp2, 0, 0) if w is None else biarc(sp1, sp2, -f(w[k][i - 1]), -f(w[k][i]))
File "gcodetools.py", line 2117, in biarc
r = 1 / (TE.mag() / v.mag() * 2)
ZeroDivisionError: float division by zero