Inkscape.org
Beginners' Questions inkscape gcode
  1. #1
    Markus Uusikylä Markus Uusikylä @markus.uusikyla

    Hey all. I want to discuss how to get the gcode faster for a cnc machine.

    I used the inkscape gcode program to generate code of an image, to draw the corresponding image with cnc machine.

    I found that the gcode consisted of several image fragments in an illogical position, which allowed the cnc to migrate occasionally from edge to edge, which took unnecessary time to get the whole picture.

    I have created an excel program that creates faster cod of the same.

    If there is a completed “faster” program, I am interested.

  2. #2
    brynn brynn @brynn

    Welcome to the forum!

    Please tell us specifically which extension or extensions you are using.  If you're using the native Extensions menu > Gcodetools, they must be used in a specific order:

    • Orientation Points
    • Tools Library
    • Path to Gcode (or whichevere other specific one you need, such as Area or Engraving)
    • also note that you must have the Preferences tab open on the last extension, when you click Apply button, or else the gcode file will not be produced

    If you're using some other extension to create gcode (there are many) you'll need to contact the author of that extension, to report a bug, or offer your own code to fix it. 

    If you are using the native Gcodetools extensions, you could report a bug or offer code fix....  Hhmm....I can only direct you to here: https://gitlab.com/inkscape/inbox/issues  But there is a separate place in the GitLab repo for extensions.  I'm not sure if bugs with extensions are supposed to be reported there, or in the link I gave.  Someone else may know?   But posting there would be better than nothing, and will eventually get where it belongs.

    Sorry I can't answer your question directly.  I just don't know if it's normal for the cutting head to move around like that.  From my own knowledge of Inkscape, I have a theory that it may matter what order the objects (paths) are on the canvas (usually the z-order is the object order, afaik).  So you could try putting them in order before you create the gcode.  But beyond that, I have no idea.

  3. #3
    Mr.What Mr.What @Mr.What

    I am trying to use gcodetools to generate gcode for a plasma cutter.  None of the tutorials I have found online seem to work for me.  I have a test part, a small square with several cut-outs.  A triangle, square, hexagon, and "circle", which is actually a 30-sided polygon.   I have triend many things.  gcodetools often complains about stuff in a layer, which is never mentioned in online tutorials.  It also generates a grey code box, instead of the green mentioned in tutorials.  I also seem to have trouble defining part from cutouts, and I get a path like:

    yes.  I have tried both as 5 separate path objects, and one path object with the filled area the "part".

    Badplasmapath
  4. #4
    Polygon Polygon @Polygon🌶

    Are you sure having paths in front of you or just "stars" with different properties? Check the Status Bar at the bottom of the Inkscape window.

  5. #5
    Mr.What Mr.What @Mr.What

    Many, many tries.  Not sure what you are looking for.  This attempt, made an interior and exterior layer.  interior has small cut-outs.

    Screenshot 2023 03 05 13 25 10
  6. #6
    Polygon Polygon @Polygon🌶

    Your screenshot is telling another story.

  7. #7
    Mr.What Mr.What @Mr.What

    Unclear on what is expected vs. what I did.