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

Exporting single plate exports all metadata previews #5927

Open
1 of 2 tasks
spuder opened this issue Feb 9, 2025 · 3 comments · May be fixed by #5928
Open
1 of 2 tasks

Exporting single plate exports all metadata previews #5927

spuder opened this issue Feb 9, 2025 · 3 comments · May be fixed by #5928
Assignees
Labels
bug Something isn't working

Comments

@spuder
Copy link

spuder commented Feb 9, 2025

Bambu Studio Version

1.10.1.50

Where is the application from?

Bambu Lab Official website

OS version

Mac OSX 15.0

Additional system information

No response

Printer

P1S

How to reproduce

  1. Create a 3mf file with multiple plates
Image
  1. Slice and export a single plate to foobar.3mf
Image
  1. Unzip foobar.3mf, observe that Metadata/plate_1.png and Metadata/plate_2.png both exist
Image

Actual results

Preview metadata images are generated for all plates, not just the generated plates.

Image

Expected results

The slicer should only export the plate preview images for the exported plate (e.g. Metadata/plate_1.png

Project file & Debug log uploads

Cube.3mf.zip

Checklist of files to include

  • Log file
  • Project file
@spuder spuder added the bug Something isn't working label Feb 9, 2025
@spuder spuder changed the title Exporting single plate mistakenly exports all metadata previews Exporting single plate exports all metadata previews Feb 9, 2025
@spuder
Copy link
Author

spuder commented Feb 9, 2025

Bug likely lies in this file.

https://github.com/bambulab/BambuStudio/blob/master/src/libslic3r/Format/bbs_3mf.cpp#L5723

Specifically the _add_thumbnail_file_to_archive function which needs to check m_export_plate_idx variable.

@spuder spuder linked a pull request Feb 9, 2025 that will close this issue
@spuder
Copy link
Author

spuder commented Feb 9, 2025

Draft PR: #5928

Currently untested. Feedback welcome.

@zhimin-zeng-bambulab
Copy link
Collaborator

@spuder Thanks for reporting this issue and for providing the corresponding PR! We will refer to your PR to make corresponding changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants