mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Reduce (arbitrary) element checking threshold down to 3 for georef guessing.
This commit is contained in:
@@ -689,7 +689,7 @@ class IfcImporter:
|
|||||||
def get_offset_point(self) -> Union[npt.NDArray[np.float64], None]:
|
def get_offset_point(self) -> Union[npt.NDArray[np.float64], None]:
|
||||||
elements_checked = 0
|
elements_checked = 0
|
||||||
# If more than these elements aren't far away, the file probably isn't absolutely positioned
|
# If more than these elements aren't far away, the file probably isn't absolutely positioned
|
||||||
element_checking_threshold = 10
|
element_checking_threshold = 3
|
||||||
for element in self.file.by_type("IfcElement"):
|
for element in self.file.by_type("IfcElement"):
|
||||||
if not element.Representation:
|
if not element.Representation:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user