From feea42f988ff2ca8db6899cda87a97601c9e6c06 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 10 Jul 2024 15:30:11 +0500 Subject: [PATCH] ifcopenshell.draw - add hlr_poly option --- 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 60690807fa..1b0a356679 100644 --- a/src/ifcopenshell-python/ifcopenshell/draw.py +++ b/src/ifcopenshell-python/ifcopenshell/draw.py @@ -60,6 +60,7 @@ class draw_settings: cells: bool = True merge_cells: bool = False include_projection: bool = True + hlr_poly: bool = False prefilter: bool = True include_curves: bool = False unify_inputs: bool = True @@ -137,6 +138,7 @@ def main( if settings.subtract_before_hlr: sr.setSubtractionSettings(W.ALWAYS) + sr.setUseHlrPoly(settings.hlr_poly) sr.setUsePrefiltering(settings.prefilter) sr.setUnifyInputs(settings.unify_inputs)