- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello together,
I am using the jet.cps for creating gcode for my homemade laser maschine. This is working fine so far, but I always have to adapt the created .nc code afterwards manually:
"(TURN ON CUTTING HERE)" replace with "M03;"
"(TURN OFF CUTTING HERE)" replace with "M05"
Now I was a little naive and thought that I can adapt the postprocessor itself so that I dont have to do that manually every time by hand. So I thought it would make sense to just add the commands after the comments in the .cps:
function setDeviceMode(enable) {
if (enable != deviceOn) {
deviceOn = enable;
if (enable) {
writeComment("TURN ON CUTTING HERE");
M03;
} else {
writeComment("TURN OFF CUTTING HERE");
M05;
}
So I saved it under jet_modified.cps and imported it into Fusion 360. But when I now try to create .nc files I get always the message, that the .nc could not be reworked and the file which is resulting is always .nc.failed
Maybe somebody could give me a hint how to adapt the jet.cps in the correct way, that I dont have to replace the comments in the created .nc code everytime manually.
Greetings
Markus
Solved! Go to Solution.