-
-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add Spoolman Compatability #4771
base: main
Are you sure you want to change the base?
Conversation
-Spoolman utility class that fetches the spools, creates filament presets, and updates filament presets -Add config entries for all needed values
make the config argument const. Allows more flexibility when calling it and in its current implementation, non-const access is not needed.
add force and detach options to create function move call to get_filament_id past failure checks in the create function. It takes a few seconds to run and it is better to not run it if you don't have to create get_name_from_spool function
Wouldn't load the filament if the "inherits" preset is not a base preset. The check is now done and it gets the base preset's parent if it needs to.
Added dialog itself Added as it an item on the PlaterPresetCombobox New extra renderer that renders a color in a dataview cell
# Conflicts: # src/libslic3r/Preset.cpp # src/slic3r/CMakeLists.txt
Merge in previous commit had a conflict that caused compile error. Refactor code from merge to make it more readable Add Refresh statement in the update to fix weird artifacting after selecting certain host types
Add Spoolman::is_server_valid() Check validity of server in SpoolmanImportDialog and in Tab when clicking the update buttons Hide the update buttons if Spoolman ID is 0 Check results from spool update when updating spools
Also minor fix regarding hiding scrollbars
This is great! Big kudos for the work. |
If Spoolman could be integrated like this, it would be great. Many thanks for the work . I hope it will be implemented |
can't wait to see this integrated =) |
I was taking a bit of a break from this to work on the CMake system overhaul PR. Moving back to this to hopefully get it finished up 😊 |
…poolman-support # Conflicts: # src/libslic3r/Preset.cpp
@Ocraftyone this integration you did was awesome!!! |
Can't wait to see this released :) |
Spoolman is now able to pull from a global database of filaments, materials and manufacturers (see https://github.com/Donkie/SpoolmanDB), should you be interested in implementing it as a feature (say to search for your new spool directly in the slicer) I'd be willing to help test/develop! |
I implemented the setting into the printer profile because I figured it would allow for more flexibility, but I also very much understand the idea of having it as an application specific setting rather than printer. Honestly, that would cut down on the possible issue of having two different spools from two different Spoolman instances with the same ID.
I also do like the idea of having a sort of Spoolman dashboard where you add the filament presets to Orca and even pull/create spools based on SpoolmanDB like suggested above, but I would really like to get a fully functional implementation before expanding to ideas like that. I would love to have icons designed when/if I implement that. I really hate graphic design XD What I was really looking for guidance on was how to display the filament run out warning. The current way the notification is being displayed is way too subtle, but I also feel fully interrupting the user with a dialog could be cumbersome and annoying at times. |
|
2- yes i'm suggesting using popup dialogs with "dont show again" option. at least for critical level. |
I wouldn't commit the icons quite yet. At the current pace of this pr, its going to be a bit before getting to setting up those changes. Honestly, they will probably be another pr. |
let me know when you need it |
Move the function to fix the issue with linking during the build of the orca profile validator
Is there any progress on this? |
This is amazing work, thank you! Is there a Orca release this is slated for? |
# Conflicts: # src/libslic3r/Preset.cpp
It wasn't pulling from the server, so it wasn't truly updating the spool
Add Spoolman support to OrcaSlicer!
Spoolman is a self-hosted database of your spools of filament and how much has been used. This update now allows OrcaSlicer to directly access your Spoolman database to create and update filament profiles. One central database of all of your spool settings means less time inputting filament parameters.
Currently, this implementation is designed to only work with Klipper printers that have moonraker also set up with Spoolman. A macro can then be called at the beginning of each spool's custom gcode to load the spool via moonraker. Moonraker will then track how much filament was used and report that back to Spoolman.
Demo:
Filament config values that are set
Spoolman Specific:
Filament Options:
Other ideas to expand functionality:
Possible Changes:
Statistics are currently a config value that is updated upon request, but I am considering making it so they are just pulled when you select a Spoolman spoolThis has been implemented.Moonraker Docs on how to setup Spoolman integration: https://moonraker.readthedocs.io/en/latest/configuration/#spoolman
Spoolman Project: https://github.com/Donkie/Spoolman
fixes #2955