GCode Engravings fails
Steps to Replicate
- Open drawing.svg
- Select the single path
- Extensions > Gcodetools > Engravings
- Change the directory is something valid, go back to the first tab
- Apply
What happened?
Orientation points have not been defined! A default set of orientation points has been automatically added.
Cutting tool has not been defined! A default tool has been automatically added.
Tool 'Default tool' has no shape. 45 degree cone assumed!
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp
Traceback (most recent call last):
File "gcodetools.py", line 5923, in <module>
Gcodetools().run()
File "/home/nal/all/1.0.x/1.0/share/inkscape/extensions/inkex/base.py", line 123, in run
self.save_raw(self.effect())
File "gcodetools.py", line 5874, in effect
self.options.active_tab()
File "gcodetools.py", line 4939, in tab_engraving
jjmin, iimin, w = get_biggest((x1, y1), (nx, ny))
File "gcodetools.py", line 4583, in get_biggest
if abs(ii - i) == 2 and nlLT[j][(ii + i) / 2 - 1][3] <= 0:
TypeError: list indices must be integers or slices, not float
What should have happened?
- No error.
Inkscape version
- Inkscape 1.0 (4035a4fb49, 2020-05-01) with extensions at HEAD
- Inkscape 1.1-dev (3fd536c1c6, 2020-08-26) with inkscape/extensions@a550f841 (near master)
First reported by @obitwo74 inkscape/extensions#238 (comment 366139449)