paukstelis / Octoprint-Cancelobject

104 stars 11 forks source link

Is custom G-code still required for Prusa Slicer 2.7+ #80

Open puterboy opened 11 months ago

puterboy commented 11 months ago

It seems like Prusa Slicer 2.7 has an option under "Print Settings->Output options" to "Label Objects" with "Octoprint Comments". Supposedly this is to enable canceling of objects.

Before 2.7, I had to add the following line to: [Printer Settings]->Custom G-code: End G-code ; printing object ENDGCODE

Is this still necessary if I turn on the "Octoprint Comments" option? I am a bit confused on how this all works...

puterboy commented 11 months ago

NOTE that based on experimentation, it seems like it is not necessary but still would like to confirm officially.

paukstelis commented 11 months ago

While it isn't strictly necessary, It is still recommended to add that to the end gcode. The reason for this is that if you cancel the last object to be printed, everything AFTER the last object will also be cancelled. By adding the comment you ensure that all the commands after the last object will be executed.

puterboy commented 11 months ago

Thanks - that wasn't obvious to me :) - perhaps add to README documentation?`