Setting clearing script from the gcode, lifting prints off bed #136
ferm10n
started this conversation in
Show and tell
Replies: 1 comment
-
That is so rad, there's some really useful tricks in here... I hadn't thought to use octoprint's event manager to loop back around and autogenerate a clearing script. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love this plugin so much. One thing that was a bit annoying to deal with in my use case was creating a clearing script that worked for everything I wanted to print. I've modified my printer to have a "hook" on the extruder assembly that I can use to lift parts off of the bed. I also modify my parts to print with an easily detachable tab that can be hooked into.
Here's my method for how I got the ability to define a clearing script in my prusa slicer's 3mf file, like this!
Basically I have octoprint configured to run a python script when a new print is started. If the gcode has
; CLEARING_SCRIPT:
lines in it anywhere, it will use those to build the clearing script!! If none are found, I load a default clearing script which just beeps and does@pause
. The resulting clearing script is sent to the octoprint api.Some configs
Here's the PrintStarted script:
Beta Was this translation helpful? Give feedback.
All reactions