Gcode for CNC 2D engraving

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
CD-
Posts: 11
Joined: Wed Jun 26, 2019 12:22 am

Gcode for CNC 2D engraving

Post by CD- »

I'm a beginner & need help. I have a sketch that I want FreeCAD to create 2D gcode so as to do CNC engraving. I seam to only find 3D engraving. At present I'm exporting to dxf format & using Pycam to create the Gcode. This has it's own problems in that the way Pycam imports/interprets the Autodesk DXF 2D format is not all that correct. E.G. Concave corners of the sketch come out as straight lines etc. So I'm looking at FreeCAD to create the Gcode. Any suggestions please as I cant seam to find an appropriate forum post. Thanks
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Gcode for CNC 2D engraving

Post by chrisb »

Seeing your other post I guess you have a ShapeString which you want to engrave. Have a look at the Path workbench, it can directly engrave ShapeStrings.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
CD-
Posts: 11
Joined: Wed Jun 26, 2019 12:22 am

Re: Gcode for CNC 2D engraving

Post by CD- »

In this situation I'm doing plaques for a men's shed & it includes shapestrings & sketch boarders, plus some special sketches. This is my starting point as the shed is doing it currently, Oh so crudely, on the cnc router machine. Eventually I'm want to do 3D carving but 2D is sufficient for the time being. As per the image. I find I have to keep curved & straight lines separate so that the 2D dxf file exported doesn't convert the cornes as straight lines once imported into pycam. All in all I'd like to generate it all out of FreeCAD. That is if it's up to it. Ive also tried dxf2gcode converter but it puts a round into the corners of a square corner, maybe because I know this less than pycam.
Attachments
Plaque sample.jpg
Plaque sample.jpg (91 KiB) Viewed 1956 times
CD-
Posts: 11
Joined: Wed Jun 26, 2019 12:22 am

Re: Gcode for CNC 2D engraving

Post by CD- »

I should also say I'm using up to a 4 mm milling bit & cutting 2.5 mm deep. In another project I'm using 30 & 60 degree carbide straight single flute engraving tools & cutting 0.2 mm to 0.6 mm deep. these last tools I'm not even sure how to load the tool into the tools list.
RatonLaveur
Posts: 991
Joined: Wed Mar 27, 2019 10:45 am

Re: Gcode for CNC 2D engraving

Post by RatonLaveur »

Yup. Go to PathWB. Pick the Shapestring, roll down the Path Menu and use the "FromShape" tool. This will produce raw Gcode from your strings.

For profiling the plaque, I'd recommend padding it to some thickness. Then using the profile face tool in PathWB.

Hope this helps.
CD-
Posts: 11
Joined: Wed Jun 26, 2019 12:22 am

Re: Gcode for CNC 2D engraving

Post by CD- »

thanks heaps. I'll give it a go.
Post Reply