示例#1
0
 def connectChains(self,*args):
     """
     Connect the follow chain to the IK/FK chains.
     """
     temp = cjc.connectJointChains(    prefix=self.prefix,
                                followJoint=self.followChain[0],
                                leadAJoint=self.ikChain[0],
                                leadBJoint=self.fkChain[0],
                                type=2,
                                translations=1,
                                rotations=1 )
     
     # Store nodes created
     self.createdNodes['switchNodes'] = temp.createdNodes
示例#2
0
	def connectChains(self,*args):
		"""
		Create blend color nodes and connect ik/fk/bind joint chains.
		"""
		temp = cjc.connectJointChains(	prefix=self.prefix,
								   followJoint=self.followChain[0],
								   leadAJoint=self.ikChain[0],
								   leadBJoint=self.fkChain[0],
								   type=2,
								   translations=1,
								   rotations=1 )
		
		# Store nodes created
		self.switchNodes = temp.createdNodes	
		
		# continue with rig building
		self.finalizeArmRig()