From 5d1ec5ab5e8e961cefae0035afbf5af6bad253ea Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Mon, 27 Apr 2015 15:55:10 -0400 Subject: [PATCH] Grabbed the PythonOCC vector from what I believe is the right place, OCC.Geom. --- cadquery/pythonocc_impl/geom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cadquery/pythonocc_impl/geom.py b/cadquery/pythonocc_impl/geom.py index bf0b55e..ae42ef6 100644 --- a/cadquery/pythonocc_impl/geom.py +++ b/cadquery/pythonocc_impl/geom.py @@ -17,7 +17,7 @@ License along with this library; If not, see """ import cadquery -import OCC.gp.gp_Vec2d +import OCC.Geom.Geom_Vector as OCCVector def sortWiresByBuildOrder(wireList, plane, result=[]): """ @@ -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):