The DAE (collade) exporter in Rhino doesn’t seem to export the “name” property.
- create a new file in Rhino
- create a cube
- name the cube “Cube”
- export the cube to Collada (cube.dae)
- open cube.dae in a text editor:
There are 5 nodes in “visual_scene” element. The first 4 are the camera’s for which the “name” attribute is exported. The fifth, our cube, however is missing the name=“Cube” attribute.
Besides objects, the attribute is also not exported for materials and lights, and possibly other objects.
Use case: I am using collada to export to blender to make renderings. Blender uses the “id” att to name objects when the “name” at is missing. As the “ids” are generated UUIDs by Rhino when exported, it is hard to find objects in Blender, although everything is there!
Implementation note: when exporting to DAE, Rhino could possible generate names for unnamed subpart objects in Rhino. For examples the geomtetry that is exported for the Cube node above, could be auto-named “Cube-mesh” or “Cube-geometry”. This way, those objects have nice names in Blender as well.