xeokit / xeokit-convert

Convert various AEC model formats for efficient viewing in the browser with xeokit.
https://xeokit.github.io/xeokit-convert/docs/
Other
49 stars 52 forks source link

Reuse geometries from IFC #62

Open sergoonok opened 2 years ago

sergoonok commented 2 years ago

Hi! I'm trying to use XKT conversion from IFC with the -g or --disablegeoreuse option to disable geometry reuse, but the file size does not change. At this point, can I disable geometry reuse only for GLTF files? Based on this code snippet, the "reuseGeometries" option is not passed to the IFC converter? https://github.com/xeokit/xeokit-convert/blob/fa954856825e360e193a2e2e9eae857894de7724/src/convert2xkt.js#L208-L241

xeolabs commented 2 years ago

Hi, yes, that option is only applicable to glTF at the moment. I will wire it up for IFC, but not any time soon. Anyone volunteering to wire that up for IFC, I'll merge!