mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Use latest syntax for setting geometry settings #5299
Also fixed: - old include_curves use - missing use of 'include_curves' in ifcopenshell.draw
This commit is contained in:
@@ -19,6 +19,7 @@ class TestGeomSettings:
|
||||
assert settings.get("use-python-opencascade") is False
|
||||
assert "USE_PYTHON_OPENCASCADE = False" in repr(settings)
|
||||
|
||||
# Testing both new and old ways of setting geometry settings.
|
||||
if ifcopenshell.geom.has_occ:
|
||||
settings.set("use-python-opencascade", True)
|
||||
settings.set(settings.USE_PYTHON_OPENCASCADE, True)
|
||||
|
||||
Reference in New Issue
Block a user