[chimerax-users] Rotate bond move large/small option in VR

Eric Pettersen pett at cgl.ucsf.edu
Fri Dec 6 15:19:13 PST 2019


> On Dec 6, 2019, at 3:11 PM, Tom Goddard <goddard at sonic.net> wrote:
> 
>                 br = self.session.bond_rotations.new_rotation(pick.bond)
>                 br.moving_side = br.bond.other_atom(br.moving_side)  # Move the large side

Not sure why this was hard to find since it’s a documented arg of new_rotation, but just do this:

br = self.session.bond_rotations.new_rotation(pick_bond, move_smaller_side=False)

—Eric

	Eric Pettersen
	UCSF Computer Graphics Lab



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20191206/e1bc0c91/attachment.html>


More information about the ChimeraX-users mailing list