From 1e5c51e5b2b7156aab8a6ea3664705a76f3bc003 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 24 Jun 2024 21:48:54 +0200 Subject: [PATCH] Update main.py --- src/ifcopenshell-python/ifcopenshell/geom/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index 231b30b9ba..9ecaa64a24 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -364,8 +364,8 @@ def consume_iterator(it, with_progress=False): break -def iterate(settings, file_or_filename, num_threads=1, include=None, exclude=None, with_progress=False, cache=None): - it = iterator(settings, file_or_filename, num_threads, include, exclude) +def iterate(settings, file_or_filename, num_threads=1, include=None, exclude=None, with_progress=False, cache=None, geometry_library: str = "opencascade"): + it = iterator(settings, file_or_filename, num_threads, include, exclude, geometry_library) if cache: hdf5_cache = serializers.hdf5(cache, settings) it.set_cache(hdf5_cache)