DXF to Gcode for a laser cutter

1,970 views
Skip to first unread message

PiotrW

unread,
Aug 26, 2013, 6:56:44 AM8/26/13
to dxf2gco...@googlegroups.com
Hello everyone,

first of all, big thanks to the developers for creating such a good program. Secondly, I have a laser cutter that accepts Gcode and wanted to optimise the conversion of DXF files to Gcode by changing a adding/changing three things. I would like to ask if future versions of dxf2gcode will allow me to:
  • swap the M3 start milling command for a custom turn laser on/off command that is specific to my laser system
  • eliminate drilling in the z-direction, as the laser does not do that
  • introduce the use of G91 instead of G90
Many thanks and best wishes from Piotr

Christian Kohlöffel

unread,
Aug 26, 2013, 9:43:23 AM8/26/13
to dxf2gco...@googlegroups.com
Hello Piotr,

to give a very short answer. All done :-) ...

For details to all 3 of your questions please see below.


Am 26.08.2013 12:56, schrieb PiotrW:
Hello everyone,

first of all, big thanks to the developers for creating such a good program. Secondly, I have a laser cutter that accepts Gcode and wanted to optimise the conversion of DXF files to Gcode by changing a adding/changing three things. I would like to ask if future versions of dxf2gcode will allow me to:
  • swap the M3 start milling command for a custom turn laser on/off command that is specific to my laser system
Thats already possible with current Postprocessor, no change required. Following change in Postprocessor required
    pre_shape_cut = Your Command %nl
    post_shape_cut = Your Command %nl

  • eliminate drilling in the z-direction, as the laser does not do that
Thats already possible with current Postprocessor, no change required. Following change in Postprocessor Config required (Just delete all in the depth coordinates):
    rap_pos_depth =
    lin_mov_depth =

In addition you need to choose depth coordiantes which produce only one cut. (Refer to http://code.google.com/p/dxf2gcode/issues/detail?id=35)

  • introduce the use of G91 instead of G90
    Thats already possible with current Postprocessor, no change required. Following change in Postprocessor Config required:
    abs_export = True
Many thanks and best wishes from Piotr
--
--
You received this message because you subscribed to the Google
Groups-group "dxf2gcode-users".
To post a message, send mail to dxf2gco...@googlegroups.com
To unsubscribe, send mail to dxf2gcode-use...@googlegroups.com
See http://groups.google.de/group/dxf2gcode-users?hl=en for more options
and the dxf2gcode project page at http://code.google.com/p/dxf2gcode/
---
You received this message because you are subscribed to the Google Groups "dxf2gcode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dxf2gcode-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

PiotrW

unread,
Aug 26, 2013, 11:00:32 AM8/26/13
to dxf2gco...@googlegroups.com
Thank you so much Christian, you are great! It all works now the way it should!

Timo Birnschein

unread,
Oct 5, 2016, 8:54:50 PM10/5/16
to dxf2gcode-users
Thanks a whole lot! This just solved all of my Laser CNC problems!

Thanks again and keep up the great work!

Timo

Tim Lovett

unread,
Jun 8, 2017, 4:31:05 AM6/8/17
to dxf2gcode-users
Nice!
I was just wanting to change G90 to G91.
Router works great now. (To much trouble on a 2nd machine to re-zero the origin every time, so easier to use G91 instead)
Thanks!
Reply all
Reply to author
Forward
0 new messages