tbfleming / jscut

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

Use with LinuxCNC #49

Closed tiger12506 closed 8 years ago

tiger12506 commented 8 years ago

I tried to get jscut to play nicely with LinuxCNC a while back, but I didn't know much g-code at the time, and the error message from LinuxCNC wasn't very helpful.

Now I recognize that jscut is leaving off M30 at the end of the file. Adding it manually works fine.

Could this be added by default or as an option?

ebpa commented 8 years ago

Perhaps the UI should have preamble / conclusion sections for manually entering g-code and/or elements for common commands (spindle/coolant control, etc.). "Return to 0,0 at end" would have a good home.

tbfleming commented 8 years ago

M30 is "exchange pallet shuttles and end the program"; I doubt anyone with a $1M machine that does that would risk using jscut. It now adds M2 to the end of file.

tiger12506 commented 8 years ago

Sorry I haven't addressed this sooner, my machine was down for repairs. The M2 at the end, tested, works for me. Thanks! From my perspective as OP, it's okay to close this issue.