Where to find/access the gcode Prusaslicer spits out to use in Postprocessing scripts
 
Notifications
Clear all

Where to find/access the gcode Prusaslicer spits out to use in Postprocessing scripts  

  RSS
Notxtwhiledrive
(@notxtwhiledrive)
Member
Where to find/access the gcode Prusaslicer spits out to use in Postprocessing scripts

Hello. I want to add pause at z height to my print, but my printer is old, running sailfish (marlin), that doesn't support M601.

No idea how to code so I tried to use ChatGPT to make a python script that will find my chosen z height, add a pause command "M322 z(chosen height)" to my gcode. and output. it worked well in isolation, activating it from cmd and typing in the input file manually, but can't seem to figure out how to adapt it to prusaslicer's output pipeline.

My approach was find the latest .gcode file in Appdata/local/tmp folder and do the modifications from there, but it kept glitching out and picking a more earlier made gcode file. I heard that there's another place Slic3r/prusaslicer outputs to that's not /tmp? how else could I approach this script?

 

Posted : 16/02/2025 8:08 pm
JoanTabb
(@joantabb)
Veteran Member Moderator
RE: Where to find/access the gcode Prusaslicer spits out to use in Postprocessing scripts


regards Joan

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK

Posted : 16/02/2025 8:15 pm
Share: