system: lock angle when convert Attachment to PlaneCoincident

This commit is contained in:
Zheng, Lei 2020-08-04 09:08:55 +08:00
parent 0c1f659fde
commit e44f47073b

View File

@ -225,7 +225,7 @@ class SystemExtension(object):
pln1.normal, pln2.normal, group) pln1.normal, pln2.normal, group)
def addAttachment(self, pln1, pln2, group=0): def addAttachment(self, pln1, pln2, group=0):
return self.addPlaneCoincident(0,0,0,False,0,0,0, pln1, pln2, group) return self.addPlaneCoincident(0,0,0,True,0,0,0, pln1, pln2, group)
def addPlaneAlignment(self,d,lockAngle,yaw,pitch,roll,pln1,pln2,group=0): def addPlaneAlignment(self,d,lockAngle,yaw,pitch,roll,pln1,pln2,group=0):
if not group: if not group: