synman / bambu-printer-manager

A pure python library for managing Bambu Lab printers
Do What The F*ck You Want To Public License
18 stars 3 forks source link

Get current 3mf png does not work #6

Closed Android1338 closed 8 months ago

Android1338 commented 8 months ago

I've deployed your container and all works very well but the "Get current 3mf png" (thumbnail of printing model).

image

If I'll open the missing image I receive of course the following message: image Link: /api/get_current_3mf_png

Is there something to fix on my site? I've defined the following environment variables for the container:

I'm using a Bambu P1S on latest firmware release 01.05.02.00.

synman commented 8 months ago

This is likely one of two things.

Regarding the second point, you can also create a storage link between your host and the BPM container, linking to the container's /bambu-printer-app/api/uploads directory. You can then at least have access to what is in the BPM file "cache". Keep in mind, this does not upload the actual 3mf to the printer. It merely gives BPM access to it.

As I add additional features such as cancel objects and better AMS mapping support, solving this underlying issue will become more important.

I'm inclined to mark it as a bug for now.