Page 1 of 7 1234 ... LastLast
Results 1 to 12 of 73
Like Tree1Likes

Thread: New export to Gcode plug-in for Inkscape

  1. #1
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0

    New export to Gcode plug-in for Inkscape

    Inkscape is an Open Source vector graphics editor, with capabilities similar to Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector Graphics (SVG) file format.

    New plug-in converts path's from Inkscape to Gcode. Major feature of plug-in is using biarc interpolation of Bezier curves instead of straight line interpolation (see examples).
    This means that:
    • you will have smooth objects with out rebuilding the path
    • resulting Gcode will be much more shorter
    • you will save machine time
    • you will save you machine


    Plug-in provides a lot of additional functions:
    • Area processing ("Pocketing")
    • Scaling and offsetting
    • Multi-pass cutting
    • Personal headers and footers for resulting Gcode files
    • ...


    Gcode tools plug-in if freely available for download here:


    Any feedback is appreciated!

    Inkscape is a crossplatform software, here are available versions for Windows, MacOS, Linux, source codes. Inkscape is included in official repositories of Ubuntu, Debian, Puppy and others.
    Tested on:
    • Linux
      • inkscape 0.46 / Ubuntu 9.04
      • inkscape-devel 0.46 / Ubuntu 9.04
      • inkscape 0.47 / Ubuntu 9.04
      • inkscape 0.46 / Ubuntu 8.10

    • Windows
      • inkscape 0.47 / Windows XP
      • inkscape 0.47 / Windows 7


    Sorry for my English, I will appreciate any corrections .

    Here are some examples:
    Attached Images Attached Images
    Last edited by Var; 02-09-2010 at 09:20 AM.


  2. #2
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1,164
    Downloads
    0
    Uploads
    0
    It looks like you've completely rewritten the original (Hugomatic's) program.
    I'll be giving this a try. No time now, but feedback by Saturday.
    Inkscape is an excellent and underrated application.

    Thanks
    Anyone who says "It only goes together one way" has no imagination.


  3. #3
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    It looks like you've completely rewritten the original (Hugomatic's) program.
    I'll be giving this a try. No time now, but feedback by Saturday.
    Inkscape is an excellent and underrated application.
    That's why I've said New plug-in .

    Hope for the feed back.


  4. #4
    Registered MarcoBernardini's Avatar
    Join Date
    Dec 2009
    Location
    Italy
    Posts
    16
    Downloads
    0
    Uploads
    0
    I'm trying to understand G code before to even think to check prices of a CNC machine, and this tool seems really a must for beginners who don't want to deal with a complex (and expensive) CAD.
    I see it is wonderful to make G code from TTF fonts: sign makers will be very happy!
    A big bulk of SVG images, for who don't want to draw, are available on Wikimedia Commons: http://commons.wikimedia.org/wiki/Category:SVG


  • #5
    Registered
    Join Date
    Jan 2006
    Location
    canada
    Posts
    105
    Downloads
    0
    Uploads
    0
    I am still a beginner with inkscape and I like it very much, better than
    CAD.
    Could someone tell me how to install this G-code plug-in by telling what to click on during the install. Computer speak makes my eyes cross and my
    mind go blank.
    I have inkscape 047 on my windows XP home edition.
    Appreciate any help anyone can give me with this installation.


  • #6
    Registered MarcoBernardini's Avatar
    Join Date
    Dec 2009
    Location
    Italy
    Posts
    16
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by salzburg View Post
    I am still a beginner with inkscape and I like it very much, better than
    CAD.
    Could someone tell me how to install this G-code plug-in by telling what to click on during the install. Computer speak makes my eyes cross and my
    mind go blank.
    I have inkscape 047 on my windows XP home edition.
    Appreciate any help anyone can give me with this installation.

    I'm a Linux man but I can try to give you some clues.
    After you download the file extensions.tar.gz you must decompress it using programs like Gzip or 7-zip.
    Inside the compressed file there are two other files, named gcode_tools.inx and gcode_tools.py.
    Locate on your disk a folder named "extensions" (it must be somewhere inside a folder named "inkscape") and copy the two files there.
    You'll find the G-tools under the "Effects" menu in Inkscape.
    HTH!


  • #7
    Registered
    Join Date
    Jan 2006
    Location
    canada
    Posts
    105
    Downloads
    0
    Uploads
    0
    Marco, thank you for your quick reply.
    I downloaded the file and when I try to open it with 7-zip a small
    window apears but only for a fraction of a second. It looks like a
    DOS window.
    I have to check if I downloaded a DOS version of 7-zip.


  • #8
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    I've posted ordinary zip archive and instructions here:
    http://www.cnc-club.ru/forum/viewtop...=35&p=122#p122
    if you have problems with it, I can mail you unzipped files.


  • #9
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1,164
    Downloads
    0
    Uploads
    0
    Weird results so far. I'm trying to work with a simple oval to test the biarcs and pocketing. Could you please list the parameters needed to to cut this with the x and y centered inside the oval using a .25" endmill. The machine only has 3.75" y travel.

    Thanks

    btw: I can do this outline with the old gcode extension no problem. Maybe I'm trying to apply old thinking to a new program
    Attached Files Attached Files
    Anyone who says "It only goes together one way" has no imagination.


  • #10
    Var
    Var is offline
    Registered
    Join Date
    Feb 2010
    Location
    Russia
    Posts
    35
    Downloads
    0
    Uploads
    0
    Gcode tools takes internal Inkscape's units (px). Conversion to " and mm is done with out any calculations so 1px=1" or 1mm depending on which unit is selected.
    So if you want your ellipse be 2" long you should make it 2px long in the Inkscape. Or you can set scaling in the params tab.

    If you want your ellipse be centered by x and y just put it in the following position: x = -xRadius y = -yRadius or -width/2 and - height/2. Or set up offsets.

    Also I think subdivision you have done is a little redundant. You can try smaller values of subdivision.

    By the way it could be useful for other users if you post your questions at the English support forum
    Last edited by Var; 02-15-2010 at 02:35 PM.


  • #11
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1,164
    Downloads
    0
    Uploads
    0
    Your program is less tolerant of offset shifting than the old extension. I think the problem involves how inkscape counts pixels and the y0 origin. That's not to say the program is broken, inkscape treats this concept differently than a CAD program. It may not confuse you but it confuses me and will confuse some others.

    I will post back when I can explain more clearly, possibly to your forum.

    The included pics show one way the old extension can shift offsets

    edit/ btw: the screenshots are inkscape 0.47 in Mepis Linux. If the extensions run on this they should run on any recent Debian Linux.
    Attached Images Attached Images
    Last edited by cyclestart; 02-16-2010 at 03:42 AM.
    Anyone who says "It only goes together one way" has no imagination.


  • #12
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1,164
    Downloads
    0
    Uploads
    0
    The non-parametric code is having problems with new lines.
    Code:
    5: G00 Z1.000000G00 X-151.928080 Y-2.361681G01 Z-0.100000 F4.000000
    Anyone who says "It only goes together one way" has no imagination.


  • Page 1 of 7 1234 ... LastLast

    LinkBacks (?)

    1. 03-26-2013, 08:07 AM

    Similar Threads

    1. Please Help Me With INKSCAPE
      By diarmaid in forum General CAM Discussion
      Replies: 36
      Last Post: 10-29-2010, 06:47 AM
    2. inkscape to G-code
      By Dan Falck in forum OpenSource Software
      Replies: 6
      Last Post: 09-13-2010, 08:06 AM
    3. Getting to Lazy Cam from Inkscape
      By John Tribe in forum LazyCam
      Replies: 5
      Last Post: 08-21-2008, 07:04 PM
    4. inkscape drawing for lathe
      By ChinaMan in forum General CAM Discussion
      Replies: 0
      Last Post: 11-16-2007, 08:05 PM
    5. GcodeOut - Export gcode to Turbocnc
      By wjbzone in forum Autodesk Software (Autocad, Inventor etc)
      Replies: 18
      Last Post: 04-14-2004, 08:22 AM

    Tags for this Thread

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.