flatcam

Open full view…

Turn laser on/off instead of moving z-axes

harald
Sat, 17 Jan 2015 23:49:23 GMT

Hello! I want to exposure the pcb with a laser and use mach3. How can I configure FlatCAM that it turns the laser on/off instead of moving the z-axes? Thanks for the great software!

harald
Sun, 18 Jan 2015 00:06:24 GMT

I mean instead of z moves down in M3 inserted and instead of z moves up M5 is inserted.

kowo
Sun, 18 Jan 2015 19:42:21 GMT

Hello, You can edit the gcode-file, and replace all "Z-" with "M3;" and then all "Z" with "M5;" It works for me with repetier. Why ";" in the replacement??? Simply, the rest of the line is a comment. So from "Z-0.100" will be "M3;0.100" Hope it helps. Greetings

kowo
Sun, 18 Jan 2015 20:04:05 GMT

Very important: at first "Z-"s and then "Z"s, otherwise you have only "M5"s.

harald
Sun, 18 Jan 2015 21:29:14 GMT

Thanks!!!!!!!! There is no switch in FlatCAM for that?

jpcaram
Sun, 18 Jan 2015 23:43:02 GMT

No, no switch in FlatCAM, unfortunately. I will keep it in mind for future releases though. JP

jpcaram
Mon, 19 Jan 2015 17:55:48 GMT

Your input is welcome in the new issue I created: https://bitbucket.org/jpcgt/flatcam/issue/100/add-manipulation-of-g-code-format-by-user