Help with temperature offsets #189
-
I'm not sure if maybe I have something set up wrong. I'm hoping someone out there can point me in the right direction. I have the temperature offsets assigned in the SpoolManager plugin but when I go to print through the ContinuousPrint plugin the offsets are not applied. Is there some setting that needs to be checked or updated when I am setting up the ContinuousPrint plugin? Is this a feature that is supported? Is there some workaround using a custom script? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Edit: Turns out unchecking and rechecking the temperature offsets did not solve the issue. However, as a workaround I found that if I select the spool before each item in the print job is printed the offsets get applied. Is it possible to have the offsets carry over or do I have to select the same spool every time I go to print something? |
Beta Was this translation helpful? Give feedback.
-
Hey @mcharlee - I only use spoolmanager for filament tracking and haven't touched the temp offsets, so this is mostly exploratory. It looks like the temp offset is applied after the spoolmanager settings are saved, so that explains the beheavior you see (selecting the spool applies the offsets). I can't find anywhere in OctoPrint's core code that would reset the offset after a print finishes, however. CPQ uses a pretty standard way for printing files as well, so I don't know why it would be ignoring the offset you apply. Can you confirm that the temperature offsets are applied on subsequent prints when printing without CPQ? |
Beta Was this translation helpful? Give feedback.
Thanks for confirming - that and your link actually tells me a great deal!
Looks like SpoolManager calls its api from the browser (see here) when a print is about to start, in order to set the temperature offsets. Since CPQ sends its print command directly to OctoPrint, this flow is missed.
It also clarifies #185 - since filament checks are done in JS as well, they're ignored by CPQ when starting a print. Looks like we'll need to integrate a bit more with SpoolManager in both cases by explicitly calling the
/allowedToPrint
and/startPrintConfirmed
endpoints and handling the responses.I opened #191 to track this improvement. It'll take a little while to get this in - I'm away from home at…