malnvenshorn / OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory
GNU Affero General Public License v3.0
131 stars 59 forks source link

[Request] add a spool reset button that can be used mid print #98

Closed TomW1605 closed 6 years ago

TomW1605 commented 6 years ago

i think this would be useful for when you are in the middle of a print and need to switch to a new spool with the same properties as the current one because it has run out. it should be relatively simple to implement.to be clear i am not asking for any functionality relating to M600 commands simply a button that resets the current spool to it's starting weight.

TomW1605 commented 6 years ago

i think this is what was being requested in issue #83 but i'm not sure

malnvenshorn commented 6 years ago

You can simply duplicate the spool (which also resets the used filament on it) and select the new one.

TomW1605 commented 6 years ago

the problem with that is you can't do it mid print without pausing.

malnvenshorn commented 6 years ago

Yes that's true, but to be able to change the filament you have to pause the print anyway.

TomW1605 commented 6 years ago

only if you are changing to a different filament and need to clean the nozzle. if you are switch to a new spool of the same filament because the old one has run out then you don't.

malnvenshorn commented 6 years ago

Yes you are right, but it also can go wrong. It's safer the pause the print. But if you don't want that why don't you select a spool with sufficient filament for the print?

TomW1605 commented 6 years ago

i usually only run 1 spool at a time

malnvenshorn commented 6 years ago

Pausing the print is necessary so that the filament manager can calculate and update the used filament for the spool. Therefore I have to reject your request.

TomW1605 commented 6 years ago

if i can work out a way to do it and submit a pull request will you look at it?

malnvenshorn commented 6 years ago

Cannot say if I would merge such a request, but probably not. Another downside of your approach is that you have to constantly watch your print so you don't pass the moment for the filament change. Also I'm not sure if this feature would be useful for the majority of the users. You are the first one I know who 'hot swap' your filament.

But this shouldn't prevent you from forking and modifying this plugin to your needs.

TomW1605 commented 6 years ago

ok you are probably right about other people not using it. i am vary new to 3d printing and am mostly making it up as i go so i tend to do things like hotswaping filament that most people have decided is a bad idea. i will make a new fork and see what i come up with but given i dont swap filament that often i doubt i will put much efort into it