Printer Anet A6 with Marlin v1.1.8 firmware
Cura version 3.6.0
I'm trying to get post processing of generated g-code working & having a problem. I made a variation of the pause at height script to beep when pausing with a variable duration beep to get my attention. It seems to work fine in that I can load it in Cura & change the beep duration (Extensions-> Post Processing -> Modify G-Code). If I hit prepare and save to file, it makes the expected mods to the g-code. However if I print to usb, it prints with no post-processing applied 99% of the time. I got it to work once after renaming my stl file & loading that. Never was able to replicate this success though.
Just to avoid the possibility of my coding being at fault, I removed that from the post processing script list and instead put in the search & replace post processing script that came as standard with Cura (searching for ;LAYER: and replacing that with M117 Printing #). This should output each layer number on the display as the print progresses. Again no luck when I apply this. I see it in the generated g-code, but it does not output to the display when printing layers.
I've not yet tried to save to SD & print from that as its hard to get at the SD slot where my printer is setup.
I'd be grateful for any help on this, its driving me nuts.
Thanks.
PS. Maybe should be a separate question, but should the simulator be able to run g-code thats going to be sent to the printer? It does not seem to output the printer's start g-code from the machine settings. It would be handy if there was an option to have it show exactly what the printer would get. Takes forever to debug this stuff with heating time etc....