SVG to G-code converter


Results 1 to 20 of 20

Thread: SVG to G-code converter

  1. #1
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:
    Last edited by burs; 01-26-2021 at 07:34 AM.


  2. #2
    Member
    Join Date
    Dec 2012
    Location
    Mexico
    Posts
    192
    Downloads
    0
    Uploads
    0

    Default Re: SVG to G-code converter

    Hello.

    Unfortunately localhost is unable to open.

    It would be interesting to try your program.

    Regards.



  3. #3
    Member routalot's Avatar
    Join Date
    Dec 2003
    Posts
    1206
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default Re: SVG to G-code converter



  5. #5
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default 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.

    Last edited by C_N_C; 07-29-2020 at 05:21 AM.


  6. #6
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: SVG to G-code converter

    I rather want to have online tool,
    Like this?

    https://www.makercam.com/

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  7. #7
    Member
    Join Date
    Jul 2017
    Location
    Italy
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default Re: SVG to G-code converter

    Do you tried Inkscape with G-Code plugin ?

    Telegram: @Shineworld


  8. #8
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default 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.

    SVG to G-code converter-screenshot-2020-07-29-17-03-00-a



  9. #9
    Member
    Join Date
    May 2005
    Location
    canada
    Posts
    1662
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default Re: SVG to G-code converter

    ger21

    Probably found the cause:
    SVG to G-code converter-screenshot-2020-07-29-17-14-21-a

    Replace in source "http" -> "https"



  11. #11
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default Re: SVG to G-code converter

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



  12. #12
    Member
    Join Date
    May 2005
    Location
    canada
    Posts
    1662
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Dec 2012
    Location
    Mexico
    Posts
    192
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    May 2005
    Location
    canada
    Posts
    1662
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default Re: SVG to G-code converter

    Created video:




  17. #17
    Member
    Join Date
    Dec 2012
    Location
    Mexico
    Posts
    192
    Downloads
    0
    Uploads
    0

    Default 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.

    Attached Thumbnails Attached Thumbnails SVG to G-code converter-01382-500x500-jpg   SVG to G-code converter-01381-500x500-jpg   SVG to G-code converter-01379-500x500-jpg   SVG to G-code converter-01380-500x500-jpg  

    Attached Files Attached Files


  18. #18
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default 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.

    Attached Files Attached Files


  19. #19
    Member
    Join Date
    Jul 2014
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2012
    Location
    Ukraine
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default 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:
    SVG to G-code converter-path-description-jpg
    The red rectangle here is a "blank" path.

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

    Attached Thumbnails Attached Thumbnails SVG to G-code converter-path-description-jpg  
    Last edited by C_N_C; 01-26-2021 at 07:26 AM.


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

SVG to G-code converter

SVG to G-code converter