Support --element-hierarchy in .glb output

This commit is contained in:
Thomas Krijnen
2025-11-17 14:05:59 +01:00
parent bf0aa247a0
commit d6daa64c48
4 changed files with 118 additions and 35 deletions
+2
View File
@@ -38,6 +38,8 @@ private:
json json_, node_array_;
boost::optional<json> ecef_transform_, north_rotation_;
int bufferViewId;
std::map<const IfcUtil::IfcBaseEntity*, size_t> node_indices_;
std::vector<size_t> roots_;
int writeMaterial(const ifcopenshell::geometry::taxonomy::style::ptr style);
public: