mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Restore OCC 0.18.1 support
This commit is contained in:
committed by
Dion Moult
parent
1d6f0c8e63
commit
d87ea93e89
@@ -7,7 +7,11 @@ import svgwrite
|
||||
from . import annotation
|
||||
from mathutils import Vector
|
||||
from mathutils import geometry
|
||||
from OCC.Core import BRep, BRepTools, TopExp, TopAbs
|
||||
|
||||
try:
|
||||
from OCC.Core import BRep, BRepTools, TopExp, TopAbs
|
||||
except ImportError:
|
||||
from OCC import BRep, BRepTools, TopExp, TopAbs
|
||||
|
||||
class External(svgwrite.container.Group):
|
||||
def __init__(self, xml, **extra):
|
||||
|
||||
Reference in New Issue
Block a user