Inkscape for G-Code creation
-
- 6 Star Elite Contributing Member
- Posts: 9856
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
-
- 6 Star Elite Contributing Member
- Posts: 9856
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
Creative25 - I just came across these Inkscape g-code videos and thought you might be interested.
David
David
-
- 1 Star Member
- Posts: 20
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
Thanks for all these videos.
Generating Gcode on Inkscape works for me. As long as I don’t use the prepare for plasma function.
But it is with adding lead ins where I don’t get it to work.
Question if you ar cutting arts with plasma do you add lead ins ?
Generating Gcode on Inkscape works for me. As long as I don’t use the prepare for plasma function.
But it is with adding lead ins where I don’t get it to work.
Question if you ar cutting arts with plasma do you add lead ins ?
-
- 4.5 Star Elite Contributing Member
- Posts: 2168
- Joined: Fri Apr 17, 2009 11:48 am
Re: Inkscape for G-Code creation
Lead ins are always a good thing to prevent the pierce spot on the edge of your finished part but I suppose on some art type stuff it would not really matter.
-
- 4.5 Star Elite Contributing Member
- Posts: 2168
- Joined: Fri Apr 17, 2009 11:48 am
Re: Inkscape for G-Code creation
I wonder if this is the case, and hopefully I can explain this where it makes sense.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?
Below we have what looks to be similar designs.
On the left we have 2 objects, a circle and a square, I would expect some software would see these as 2 individual objects and add a lead in to the outside of each not knowing we want the lead in on the inside of the circle.
On the right we have what looks like 2 objects, a circle and a square, however it is only 1 object because the circle has been trimmed our cut out of the square. It is still 2 cuts but the software will be able to determine that the circle on the inside is to be cut out of the square so the lead in would be placed on the inside of the circle.
Using Fills as I have done above in black will help you to distinguish whether or not the center interior objects have been cut out of the outer profile or not. If this was in wireframe you have no visual way of determining this.
This may not be your lead in issue but I have seen this before so its worth bringing up.
-
- 1 Star Member
- Posts: 20
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
I have been doing this with subtracting circles. I had some success at random.
But the weird thing it put a lead in on the inside of the square.
I just think if I import a dxf file from Freecad sketcher it is supposed to work without modifications.
I think for now I just use viaconstructor.
I can give Inkscape a try next time I do letters.
But the weird thing it put a lead in on the inside of the square.
I just think if I import a dxf file from Freecad sketcher it is supposed to work without modifications.
I think for now I just use viaconstructor.
I can give Inkscape a try next time I do letters.
-
- 1 Star Member
- Posts: 20
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
Unfortunately Fusion 360Creative25 wrote: ↑Tue Oct 22, 2024 12:46 am 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
Is a bit disappointing for me.
I can create Gcode without an Internet connection.
But I can not open my project witoit an Internet connection.
I like how much control you have for creating Gcode.
Unfortunately the Postprocessor for plasmac is experimental as stated by the person who created it says.
The geode I got is giving me lots of errors.
Looks like it still needs a lot of work.
However Fusion 360 has a native post processor that creates Gcode for routers on linuxcnc.
-
- 6 Star Elite Contributing Member
- Posts: 9856
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
In this case, if the lead-ins are on the wrong side the cut path is also on the wrong side - so it is cutting going the wrong direction and to the incorrect size for the finished part. I have tried a circle in a square as both discrete paths and as a single differenced object and had the same result. The closest I had to success was using Inkscape 0.92 - the lead-ins and lead-outs are on the correct side, but it is still cutting in the wrong direction for the inner circle.
David
Last edited by adbuch on Tue Oct 22, 2024 4:42 pm, edited 2 times in total.
-
- 6 Star Elite Contributing Member
- Posts: 9856
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
I have tried to generate the g-code using Inkscape (Creative25's file) and had the same problem. Apparently the current Inkscape g-code extension has problems and does not work the same as the one I used in an older Inkscape version when I first posted this demo.weldguy wrote: ↑Tue Oct 22, 2024 10:32 amI wonder if this is the case, and hopefully I can explain this where it makes sense.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?
Below we have what looks to be similar designs.
Objects.png
On the left we have 2 objects, a circle and a square, I would expect some software would see these as 2 individual objects and add a lead in to the outside of each not knowing we want the lead in on the inside of the circle.
On the right we have what looks like 2 objects, a circle and a square, however it is only 1 object because the circle has been trimmed our cut out of the square. It is still 2 cuts but the software will be able to determine that the circle on the inside is to be cut out of the square so the lead in would be placed on the inside of the circle.
Using Fills as I have done above in black will help you to distinguish whether or not the center interior objects have been cut out of the outer profile or not. If this was in wireframe you have no visual way of determining this.
This may not be your lead in issue but I have seen this before so its worth bringing up.
David
-
- 1 Star Member
- Posts: 20
- Joined: Sat Oct 12, 2024 8:07 am
Re: Inkscape for G-Code creation
I just had some success.
I exported the file from Freecad to svg instead of dxf.
Then I ungrouped the shape.
Then Shape to path.
Then I reversed the direction of the inside paths.
Now the circles have correct lead ins.
However the rectangular shapes don’t get any useful lead ins regardless of path direction.
I exported the file from Freecad to svg instead of dxf.
Then I ungrouped the shape.
Then Shape to path.
Then I reversed the direction of the inside paths.
Now the circles have correct lead ins.
However the rectangular shapes don’t get any useful lead ins regardless of path direction.
-
- 6 Star Elite Contributing Member
- Posts: 9856
- Joined: Thu Sep 21, 2017 5:22 pm
- Location: Tucson, Arizona
- Contact:
Re: Inkscape for G-Code creation
Happy to hear you are making some progress. Please keep us informed as you go.
Thanks,
David
Thanks,
David