Inkscape.org
Using Inkscape with Cutters/Plotters gereating g-code for tech laser
  1. #1
    studiovandijk studiovandijk @studiovandijk

    I want to use Inkscape to create codes for my j tech laser mounted on a x carve.

    I installed the plugin but when i press apply I get a error. 

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

    Does anyone know how to fix this?

     

  2. #2
    Martin Owens Martin Owens @doctormo🌹🧀

    Your laser extension is assuming python2, but python2 is dead now. You will need a new laser.py extension that is coded for python3.

  3. #3
    studiovandijk studiovandijk @studiovandijk

    My laser is from J tech. I downloaded the plugin from their website

  4. #4
    Martin Owens Martin Owens @doctormo🌹🧀

    I see. This is a job for J tech. They must upgrade their code as python2 is very dead.

    It is an ex-language version. It's byten the string, imported six feet under, popped off it's dictionary iterator, shuffled off it's sort keys, this is an EX PYTHON! 🤣