Inkscape for G-Code creation
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Inkscape for G-Code creation
Some may not be aware that in addition to vector file editing, Inkscape can also be used for creating cut paths and G-code. A question was recently asked about how to create a part where some of the features require cut paths with lead-ins and others require no lead-ins. Here is how to do this.
David
The sample part is a flat plate with 4 holes and a straight cut to be used as a bend relief for bending the flat plate into a right angle bracket.
The question was how to create both cuts with lead-ins and cuts without lead-ins in the same file.
Make sure to set the cutting order to "Path by path" so that all the interior features will be cut before the outer perimeter of the part is cut.
Chilipeppr is a very useful tool for G-code simulation.
http://chilipeppr.com/tinyg
Here is a very useful source explaining how to use Inkscape for G-code generation.
https://forums.maslowcnc.com/t/inkscape ... rted/12049
David
The sample part is a flat plate with 4 holes and a straight cut to be used as a bend relief for bending the flat plate into a right angle bracket.
The question was how to create both cuts with lead-ins and cuts without lead-ins in the same file.
Make sure to set the cutting order to "Path by path" so that all the interior features will be cut before the outer perimeter of the part is cut.
Chilipeppr is a very useful tool for G-code simulation.
http://chilipeppr.com/tinyg
Here is a very useful source explaining how to use Inkscape for G-code generation.
https://forums.maslowcnc.com/t/inkscape ... rted/12049
-
- 3 Star Elite Contributing Member
- Posts: 412
- Joined: Tue Sep 30, 2008 3:40 pm
Re: Inkscape for G-Code creation
Wow, I had no idea! Thanks for the info David, I will look further into that
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 8182
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: Inkscape for G-Code creation
Thanks David Great info along with sites with added info.
Is Chilipepper a cloud based program??
Is Chilipepper a cloud based program??
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
You are quite welcome! I had heard about this feature, but had never looked into it up until another member asked a question about it.cuttinparts wrote: ↑Thu Nov 03, 2022 9:42 am Wow, I had no idea! Thanks for the info David, I will look further into that
David
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
Tom - I'm pretty sure that Chilipeppr requires an internet connection to function. I would need to disconnect my internet to my pc to know for sure.acourtjester wrote: ↑Thu Nov 03, 2022 9:43 am Thanks David Great info along with sites with added info.
Is Chilipepper a cloud based program??
But no big deal for me if it is stand-alone or not. It is fast and very reliable. I first learned about Chilipeppr a few years ago when I was helping someone on the SawMillCreek forum get their diy cnc router table running to cut some Santa pieces for Christmas. It's always fun to learn new things!!
David
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 8182
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: Inkscape for G-Code creation
Amen on the learning is fun, have fun Tom
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
-
- 1.5 Star Member
- Posts: 27
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
I have been trying this. Somehow it creates the lead ins on the outside of the holes. How do I tell geode tools to cut on the inside?
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
Please post your svg file and I will have a look.Creative25 wrote: ↑Sat Oct 19, 2024 2:17 pm I have been trying this. Somehow it creates the lead ins on the outside of the holes. How do I tell geode tools to cut on the inside?
Thanks,
David
-
- 1.5 Star Member
- Posts: 27
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
Hi Thanks for your willingness to help me to get more understanding of Inkscape.
Original file was a DXF file. So I posted both.
Original file was a DXF file. So I posted both.
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
I looked at your file and I see there are problems - not with your file, but with how the Inkscape gcode extension is processing the drawing. I tried to do a simple square with a circle in the center and it gives the same problems - cutting the circle going the wrong direction. I am currently using Inkscape version 1.2.2. The examples I showed were from several years ago when I was using an earlier Inkscape version (I don't remember exactly which one). With that Inkscape version and whatever gcode extension it came with, everything seemed to work fine as it should.
I would suggest that perhaps you consider using SheetCam for your g-code. There is a free version (limited to 180 lines of code) that may work for you for simple parts. I think it is limited to the 180 lines of code per post process, so you could probably break up larger parts into separate pieces and process them separately to stay within the code limit. Otherwise the full license cost is around $145.
Another option would be to use Fusion 360. There is a free version for hobbyists that will allow you to create your cut paths and g-code. What controller are you using on your diy table? Hopefully there is a Fusion 360 post processor available for your controller.
David
I would suggest that perhaps you consider using SheetCam for your g-code. There is a free version (limited to 180 lines of code) that may work for you for simple parts. I think it is limited to the 180 lines of code per post process, so you could probably break up larger parts into separate pieces and process them separately to stay within the code limit. Otherwise the full license cost is around $145.
Another option would be to use Fusion 360. There is a free version for hobbyists that will allow you to create your cut paths and g-code. What controller are you using on your diy table? Hopefully there is a Fusion 360 post processor available for your controller.
David
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
-
- 1.5 Star Member
- Posts: 27
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
Looks like something is not right with importing the dxf file as well. On the screenshot with fusion 360. The four lines for bending are missing. The dxf file comes from Freecad.
At the moment I use Viaconstructor.
It does generate usable gcode. However it does not generate code that slows down to 60% of speed when cutting holes.
Question is slowing down for circles a function of your cam software or a function of your machines software?
https://github.com/multigcs/viaconstruc ... /README.md
At the moment I use Viaconstructor.
It does generate usable gcode. However it does not generate code that slows down to 60% of speed when cutting holes.
Question is slowing down for circles a function of your cam software or a function of your machines software?
https://github.com/multigcs/viaconstruc ... /README.md
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
I left the bend lines out for my quick example with Fusion 360. SheetCam allows you to use path rules where you can slow down for circles. Or you can just cut the circles first on a single layer at the slower speed, then cut the other layer at your normal speed.
For me personally - slowing on circles is a function of my control software that runs my table. I have a Plasmacam with Deisgn Edge software. Design Edge will do the drawing, create cut paths, and run the table all from a single program.
David
For me personally - slowing on circles is a function of my control software that runs my table. I have a Plasmacam with Deisgn Edge software. Design Edge will do the drawing, create cut paths, and run the table all from a single program.
David
-
- 1.5 Star Member
- Posts: 27
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
I use linuxcnc.
Fusion 360 is not an option for me because it needs an internet connection and our internet is not reliable enough.
For the Moment I will stick with viaconstructor.
It has layer options. Guess I need to have a look at it, The big drawback of this software is the lack of a manual. Same with gcodetools for Inkscape.
I do have Sheetcam on linuxcnc it worked for half a day and then asked me for a license. I did not cut a single part with it. Once the machine makes me money I seriously consider to buy sheetcam.
Fusion 360 is not an option for me because it needs an internet connection and our internet is not reliable enough.
For the Moment I will stick with viaconstructor.
It has layer options. Guess I need to have a look at it, The big drawback of this software is the lack of a manual. Same with gcodetools for Inkscape.
I do have Sheetcam on linuxcnc it worked for half a day and then asked me for a license. I did not cut a single part with it. Once the machine makes me money I seriously consider to buy sheetcam.
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
Fusion 360 will work offline. You will of course need access to the internet to install it. It has an Offline Mode once installed.Creative25 wrote: ↑Mon Oct 21, 2024 1:52 am I use linuxcnc.
Fusion 360 is not an option for me because it needs an internet connection and our internet is not reliable enough.
For the Moment I will stick with viaconstructor.
It has layer options. Guess I need to have a look at it, The big drawback of this software is the lack of a manual. Same with gcodetools for Inkscape.
I do have Sheetcam on linuxcnc it worked for half a day and then asked me for a license. I did not cut a single part with it. Once the machine makes me money I seriously consider to buy sheetcam.
If you have software that works for you to design and cut, then that is probably all that matters.
David
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
I installed an older Inkscape version 0.92 on one of my computers to check out the g-code extension. It works better, but the inside cut is going in the wrong direction - should be ccw and not cw direction. Other than that, it puts the lead-in and lead-out on the correct side of the circle. If you go to the manual for this extension, they may tell you how to reverse this direction.
David
David
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
Here is a link with more explanation about using the Inkscape g-code extension.
https://forums.maslowcnc.com/t/inkscape ... rted/12049
Although his example is for cnc machining - it would be the same basic idea for cnc plasma cutting.
Also you can go to the forum from the creators of the g-code extension.
https://www.cnc-club.ru/forum/viewtopic.php?t=35
Maybe you can join this forum and ask some questions about how to reverse the cutting directions and lead-in/lead-out locations (inside or outside) and report back to us with what you find out.
Good Luck!
David
https://forums.maslowcnc.com/t/inkscape ... rted/12049
Although his example is for cnc machining - it would be the same basic idea for cnc plasma cutting.
Also you can go to the forum from the creators of the g-code extension.
https://www.cnc-club.ru/forum/viewtopic.php?t=35
Maybe you can join this forum and ask some questions about how to reverse the cutting directions and lead-in/lead-out locations (inside or outside) and report back to us with what you find out.
Good Luck!
David
-
- 1.5 Star Member
- Posts: 27
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
I am trying fusion 360
Which post processor do I need for qtplasmac?
Which post processor do I need for qtplasmac?
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
I don't know which post processor you need? You will need to do an internet search to find the answer.Creative25 wrote: ↑Mon Oct 21, 2024 3:06 pm I am trying fusion 360
Which post processor do I need for qtplasmac?
David
-
- 1.5 Star Member
- Posts: 27
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
Thanks.
There is a custom postprocessor on the linixcnc forum.
Strange that it is not provided by Fusion 360.
I will post agai about how it works.
https://forum.linuxcnc.org/plasmac/3843 ... ors#159042
There is a custom postprocessor on the linixcnc forum.
Strange that it is not provided by Fusion 360.
I will post agai about how it works.
https://forum.linuxcnc.org/plasmac/3843 ... ors#159042
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
-
- 6 Star Elite Contributing Member
- Posts: 10135
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact: