Cura: Write/read object names in 3MF

Created on 9 Jun 2019  路  6Comments  路  Source: Ultimaker/Cura

Currently, writing to 3MF files does not save the object name (this is the object's file name when imported into cura). This means that upon opening the 3MF file the objects are given generic names (now the name of the 3MF file). It would be nice to have the original file/object name stored in the 3MF and assigned in cura. This would help differentiate objects that may be similar when a 3MF file is opened.

Cura FixeSolved New Feature

Most helpful comment

You can always add a metadata type, I would guess:
https://github.com/3MFConsortium/spec_core/blob/master/3MF%20Core%20Specification.md#341-metadata
This seems to be how PrusaSlicer does this from the one example I checked:
<metadata type="object" key="name" value="z-axis-top-mod.stl"/>

All 6 comments

I wish you good luck with this as I have previously asked for the object file names to be saved in the 3mf so that when a project is saved and later loaded, hitting F5 will reload the models. The cura devs refuse to entertain the idea.

That's a little different. That would require the complete path to be saved, and if you open on another system (or operating system) there is no guarantee that even exists. Having the object names would at least let you search for the models on the second system.

We'll have to look into what the 3MF supports.

You can always add a metadata type, I would guess:
https://github.com/3MFConsortium/spec_core/blob/master/3MF%20Core%20Specification.md#341-metadata
This seems to be how PrusaSlicer does this from the one example I checked:
<metadata type="object" key="name" value="z-axis-top-mod.stl"/>

Devs see Cura-6587 for our reference.

We created a ticket for it and it is currently in our backlog.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

muhammadelmogy picture muhammadelmogy  路  3Comments

DmitryBychkov picture DmitryBychkov  路  3Comments

dstulken picture dstulken  路  3Comments

mubarak111nsu picture mubarak111nsu  路  3Comments

konvoj picture konvoj  路  3Comments