Support 3MF Core spec for object.name on import and renaming objects #17110
Labels
Status: Under Investigation
The issue has been confirmed or is assumed to be likely to be a real issue. It's pending discussion.
Type: New Feature
Adding some entirely new functionality.
Is your feature request related to a problem?
Yes, Cura overwrites existing object.name in 3MF files.
Cura adds object.name for each object when exporting in 3MF. The name that Cura sets is the original imported filename incremented with a number for each additional object in the file like Filename, Filename (1), Filename (2), etc. However, Cura ignores object.name attribute in imported 3MF files and overwrites them with the generic filename on export.
Since the object.name attribute is used to name individual objects, it would be useful if Cura named imported objects according to the existing object.name if already set as well as allowed renaming objects so that exported 3MF files would have contextual object names that users set.
Describe the solution you'd like
Cura could have a right click option or editable textbox on objects in the object list for users to set object names.
Cura should use the existing or user specified object name for object.name in saved 3MF files.
Describe alternatives you've considered
Object naming through object.name is already supported in Prusaslicer and Blender (through the blender 3MF addon)
As seen in the Prusaslicer screenshot below for a test multiobject print, individual objects in the model 3MF file have descriptive names that give the users context what an object is.
Affected users and/or printers
All users using 3MF files. All users with dual or multi extrusion.
Additional information & file uploads
Test 3MF file with two objects with different names DC-linear-dual-v2.zip
Another test 3MF file with multiple named objects and colors specified: https://www.printables.com/model/228038-ninja-pot-01
The text was updated successfully, but these errors were encountered: