mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 08:13:14 +00:00
note on OCC imports
This commit is contained in:
@@ -29,6 +29,9 @@ geometry. See also :mod:`ifcopenshell.util.shape` for deriving quantities.
|
|||||||
|
|
||||||
|
|
||||||
def _has_occ():
|
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:
|
try:
|
||||||
import OCC.Core.BRepTools
|
import OCC.Core.BRepTools
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user