fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.43k stars 434 forks source link

Show remaining length from Spoolman #1442

Closed AndreKR closed 5 months ago

AndreKR commented 6 months ago

Is your feature request related to a problem? Please describe

When the Spoolman integration is enabled, the remaining weight on the spool is shown:

image

But when I go to Jobs I only see the length of filament needed:

image

This makes sense because the slicer doesn't know the density of the filament, that is only stored in Spoolman.

Describe the solution you'd like

Spoolman knows the density of the filament:

image

So if fluidd would calculate and show the remaining length instead/in addition to the remaining weight, it would make it easier to find spools with suitable amounts of filament remaining.

Describe alternatives you've considered

No response

Additional information

No response

AndreKR commented 6 months ago

Actually fluidd probably doesn't even have to do the calculation. Spoolman shows the remaining length in its UI:

image

So I would assume it's available through the API as well.

matmen commented 6 months ago

Hi, thanks for your request. Would a simple setting to switch between remaining weight and length suffice or would you prefer to see both values at the same time?

AndreKR commented 6 months ago

The ability to switch to length would be fine for me, I don't need to see both at the same time. Not sure if that is really simpler, implementation-wise. 🤷

matmen commented 5 months ago

Thanks. A setting to switch between weight and length units will be included with the next fluidd release :)