OctoPrint-FilamentManager icon indicating copy to clipboard operation
OctoPrint-FilamentManager copied to clipboard

Add empty spool weight to the spool profile

Open colossatr0n opened this issue 4 years ago • 3 comments

It would be useful to be able to store the empty spool weight in the spool profile. That way I could weigh a brand new spool, enter the total weight, and enter the empty spool weight. The remaining weight would be calculated by subtracting the empty spool weight and the used weight from the total weight.

This can be done without the feature just by subtracting the empty spool weight from the measured total weight manually, but that requires the user to store the empty spool weight data for a given filament brand outside of the filament manager plugin. Doable, but not preferred.

colossatr0n avatar Feb 28 '21 20:02 colossatr0n

Hi, I desire also this functionality, but why won't you fix it @OllisGit ?

Thank you so much for your work!

ldiegos avatar Jul 24 '21 06:07 ldiegos

Hi @ldiegos, sorry for just adding the Label 'wontfix" without commenting it.

Adding a new field to the database is not an easy task, because:

  • I need to make sure that the current database (local or PostgreSQL) upgrade in the same way and no data got lost
  • Some checks in the UI needs to be implemented
  • Calculation needs to be implemented and tested

Overall, this enhancement will take round about 2-3days (a 8h) to implement...and investing this time in the SpoolManager-Plugin is maybe better.

But if you (or other) are willing to raise a "Pull Request" I am more than happy to review and release it.

OllisGit avatar Oct 16 '21 17:10 OllisGit

Hi @OllisGit Ok, lets wait until spoolManager could be able to handle the PostgreSQL database(the existent one with this plugin)

ldiegos avatar Oct 19 '21 05:10 ldiegos