Made the STEP import function more robust so that it could return a CQ.Workplane object.

This commit is contained in:
Jeremy Wright
2014-12-11 14:35:29 -05:00
parent 4b98b04465
commit e51b54d6c4
4 changed files with 27 additions and 32 deletions

View File

@ -679,8 +679,8 @@ class CQ(object):
startPt = obj.Center()
endPt = startPt + endVec
obj.rotate(startPt,endPt,angleDegrees)
return self.each(_rot,False)
return self.each(_rot, False)
def translate(self,vec):
"""