mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +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:
@@ -231,9 +231,9 @@ class IfcDiff:
|
||||
def get_settings(self, ifc: ifcopenshell.file) -> ifcopenshell.geom.settings:
|
||||
settings = ifcopenshell.geom.settings()
|
||||
# Are you feeling lucky?
|
||||
settings.set(settings.DISABLE_BOOLEAN_RESULT, True)
|
||||
settings.set("disable-boolean-result", True)
|
||||
# Are you feeling very lucky?
|
||||
settings.set(settings.DISABLE_OPENING_SUBTRACTIONS, True)
|
||||
settings.set("disable-opening-subtractions", True)
|
||||
# Facetation is to accommodate broken Revit files
|
||||
# See https://forums.buildingsmart.org/t/suggestions-on-how-to-improve-clarity-of-representation-context-usage-in-documentation/3663/6?u=moult
|
||||
body_contexts = [
|
||||
|
||||
Reference in New Issue
Block a user