tools library error

Asked by Nardo Hernandez on 2019-09-26

when execute extensions-gcodetools-tools libary
sendme a message with this (down) can you help me with this?

Traceback (most recent call last):
  File "gcodetools.py", line 6751, in <module>
    gcodetools.affect()
  File "inkex.py", line 283, in affect
    self.effect()
  File "gcodetools.py", line 6663, in effect
    self.get_info()
  File "gcodetools.py", line 4291, in get_info
    recursive_search(self.document.getroot(),self.document.getroot())
  File "gcodetools.py", line 4246, in recursive_search
    recursive_search(i,i)
  File "gcodetools.py", line 4249, in recursive_search
    points = self.get_orientation_points(i)
  File "gcodetools.py", line 4336, in get_orientation_points
    point[1] = [float(r.group(1)),float(r.group(2)),float(r.group(3))]
AttributeError: 'NoneType' object has no attribute 'group'

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2019-10-14
Last reply:
2019-10-16
Hachmann (marenhachmann) said : #1

Please include:

- Inkscape version
- operating system version
- source of your gcodetools (download, or the ones included with Inkscape)
- a link to your file

in your next comment.

Nardo Hernandez (nardo-76) said : #2

Thanks Hachmann

 - Inkscape version 0.92.3
- operating system version windows 10 pro
- source of your gcodetools (download, or the ones included with Inkscape) incluided with inkscape
- a link to your file only test(13 letters)

Hachmann (marenhachmann) said : #3

Please update to the current version and convert all texts to paths, then check if the error still occurs.

Nardo Hernandez (nardo-76) said : #4

thanks, it works the process, but, the code is different, dou you know why?

example
before:
G01 X0.8367 Y-0.5 Z1 F1000
G01 X99.826599 Y-0.5 Z1 F1000

now:
G01 X[42.927734*#10+#6] Y[9.722660*#10+#7] Z[-1.000000*#11+#8] F [#21]
G01 A[-2.6623548625*#12+#9]

and it isn't works

you can help me?

Hachmann (marenhachmann) said : #5

Not sure I understand. Does it work or does it not work now? And what works / doesn't work?

Nardo Hernandez (nardo-76) said : #6

oh sorry Hachmann

I'll try to explain me

today I can to generate the gcode file, thanks(original issue)

but, this file now appear with another code, with simbols [] # + etc, and my machin not recognize this format, I don't know how to change this

I use this format without simbols
example
G01 X0.8367 Y-0.5 Z1 F1000
G01 X99.826599 Y-0.5 Z1 F1000

Hachmann (marenhachmann) said : #7

Sorry, I don't know enough about the GCode format to be able to help with that part.

Maybe try at https://inkscape.org/forums/cutplot/ ?

Nardo Hernandez (nardo-76) said : #8

thanks Hachmann

Can you help with this problem?

Provide an answer of your own, or ask Nardo Hernandez for more information if necessary.

To post a message you must log in.