bcf - remove lru_cache in build_viewpoint #4857

disabling it as it currently won't allows users to create a different viewpoint for the same IFC element (in the same or other bcf file) and also entity position can change between `build_viewpoint` calls
This commit is contained in:
Andrej730
2024-08-09 17:53:37 +05:00
parent 0f03e412c3
commit 1c95f6cc3f
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -1,6 +1,5 @@
import uuid
import zipfile
from functools import lru_cache
from typing import Any, Iterable, Optional
import numpy as np
@@ -206,7 +205,6 @@ class VisualizationInfoHandler:
)
@lru_cache(maxsize=None)
def build_viewpoint(element: entity_instance) -> mdl.VisualizationInfo:
"""
Return a BCF viewpoint of an IFC element.
-2
View File
@@ -1,6 +1,5 @@
import uuid
import zipfile
from functools import lru_cache
from typing import Any, Iterable, Optional
import numpy as np
@@ -206,7 +205,6 @@ class VisualizationInfoHandler:
)
@lru_cache(maxsize=None)
def build_viewpoint(element: entity_instance) -> mdl.VisualizationInfo:
"""
Return a BCF viewpoint of an IFC element.