From 93502a05eae8b38252a8d44ae8b3a373fc142272 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 25 Aug 2023 12:43:32 +0200 Subject: [PATCH] Update draw.py --with-unify-inputs [True] --- src/ifcopenshell-python/ifcopenshell/draw.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/draw.py b/src/ifcopenshell-python/ifcopenshell/draw.py index df4169ddd8..ce2d6278df 100644 --- a/src/ifcopenshell-python/ifcopenshell/draw.py +++ b/src/ifcopenshell-python/ifcopenshell/draw.py @@ -61,6 +61,7 @@ class draw_settings: include_projection: bool = True prefilter: bool = True include_curves: bool = False + unify_inputs: bool = True def main(settings, files, iterators=None, merge_projection=True, progress_function=DO_NOTHING): @@ -135,6 +136,7 @@ def main(settings, files, iterators=None, merge_projection=True, progress_functi sr.setSubtractionSettings(W.ALWAYS) sr.setUsePrefiltering(settings.prefilter) + sr.setUnifyInputs(settings.unify_inputs) try: sh = ["none", "full", "left"].index(settings.storey_heights)