#2053. Revert strict tolerance due to side-effects with caching

This commit is contained in:
Dion Moult
2022-03-16 19:11:37 +11:00
parent 44b786a21b
commit b39a0d1a7c
+2 -1
View File
@@ -163,7 +163,8 @@ class IfcImporter:
self.settings = ifcopenshell.geom.settings()
self.settings.set_deflection_tolerance(self.ifc_import_settings.deflection_tolerance)
self.settings.set_angular_tolerance(self.ifc_import_settings.angular_tolerance)
self.settings.set(self.settings.STRICT_TOLERANCE, True)
# See https://github.com/IfcOpenShell/IfcOpenShell/issues/2053
# self.settings.set(self.settings.STRICT_TOLERANCE, True)
self.settings_native = ifcopenshell.geom.settings()
self.settings_native.set(self.settings_native.INCLUDE_CURVES, True)
self.settings_2d = ifcopenshell.geom.settings()