You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Upload the file to the printer via Octoprint
octoprint_client = OctoRest(url=OCTOPRINT_URI, apikey=API_KEY)
response = octoprint_client.upload(
file=f'/tmp/plate.gcode}',
location='sdcard',
print=True
)
Octoprint receives the command, displaying a message saying "Successfully streamed file to printer".
However, I never see the file on the printer SD Card (seems to be only stored on Octoprint memory).
Unsurprisingly, the printer never starts printing.
Any idea where to start investigating?
The text was updated successfully, but these errors were encountered:
The plugin actually only lists 3mf files from the bambu printer. If you want to go your approach I recommend exporting as 3mf and try using that in your api upload command.
I have been trying to automate printing of an already sliced file (sliced with Bambu studio and exported as gcode).
I tried to leverage https://github.com/dougbrion/OctoRest in order to reuse API code.
My code is therefore very simple:
Octoprint receives the command, displaying a message saying "Successfully streamed file to printer".
However, I never see the file on the printer SD Card (seems to be only stored on Octoprint memory).
Unsurprisingly, the printer never starts printing.
Any idea where to start investigating?
The text was updated successfully, but these errors were encountered: