tbfleming / jscut

In-browser CAM package
http://jscut.org
GNU General Public License v3.0
302 stars 141 forks source link

Path header and footer #50

Open serealhansman opened 8 years ago

serealhansman commented 8 years ago

Hi! I am currently putting together a Plasma Cutter CNC Machine. The Controller is an Arduino running GRBL, using grblweb in combination with jscut as a Frontend. For the Plasma Cutter to work, i Need some Special G-Codes at the beginning of each Path (Probing the Surface, starting the Plasma, moving up a bit, waiting some time, moving a Little down) and also at the end (stopping Plasma, moving a Little up, waiting some time).

The easiest way to achieve this - i think - would be to include a headerfile to the GCode-Output before each path, followed by a footerfile after each path...

What Do you think about that? Could this be possible?

danielkucera commented 4 years ago

I would also need this, I'd like to use it for laser cutting and instead of plunge and retract I need to run gcode to start/stop laser. I would be nice to have two text fields where one can put gcode which would be used instead of this: https://github.com/tbfleming/jscut/blob/88652b7bc9b19a854cc39b49b5bbed98d0c473d5/js/Cam.js#L374 and this: https://github.com/tbfleming/jscut/blob/88652b7bc9b19a854cc39b49b5bbed98d0c473d5/js/Cam.js#L473

tbfleming commented 4 years ago

LaserWeb4 is a better match for laser cutting. It's the successor to jscut.

On Fri, May 8, 2020 at 9:55 AM Daniel Kucera notifications@github.com wrote:

I would also need this, I'd like to use it for laser cutting and instead of plunge and retract I need to run gcode to start/stop laser. I would be nice to have two text fields where one can put gcode which would be used instead of this:

https://github.com/tbfleming/jscut/blob/88652b7bc9b19a854cc39b49b5bbed98d0c473d5/js/Cam.js#L374 and this:

https://github.com/tbfleming/jscut/blob/88652b7bc9b19a854cc39b49b5bbed98d0c473d5/js/Cam.js#L473

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tbfleming/jscut/issues/50#issuecomment-625827415, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGFIHWWZYL26CODOOJQGTRQQFNFANCNFSM4B6JKTCA .

danielkucera commented 4 years ago

I have just found it. You should add it to the readme :)