mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Geometry.get_cache
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user