Inkscape.org
Embroidery and InkStitch Unexpected error and outcome when generating gcode
  1. #1
    sdec99 sdec99 @sdec99

    I am in the process of creating a pantograph (one continuous line) for a quilting longarm machine and am currently, at the point where I am ready to generate the gcode. 

    When I select apply in the path to gcode dialog, the following error is generated:

    C:\Program Files\Inkscape\share\inkscape\extensions\other\gcodetools\gcodetools.py:3403: DeprecationWarning: inkex.deprecated.main.transform_mul -> Use @ operator instead
      trans = (Transform(t) * Transform(trans)).matrix if trans != [] else t

    (That's all of the error that is given, but it's obviously truncated.)

    On my image, I can see the path of the gcode, but it starts at the right side and moves to the left which is not expected. I believe it should start from the left and move generally to the right ... at least that's what I'd like for it to do. I suspect it has something to do with the matrix transformation error above but maybe I missed a step along the way?

    Is the above warning one that should be ignored? If not, do I need to (re)install an extension and/or patch? Does the error have something to do with the "backwards" path of the gcode? If not, what can I do to get the path oriented to go from left to right?

    For debugging sake, I downloaded version 1.3.2 and installed it on my Windows 11 Pro machine using the msi installer. Any help would be greatly appreciated.

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    Before proceeding further, I'd reset the preferences: https://inkscape.org/forums/questions/getting-back-to-square-one-and-starting-over-its-easy/

    (Changing Inkscape versions won't reset these files, so custom preferences can be retained with minor updates.)

  3. #3
    Kaalleen Kaalleen @Kaalleen

    The message you are seeing is just a warning and shouldn't have an influence on the outcome. The authors may like to know about it though, so they can fix it (replace the * with an @ sign). You can report the issue at https://inkscape.org/report

    But since you are working on a design that you want to stitch out, I'd recommend to use the Ink/Stith gcode export, which you can do through `File > Save a copy ...` and then chose the gcode format from Ink/Stitch. The reason why you should prefer this one is, that it will take care for the stitch settings, for example stitch length and lock stitches, etc.

  4. #4
    Kaalleen Kaalleen @Kaalleen

    As for the path direction, you may need to use Path > Reverse if it is going the wrong way. But you don't have to export the file to see the path direction. Here is a short explanation on how you can see it right away: https://inkstitch.org/docs/customize/#enabling-path-outlines--direction

    You can also preview the stitch out in the Ink/Stitch simulator.

Inkscape Inkscape.org Inkscape Forum Embroidery and InkStitch Unexpected error and outcome when generating gcode