opensourceBIM / GltfSerializers

BIMserver that converts a model to binary glTF
17 stars 10 forks source link

gltf serializer does not give element guid for all elements. #10

Open rashmi-93 opened 5 years ago

rashmi-93 commented 5 years ago

when we download model using gltf serializer, it gives element guid data as "ifcId" for only those elements which has "type" property as "Mesh". So ifcId is element guid that bimserver knows. IfcId get returned only for child level property (having Mesh type). I want identifier for whole elements(parent and children) that bimserver knows.

rubendel commented 5 years ago

Not sure if I understand correctly. Are you talking about the IFC decomposes/contains relations? Or would you simply want to have the IFC GUID in the the "Node" attributes as well?

As you have probably seen, the current glTF2 serializer outputs a flat "hierarchy", I don't see that changing to a tree hierarchy quickly as almost no tools showing glTF2 actually do anything with the hierarchy.