black ifcopenshell-python

This commit is contained in:
htlcnn
2020-11-01 20:08:27 +07:00
committed by Dion Moult
parent 2c9d6a47f4
commit 286c77e3b0
27 changed files with 1502 additions and 979 deletions
@@ -21,15 +21,18 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
def _has_occ():
try:
import OCC.Core.BRepTools
return True
except ImportError:
pass
try:
import OCC.BRepTools
return True
except ImportError:
pass
@@ -41,5 +44,5 @@ has_occ = _has_occ()
if has_occ:
from . import occ_utils as utils
from .main import *