On Mar 29, 2016, at 2:04 PM, Eric Pettersen <pett@cgl.ucsf.edu> wrote:

rc(“turn %s%s %d” % (a1.oslIdent(), a2.oslIdent(), angle))

Sorry, I mis-interpreted what the “one shot” turn does — it turns whole models, not the parts of models on the opposite sides of the bond.  You do need “rotation”, e.g.:

rc(“rotation 0 %s %s” % (a1.oslIdent(), a2.oslIdent())  # set up the bond rotation
rc(“rotation 0 %d” % angle)  # actually rotate the bond

—Eric