Geometry.get_cache

This commit is contained in:
Andrej730
2025-08-06 17:59:37 +05:00
parent 6924012dc8
commit 5b0503e721
+4
View File
@@ -103,6 +103,10 @@ class Geometry(bonsai.core.tool.Geometry):
raise Exception("user_remap is not supported for meshes in EDIT mode")
old_data.user_remap(new_data)
@classmethod
def get_cache(cls) -> Union[ifcopenshell.geom.serializers.hdf5, None]:
return IfcStore.get_cache()
@classmethod
def clear_cache(cls, element: ifcopenshell.entity_instance) -> None:
cache = IfcStore.get_cache()