Open full view…

Turn laser on/off instead of moving z-axes

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!

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.

Sun, 18 Jan 2015 19:42:20 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

Sun, 18 Jan 2015 20:04:04 GMT

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

Sun, 18 Jan 2015 21:29:13 GMT

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

Sun, 18 Jan 2015 23:43:01 GMT

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

Mon, 19 Jan 2015 17:55:47 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