Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/PyPRP-HEAD/PyPRP/prp_GeomClasses.py   PyPRP(Download)
    def getQuat(self):
        return Blender.Mathutils.Quaternion(self.w,self.x,self.y,self.z)
 
class hsBounds:
    def __init__(self):

src/b/l/blender2cal3d-HEAD/blender2cal3d.py   blender2cal3d(Download)
				tmp_quat = result_matrix.toQuat()
			else:
				tmp_quat = Blender.Mathutils.Quaternion()
 
			tmp_loc = Blender.Mathutils.Vector([0.0,0.0,0.0])
 
			interm_loc *= SCALE
			interm_quat = Blender.Mathutils.Quaternion()
			interm_bone = Bone(skeleton, parent, name+"_interm",
		    	               interm_loc, interm_quat)
		ender_loc = bone.child_loc.copy()
		ender_loc *= SCALE
		ender_quat = Blender.Mathutils.Quaternion()
		Bone(skeleton, bone, name+"_ender", ender_loc, ender_quat)