584,837 active members*
5,428 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 22
  1. #1
    Join Date
    Feb 2012
    Posts
    17

    SVG to G-code converter

    Hi guys, I'm making the converter SVG to G-code:

    https://veiseliha.com/#more-demo

    It uses SVG syntax described here:

    https://veiseliha.com/layered-svg-tutorial

    Will appreciate any help in testing it, especially if you use anything another than LinuxCNC

  2. #2
    Join Date
    Dec 2012
    Posts
    192

    Re: SVG to G-code converter

    Hello.

    Unfortunately localhost is unable to open.

    It would be interesting to try your program.

    Regards.

  3. #3
    Join Date
    Dec 2003
    Posts
    1206

    Re: SVG to G-code converter

    This could be a useful development.I know that Inkscape has the capability to create Gcode from an svg file but have never found a way to make it happen,if there was a contest for the least intuitive program ever I believe Inkscape would be a contender.

  4. #4
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter


  5. #5
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    routalot

    I tried Inkscape G-code plugin but without any significant success, I rather want to have online tool, hope it will be useful not only for me.

  6. #6
    Join Date
    Mar 2003
    Posts
    35538

    Re: SVG to G-code converter

    I rather want to have online tool,
    Like this?

    https://www.makercam.com/
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  7. #7

    Re: SVG to G-code converter

    Do you tried Inkscape with G-Code plugin ?

  8. #8
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    Quote Originally Posted by ger21 View Post
    I rather want to have online tool,
    Like this?

    https://www.makercam.com/
    Not working for me Just seen "about this..." line.

    Attachment 446652

  9. #9
    Join Date
    May 2005
    Posts
    1662

    Re: SVG to G-code converter

    Quote Originally Posted by C_N_C View Post
    Not working for me Just seen "about this..." line.
    Works here if Adobe Flash is running.
    Anyone who says "It only goes together one way" has no imagination.

  10. #10
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    ger21

    Probably found the cause:
    Attachment 446654

    Replace in source "http" -> "https"

  11. #11
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    But the tool still needs some beta testing, I will appreciate any help.

  12. #12
    Join Date
    May 2005
    Posts
    1662

    Re: SVG to G-code converter

    It seems Makercam only behaves with some browsers and security settings.
    The death of Flash will not be mourned.
    Anyone who says "It only goes together one way" has no imagination.

  13. #13
    Join Date
    Dec 2012
    Posts
    192

    Re: SVG to G-code converter

    Hello.

    For an unknown reason I could not reply with a PM.

    What I will be doing is using some of my already converted files so that it will be possible to compare the generated G codes. Then I will run them on my viewer and watch their execution. I´ll try to post the video files.

    Regards.

  14. #14
    Join Date
    May 2005
    Posts
    1662

    Re: SVG to G-code converter

    Quote Originally Posted by ger21 View Post
    or this?
    https://www.cnczone.com/forums/uncat...-software.html
    The more the merrier ?
    Anyone who says "It only goes together one way" has no imagination.

  15. #15
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    cyclestart

    They all have a fatal flaw
    https://www.drdobbs.com/windows/a-br...ng-r/225701475

  16. #16
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter


  17. #17
    Join Date
    Dec 2012
    Posts
    192

    Re: SVG to G-code converter

    Hello.

    The posted files are the ones I´ll be using to test your software. This is the type of patterns that our new machine will be required to quilt.

    I´m in the process to convert these files using the technique I already have. This far I have the DXF´s.

    I´ve also included the original SVG´s in case you want to experiment on your own although I don´t think it is what you want.

    The filename extension was changed to txt as the uploading protocol does not allow SVG files.

    I will post my results as soon as possible.

    Regards.

  18. #18
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    BBMNet
    Answered in the private message but couldn't send file, sending here.

    Splitted the sample into multi simple shapes, because complex shape will probably run into calculation timeout.

  19. #19
    Join Date
    Jul 2014
    Posts
    5

    Re: SVG to G-code converter

    I also am looking for a SVG or DXF to gcode file converter for my quilting machine. Did you have any luck finding one?

  20. #20
    Join Date
    Feb 2012
    Posts
    17

    Re: SVG to G-code converter

    Hi, recently most of people who tried to use the converter tried to convert plain SVG without path descriptions. It will not work because the converter doesn't know how to process the path (from outside or inside, mill cavity or just draw outline). We shoud say which operation to apply to each path we want to cut, by adding a description to the path.

    In the SVG source it looks like:

    <path d="m 173.7147,158.02643 77.7675,0 c 22.43224,0 40.4914,18.05917 40.4914,-40.4914 z">
    <desc>fill z=-0.5...-11 dz=0.5...2...2 part-name</desc>
    </path>

    Possible keywords are:
    "cut" - cut the shape
    "fill" - mill the shape as a cavity
    "outline" - like fill but just cut inner outline
    "zigzag" - like fill but without inner outline
    and
    "blank" - the rectangle converted to path - all shapes will be placed relatively to blank

    In the Inkscape editor it looks like:

    The red rectangle here is a "blank" path.

    Full tutorial is here:
    https://veiseliha.com/layered-svg-tutorial

Page 1 of 2 12

Similar Threads

  1. DXF to G Code Converter
    By Doubleddaved in forum Haas Mills
    Replies: 3
    Last Post: 03-29-2019, 03:48 PM
  2. G-code to DXF Converter
    By fst14me in forum Want To Buy...Need help!
    Replies: 0
    Last Post: 04-08-2013, 05:36 PM
  3. g code converter
    By chrispare in forum G-Code Programing
    Replies: 6
    Last Post: 08-12-2009, 10:51 AM
  4. 3D dxf to g code converter
    By gaanes in forum Uncategorised CAM Discussion
    Replies: 6
    Last Post: 06-01-2009, 02:11 PM
  5. Looking for a .dxf to G-Code converter...
    By sciontim in forum OpenSource Software
    Replies: 6
    Last Post: 06-03-2008, 06:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •