Inkscape.org
Beginners' Questions GCodeTools Scale/Units problem
  1. #1
    GregiBoy GregiBoy @GregiBoy
    *

    I have a drawing which is of a rectangle with rounded corners which is Width: 60.057mm/2.364in/226.98 px Height:52.557mm/2.069in198.641px.

    This appear to be consistent with the 96dpi that I have read that is the standard Inkscape screen resolution.

    When I output the object using GCodetools Path to GCode, the units in the file appear to be pixels. I cannot find anywhere in the GCodetools settings to change this.

    Can anyone help with suggestions?

  2. #2
    brynn brynn @brynn

    Welcome to the forum!

    If you're using Extensions menu > Gcodetools, they can use either mm or px.  You have to set that within the dialogs.  There's a specific order they must be used in.  I'm not sure if you have that info.  But if you didn't use them properly, that could explain why it's misbehaving. 

    In Path to Gcode, the unit setting is on the Preferences tab.

    In Orientation Points dialog, it's on the Orientation tab.  In the Tools Library dialog, I don't see a setting for units.  Most of the others is probably also on Preferences tab.

  3. #3
    GregiBoy GregiBoy @GregiBoy
    *

    Hi Brynn.  Thanks for your reply.

    I was aware of those settings but I have just double checked and all were set as mm.

    I also had previously made sure that the document properties were set to mm and scale = 1.000

    Any other suggestions?

    If it persists, I suppose I could make an adjustment to the scale factor but would prefer not to do this.

    I have noticed that GCodeTools is not being maintained very well. Is there any other extensions?

    Greg

  4. #4
    brynn brynn @brynn

    1.0 is the wrong value for Scale, when using mm for units.  It should be 3.77953.  Maybe that explains why it seems like the gcode file is in px?

    There are a lot of extensions which will produce gcode.  I don't know which ones work, or work with which version of Inkscape or which operating system.

    Go to this page:  https://forum.inkscapecommunity.com/index.php  Look near the bottom for the list of extension categories.  Click on the Export category, and the list will expand.  Then scroll down to the Gcode section.

    Note that the one named Unicorn seems be popular for some reason.  But it only works with px as units, and I've heard that it's unsupported.  Some of them may be specific for certain hardware.  But you can investigate which one might work for you.

  5. #5
    GregiBoy GregiBoy @GregiBoy

    Now I am totally confused!!!!!

    I set the scale as you suggested from 1.0 to 3.77953 (96DPI/25.4mm/inch)

    Nothing changed in the output.

    Reset the scale back to 1.0 and output now SEEMS to be in mm.