Difference between revisions of "Laser GCODE Conversion Method"
(→DXF to GCODE) |
(→DXF to GCODE) |
||
Line 54: | Line 54: | ||
=== DXF to GCODE === | === DXF to GCODE === | ||
− | In my method there are | + | In my method there are a couple of steps to this conversion using four free tools.<br><br> |
− | <b>Step one</b> is to upload each DXF to an online conversion tool | + | <b>Step one</b> is to upload each DXF to an online conversion tool to create get a generic gcode file. I use the <b><u>free</u></b> online converter found at '''"CNC-APPS.com"'''. It is very easy to use and in my experience, has never written a bad or missed instruction.<br> |
Link: <u>'''[https://cnc-apps.com/en/app/dxf2gcode DXF to GCODE Converter]'''</u> | Link: <u>'''[https://cnc-apps.com/en/app/dxf2gcode DXF to GCODE Converter]'''</u> | ||
<br><br> | <br><br> | ||
− | Below is a screenshot of the DXF to GCODE converter with the parameters set for a plasma or laser cutter. | + | Below is a screenshot of the DXF to GCODE converter with the parameters set for a plasma or laser cutter. |
<br> | <br> | ||
Line 72: | Line 72: | ||
Once the parameters are set, click on the '''"RUN"''' button and in a few seconds (up to a minute) three file types are offered for download. I use the "GCODE" file type.<br><br> | Once the parameters are set, click on the '''"RUN"''' button and in a few seconds (up to a minute) three file types are offered for download. I use the "GCODE" file type.<br><br> | ||
− | <b>Step two</b> is all about editing/check/clean-up. You can edit the file in any text editor. I use "Notepad++". This is a really nice code editing tool that I have written macros in to do all the file edits.<br><br> | + | <b>Step two</b> is all about editing/check/clean-up. You can edit the file in any text editor. I use "Notepad++". This is a really nice code editing tool that I have written macros in to do all the GCODE file edits.<br><br> |
For the check part of this step, I use the free web based simulator "NC Viewer" at <u>'''[https://ncviewer.comn NCVIEWER.com]'''</u><br> | For the check part of this step, I use the free web based simulator "NC Viewer" at <u>'''[https://ncviewer.comn NCVIEWER.com]'''</u><br> |
Revision as of 13:36, 3 February 2023
Introduction
Creating Laser GCODE
The following is my method for creating gcode files to be cut on my Bench-top CNC Laser
CAD Work to get a DXF
In my design software (SolidWorks in my case) after completing all part design I layout all similar thickness parts in an assembly, fitting them to virtual 4" x 36" balsa sheets.
In the above example I have laid out all the parts of a fuselage build within three 4" x 36" panels represented by the dashed boxes. Once the layout is done I group each panel into three folders to represent the three panels. This gives me the ability to suppress each panel so I can send just one to a DXP drawing.
I then (in SolidWorks) create a drawing from this assembly making the drawing size 4" x 36" and set the X and Y axis to the part edges.
Once this is done I save the drawing as a DXF. I then go back and suppress this first panel and un-suppress the next panel, saving it as the next DXF. Note: I also suppress the dashed box as it is not needed in the DXF file.
I am now ready to convert these three DXF files to a workable gcode file.
DXF to GCODE
In my method there are a couple of steps to this conversion using four free tools.
Step one is to upload each DXF to an online conversion tool to create get a generic gcode file. I use the free online converter found at "CNC-APPS.com". It is very easy to use and in my experience, has never written a bad or missed instruction.
Link: DXF to GCODE Converter
Below is a screenshot of the DXF to GCODE converter with the parameters set for a plasma or laser cutter.
Once the parameters are set, click on the "RUN" button and in a few seconds (up to a minute) three file types are offered for download. I use the "GCODE" file type.
Step two is all about editing/check/clean-up. You can edit the file in any text editor. I use "Notepad++". This is a really nice code editing tool that I have written macros in to do all the GCODE file edits.
For the check part of this step, I use the free web based simulator "NC Viewer" at NCVIEWER.com
Upload your edited gcode file and hit the play button. You can watch the cut sequence while it draws through your shapes. The different colored lines represent paths for laser-off transit (Red) and laser-on cut (Blue). This is the clean-up part of this step and is a great way to check the quality of your gcode and isolate areas where you may want to make other changes.
RunIt!
File should be ready to send to the laser. In my case I use UGS Platform which is another awesome freebie...
See Also
Referenced Links