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

[FR]: Move file from octoprint to SD card as part of Orcaslicer -> Octoprint workflow #69

Open
ulmeck opened this issue Jan 26, 2025 · 1 comment

Comments

@ulmeck
Copy link

ulmeck commented Jan 26, 2025

Is your feature request related to a problem? Please describe.
With the recent unpleasaness, I'm trying to remove as much of the Bambu pipeline as possible. So my preferred workflow would be STL -> Orcaslicer -> Sliced .3mf -> Octoprint -> Bambu p1p.

Right now this mostly works if you select the Octo/Klipper as a 3rd party host and poke it into octoprint. However at this point the file (obviously) is on the octoprint server, not the sd card, and for the life of me I can't see how to transfer it over without downloading and reuploading to SD within octoprint. Apparently Orcaslicer hard codes it as a 'local' upload instead of a 'sdcard' upload, and the simple file manager in Octoprint doesn't seem to have a 'upload local file to SD Card' option, just 'upload new file to SD card'. If you print a local file, octoprint tries (apparently) to interpret the local file as gcode and eats itself.

Describe the solution you'd like
When a local file is printed using the Octoprint Bambu plugin, it should first upload the file to the SD card, wait for the upload to finish, and then continue with the print. Alternatively, perhaps it could force all uploads to be treated as uploaded to origin 'sdcard' instead of origin 'local'.

Additional context
https://docs.octoprint.org/en/master/api/files.html#upload-file-or-create-folder
Image

Image

Image

Image

@ulmeck ulmeck changed the title [FR]: [FR]: Move file from octoprint to SD card as part of Orcaslicer -> Octoprint workflow Jan 26, 2025
@jneilliii
Copy link
Owner

This will probably be changed with the next release of OctoPrint. There are some needed changes in the underlying core to allow this type of workflow and I was already planning on making it work with local files.

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