This commit is contained in:
Andrej730
2026-03-13 18:28:51 +05:00
parent 1576302caf
commit eba798c544
30 changed files with 142 additions and 75 deletions
@@ -33,14 +33,14 @@ def _has_occ():
# Previous versions (pythonocc<=0.17.3) are using just OCC.
try:
import OCC.Core.BRepTools
import OCC.Core.BRepTools # pyright: ignore[reportMissingImports]
return True
except ImportError:
pass
try:
import OCC.BRepTools # noqa: F401
import OCC.BRepTools # noqa: F401 # pyright: ignore[reportMissingImports]
return True
except ImportError: