fix Vector.sub returning wrapped object instead of cadquery's Vector
This commit is contained in:
parent
6551218d55
commit
8763d42505
|
@ -101,7 +101,7 @@ class Vector(object):
|
|||
return self.wrapped.dot(v.wrapped)
|
||||
|
||||
def sub(self,v):
|
||||
return self.wrapped.sub(v.wrapped)
|
||||
return Vector(self.wrapped.sub(v.wrapped))
|
||||
|
||||
def add(self,v):
|
||||
return Vector( self.wrapped.add(v.wrapped))
|
||||
|
|
Loading…
Reference in New Issue
Block a user