diff --git a/src/ifcopenshell-python/ifcopenshell/geom/__init__.py b/src/ifcopenshell-python/ifcopenshell/geom/__init__.py index 38021e325f..604e5b8e37 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/__init__.py @@ -29,6 +29,9 @@ geometry. See also :mod:`ifcopenshell.util.shape` for deriving quantities. def _has_occ(): + # NOTE: All pythonocc versions since 7.4.0 are using OCC.Core. + # Previous versions (pythonocc<=0.17.3) are using just OCC. + try: import OCC.Core.BRepTools