Inkscape.org
  1. #1
    brucejpascoe brucejpascoe @brucejpascoe

    How do  set  up inkspace to create gcode and print to a cnc.

  2. #2
    enrico.medicina enrico.medicina @enrico.medicina

    Hello. I staterd to use inkscape and thak's to many tutorials I've seen it was pretty easy to reach the first steps.

    It was easy to import a bitmap image, put it in a layer and then design on a new layer following the bitmap edges.

    However with my last design I encoutered a list of warning and the output .ngc file is empty.

    You can find below the list of warnings;

    Traceback (most recent call last):
      File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodetools.py", line 5928, in <module>
        Gcodetools().run()
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 131, in run
        self.save_raw(self.effect())
      File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodetools.py", line 5879, in effect
        self.options.active_tab()
      File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodetools.py", line 3936, in tab_path_to_gcode
        [self.parse_curve([subpath], layer) for subpath in csp]
      File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodetools.py", line 3936, in <listcomp>
        [self.parse_curve([subpath], layer) for subpath in csp]
      File "C:\Program Files\Inkscape\share\inkscape\extensions\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 "C:\Program Files\Inkscape\share\inkscape\extensions\gcodetools.py", line 2114, in biarc
        r = TS.mag() / v.mag() * 2
    ZeroDivisionError: float division by zero

     

    What Iam I doing wrong?

    Can somebody give me an advice?

    Thank you