From cc3f2aa28d4891b00668b8897219cea50d6fbe6b Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 1 Jun 2025 09:21:59 +0200 Subject: [PATCH] Expose mirror-y in draw.py --- 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 e872a7bdaf..55fac81626 100644 --- a/src/ifcopenshell-python/ifcopenshell/draw.py +++ b/src/ifcopenshell-python/ifcopenshell/draw.py @@ -75,6 +75,7 @@ class draw_settings: include_curves: bool = False unify_inputs: bool = True arrange_spaces: bool = False + mirror_y: bool = False def main( @@ -169,6 +170,7 @@ def main( sr.setUseHlrPoly(settings.hlr_poly) sr.setUsePrefiltering(settings.prefilter) sr.setUnifyInputs(settings.unify_inputs) + sr.setMirrorY(settings.mirror_y) try: sh = ["none", "full", "left"].index(settings.storey_heights)