Skip to content
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

Q: How to query parameter of filament in a macro? #509

Open
cs301cs301 opened this issue Oct 10, 2024 · 1 comment
Open

Q: How to query parameter of filament in a macro? #509

cs301cs301 opened this issue Oct 10, 2024 · 1 comment

Comments

@cs301cs301
Copy link

Is there a way to query the filament parameters from the loaded spool in a Klipper macro?
e.g.

[gcode_macro SHOW_SPOOL_PARAMETER]
gcode:
    M118 {("Pressure Advance: ”, spool_id.filament.pressure_advance)}

Then you could use it to automatically adjust the retract, PA, etc. depending on the filament.

@bofh69
Copy link

bofh69 commented Oct 20, 2024

A different way to solve that is to configure your slicer from the data in spoolman.
My program https://github.com/bofh69/spoolman2slicer does that for superslicer and OrcaSlicer. It should be easy to configure it for other slicers too.

You run it and it creates a file per filament from template files and the spoolman data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants