Zuverlässige Metadaten nach GLTF

Hello,

Does instaLOD ensure that metadata from various CAD formats can be properly transferred into GLTF extras?

So that the structure remains intact and, for example, each node still contains the correct part number.

Thank you,

Daniel

Hallo,

ist es mit instaLOD sichergestellt, dass Metadaten aus den unterschiedlichen CAD Formaten sauber in Extras von GLTF überführt werden können?

Sodass weiterhin die Struktur sauber erhalten bleibt und an jedem Knoten z.B. die passende Teilenummer enthalten ist.

vielen Dank,

Daniel

Hello @bravemaple and welcome to our community!

InstaLOD preserves CAD metadata, such as attributes, during processing. When exporting using GLTF, to preserve that information, you can enable InstaLOD Metadata from the export panel.

It’s also possible to view these attributes from the Object Inspector panel found in the bottom left corner of the main UI by default. They’ll appear under Attributes for the selected object.

Hope this helps! If you have any questions, feel free to reach out.

Thanks!

Thanks for the quick reply! And can you confirm that the Metadata will be stored as „Extras“ in GLTF?

Hello @bravemaple,

The exported model will not have metadata attached as GLTF Extras, instead, InstaLOD stores the metadata in a custom GLTF extension named “INSTALOD_node_metadata”, embedded into the exported GLTF file. If having this information in “Extras” is required for your workflow, it should be possible to re-interpret the metadata from the processed file present in the extension mentioned above with a script.

The script would have to read the file, find the “INSTALOD_node_metadata” extension, and copy each attribute key/value pair into the Extras section of that file. There are only 3 types of values that can carry data: Int32, Double, or Strings, and Keys are raw and unsanitized, which should map to exactly what you might need from your source CAD data.

I hope this helps, and feel free to reach out if you have any questions!

Thanks for the info and the proposed way of post processing!

1 Like