Creoox / creoox-ifc2gltfcxconverter

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

Feature request: option to center a model's coordinates during conversion #5

Closed xeolabs closed 2 months ago

xeolabs commented 5 months ago

Can we add an option to center a model during conversion? It would be fine to insert an extra root node into the glTF scene hierarchy

If we could even tag that node with a special reserved name value (eg. "ifc2gltf-centering"), then xeokit-convert's convert2xkt tool could have the option to ignore that node, to not apply the centering during glTF->XKT conversion.

ifcquery commented 5 months ago

Yes, makes sense and not a big deal to add. Will put the option "centerModelAtOrigin" in the input config file.

ifcapps commented 2 months ago

Implemented meanwhile