center 6vxx mset 1 x120 # define the movie #util.mroll(1,120,1) # issues mdo commands to create full rotation over 120 frames #export movie as #set movie_loop, 0 hide cartoon, chaA hide cartoon, chaB show cartoon, chaC cmd.mdo(1,"hide cartoon, chaA; hide cartoon, chaB; show cartoon, chaC; turn y,3;") #for a in range(2,39): cmd.mdo(a,"turn y,3") #cmd.mdo(40,"turn y,3; hide cartoon, chaC; show cartoon, chaB") #for a in range(41,79): cmd.mdo(a,"turn y,3") #cmd.mdo(80,"turn y,3; hide cartoon, chaB; show cartoon, chaA") #for a in range(81,120): cmd.mdo(a,"turn y,3") for a in range(2,19): cmd.mdo(a,"turn y,3") cmd.mdo(20,"turn y,3; show cartoon, chaB") for a in range(21,39): cmd.mdo(a,"turn y,3") cmd.mdo(40,"turn y,3; hide cartoon, chaC") for a in range(41,59): cmd.mdo(a,"turn y,3") cmd.mdo(60,"turn y,3; show cartoon, chaA") for a in range(61,79): cmd.mdo(a,"turn y,3") cmd.mdo(80,"turn y,3; hide cartoon, chaB") for a in range(81,99): cmd.mdo(a,"turn y,3") cmd.mdo(100,"turn y,3; show cartoon, chaC") #https://pymolwiki.org/index.php/Movie_loop #https://pymolwiki.org/index.php/Mdo #https://pymolwiki.org/index.php/Util.mroll #https://pymolwiki.org/index.php/MovieSchool_2 #https://pymol.org/tutorials/moviemaking/