jukebox42 / Octoprint-PrusaMMU

An Octoprint plugin that adds MMU support.
GNU Affero General Public License v3.0
13 stars 2 forks source link

Support MK3.5+ single print mode #49

Open jukebox42 opened 2 days ago

jukebox42 commented 2 days ago

I cannot stress enough that this branch has not been tested. DO NOT try it.

TODO:

How this works:

When a print is started, the print is immediately pause and the user is prompted to select a filament. The plugin then sends a M863 E1 to enable tool remapping then for every tool a M863 P# L# is sent to map every tool to the chosen one. When the print ends, the plugin sends a M863 E0 to disable tool remapping.

This does mean you will always get the prompt modal for every print, but you can click skip and have it preserve the default behavior. In a future release, I will try to read ahead and figure out if only one tool was used in the profile.