Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Grabbed the PythonOCC vector from what I believe is the right place, …
Browse files Browse the repository at this point in the history
…OCC.Geom.
  • Loading branch information
jmwright committed Apr 27, 2015
1 parent c64a0b4 commit 5d1ec5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cadquery/pythonocc_impl/geom.py
Expand Up @@ -17,7 +17,7 @@
License along with this library; If not, see <http://www.gnu.org/licenses/>
"""
import cadquery
import OCC.gp.gp_Vec2d
import OCC.Geom.Geom_Vector as OCCVector

def sortWiresByBuildOrder(wireList, plane, result=[]):
"""
Expand Down Expand Up @@ -69,7 +69,7 @@ def __init__(self, *args):
if type(args[0]) is tuple:
#TODO: We've been given a tuple, convert to PythonOCC vector
pass
elif type(args[0] is FreeCAD.Base.Vector):
elif type(args[0] is OCCVector):
#TODO: Fix this, we've been given a PythonOCC vector
pass
elif type(args[0] is Vector):
Expand Down

0 comments on commit 5d1ec5a

Please sign in to comment.