Octoprint settings functionality expanded to allow upload to RepRapFi…#4028
Octoprint settings functionality expanded to allow upload to RepRapFi…#4028lordofhyphens merged 2 commits intoslic3r:masterfrom
Conversation
…rmware on a Duet controller.
lordofhyphens
left a comment
There was a problem hiding this comment.
You should rename "octoprint_host", etc to something more generic as to not confuse people reading the source.
lordofhyphens
left a comment
There was a problem hiding this comment.
When doing the rename, add "octoprint_*" as aliases in PrintConfig.cpp to support older configs.
|
@lordofhyphens I wasn't sure how to implement the aliases you mentioned, so I added octoprint_host as a legacy option in PrintConfig.cpp, using the Bed_Size option as a guide. |
|
Looks good, thanks for the commit. This looks generic enough that if someone wants to continue to add support for another host program that doesn't need more than what is provided we're still good to go. |
|
If it needs a refactor for the next one, then we'll deal with it then. |
|
This is great to have (!!!)
this is with 'Overwrite existing file' and 'Start print' enabled. Have tried other settings, all consistent with not getting file loaded on to SD card. |
|
@rob-miller I don't have a DuetWifi to play with, but this code was developed using a Duet 0.6 over ethernet, and with @chrishamm's firmware 1.18-b2. I didn't test with 1.19 as it didn't appear to be stable yet. |
|
Thanks, saw that on the duet forum. Surprised the behaviour is different on mine - initially thought it worked until realised the file was the old one. happy to debug this offline (email in my gh profile) |
…rmware on a Duet controller.
Some way towards solving #4022 although I don't know about any other print servers at this time.