frame 30 rotate y, 120, object=NAP #再逆时针旋转120°,并存储第60帧 frame 60 rotate y, 120, object=NAP #场景整合,可有可无 #mview reinterpolate #播放 mplay #停止 mstop 2.4 Object-level state-sweep #不同states转变 #初始化 reinitialize #载入morph的30种states load http://pymol.org/...
"""Return matrix to rotate about axis defined by point and direction.>>> R = rotation_matrix(math.pi/2, [0, 0, 1], [1, 0, 0]) >>> numpy.allclose(numpy.dot(R, [0, 0, 0, 1]), [1, -1, 0, 1]) True >>> angle = (random.random() - 0.5) * (2*math.pi) ...