Creoox / creoox-ifc2gltfcxconverter

Public repository of Creoox & XeoKit convertion Tool
Other
12 stars 1 forks source link

Duplicate metaobjects in split output #3

Closed xeolabs closed 5 months ago

xeolabs commented 5 months ago

Just tracking this issue we discussed earlier: when converting an IFC and splitting it into multiple glTF+JSON files, the JSON files contain duplicates of the metaobjects. Would be ideal to ensure no duplicates between the JSONs.

ifcquery commented 5 months ago

To ensure a valid tree, some objects like IfcSite or IfcCurtainWall have to be duplicated. Not the meshes, only the JSON object. The overhead is very low, shouldn't be a problem

xeolabs commented 5 months ago

Yeah duplicated parent elements make sense, but wasn't there a situation where multiple JSON files each contained the full set of duplicated metaobjects? If not then I misunderstood and we can close this issue.

ifcquery commented 5 months ago

I am not aware of such a case. In my tests, the sum of 5 split JSON files was just a few kBytes above the unsplit file, less than 1 %

xeolabs commented 5 months ago

Ah OK I misunderstood - closing this issue then.