[GH-ISSUE #1152] [Feature]: Allow using the name of the file instead of using metadata #830

Closed
opened 2026-05-06 12:33:13 +02:00 by BreizhHardware · 3 comments

Originally created by @smandon on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1152

Originally assigned to: @maziggy on GitHub.

Problem or Use Case

When sending a job to the virtual printer, the name used for the new archive is apparently taken from some metadata in the file. I couldn't find a way in bambu studio to edit this name and it is whatever the original file creator set.
It would be great to be able to use the same name as the name of the uploaded file by default, as this name can be edited in bambu studio when sending.

I guess when sending directly to the printer the name is also taken from metadata, maybe the same logic could be applied?

Proposed Solution

Add an option to use the name of uploaded files to the virtual printer for new archives instead of relying only on metadata.

Alternatives Considered

Another option would be to at least allow changing the name when reviewing new archived items. Currently we have to review, archive then edit.

Feature Category

Print Archiving

Priority

Would improve my workflow

Mockups or Examples

No response

Contribution

  • I would be willing to help implement this feature

Checklist

  • I have searched existing issues to ensure this feature hasn't already been requested
Originally created by @smandon on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1152 Originally assigned to: @maziggy on GitHub. ### Problem or Use Case When sending a job to the virtual printer, the name used for the new archive is apparently taken from some metadata in the file. I couldn't find a way in bambu studio to edit this name and it is whatever the original file creator set. It would be great to be able to use the same name as the name of the uploaded file by default, as this name can be edited in bambu studio when sending. I guess when sending directly to the printer the name is also taken from metadata, maybe the same logic could be applied? ### Proposed Solution Add an option to use the name of uploaded files to the virtual printer for new archives instead of relying only on metadata. ### Alternatives Considered Another option would be to at least allow changing the name when reviewing new archived items. Currently we have to review, archive then edit. ### Feature Category Print Archiving ### Priority Would improve my workflow ### Mockups or Examples _No response_ ### Contribution - [ ] I would be willing to help implement this feature ### Checklist - [x] I have searched existing issues to ensure this feature hasn't already been requested
BreizhHardware 2026-05-06 12:33:13 +02:00
Author
Owner

@maziggy commented on GitHub (Apr 29, 2026):

Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you.


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4340896864 --> @maziggy commented on GitHub (Apr 29, 2026): Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/maziggy/bambuddy) — it helps others discover the project!
Author
Owner

@smandon commented on GitHub (May 1, 2026):

I checked with the latest daily image.

If the 3mf file has a title set in the 3D/3dmodel.model metadata file then the name shown in the review card correctly uses the file name but when archived the card still shows the name from metadata.

Image Image

If the title is empty in the 3D/3dmodel.model file, then it always uses the file name in both the review and archive cards, but I guess it was already the case before the change. The name still has ".gcode" at the end, only the ".3mf" was removed from the file name.

Image
<!-- gh-comment-id:4358814869 --> @smandon commented on GitHub (May 1, 2026): I checked with the latest daily image. If the 3mf file has a title set in the `3D/3dmodel.model` metadata file then the name shown in the review card correctly uses the file name but when archived the card still shows the name from metadata. <img width="1476" height="217" alt="Image" src="https://github.com/user-attachments/assets/8355761d-882e-4043-9c12-ef528ec892c8" /> <img width="351" height="533" alt="Image" src="https://github.com/user-attachments/assets/d510a71f-e703-4ce5-a0c1-d6705c3592e1" /> If the title is empty in the `3D/3dmodel.model` file, then it always uses the file name in both the review and archive cards, but I guess it was already the case before the change. The name still has ".gcode" at the end, only the ".3mf" was removed from the file name. <img width="351" height="533" alt="Image" src="https://github.com/user-attachments/assets/a9868e09-1a83-4fe6-89a0-66139dbb4771" />
Author
Owner

@maziggy commented on GitHub (May 1, 2026):

Thanks for the careful retest, @smandon — both observations land. Pushed the fix to dev:

  1. .gcode.3mf is now properly stripped. The previous code used Path(name).stem which only drops the last suffix. New helper resolve_display_stem() strips .gcode.3mf / .3mf / .gcode so Plate_1.gcode.3mfPlate_1 (no more leftover .gcode).

  2. The review card and the archive now show the same name. The pending-uploads response now exposes a computed display_name that mirrors exactly what the archive's print_name will end up being. So
    whatever the Archive name source toggle is set to (Settings → Virtual Printer), both views agree:

    • Metadata (default): both show the embedded 3MF title, falling back to the cleaned-up filename when the title is empty.
    • Filename: both show the cleaned-up filename, ignoring the creator-baked title.

Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you.


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4358915902 --> @maziggy commented on GitHub (May 1, 2026): Thanks for the careful retest, @smandon — both observations land. Pushed the fix to `dev`: 1. **`.gcode.3mf` is now properly stripped.** The previous code used `Path(name).stem` which only drops the last suffix. New helper `resolve_display_stem()` strips `.gcode.3mf` / `.3mf` / `.gcode` so `Plate_1.gcode.3mf` → `Plate_1` (no more leftover `.gcode`). 2. **The review card and the archive now show the same name.** The pending-uploads response now exposes a computed `display_name` that mirrors exactly what the archive's `print_name` will end up being. So whatever the *Archive name source* toggle is set to (Settings → Virtual Printer), both views agree: - **Metadata** (default): both show the embedded 3MF title, falling back to the cleaned-up filename when the title is empty. - **Filename**: both show the cleaned-up filename, ignoring the creator-baked title. Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/maziggy/bambuddy) — it helps others discover the project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#830
No description provided.