This commit is contained in:
Andrej730
2025-07-03 17:17:54 +05:00
parent 207db459a7
commit b97dca5d47
2 changed files with 13 additions and 3 deletions
@@ -55,7 +55,7 @@ if has_occ:
except ImportError:
from OCC import TopoDS
def wrap_shape_creation(settings, shape):
def wrap_shape_creation(settings: settings, shape: ifcopenshell_wrapper.Element):
if getattr(settings, "use_python_opencascade", False):
return utils.create_shape_from_serialization(shape)
else: