<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi Jozef,</div><div dir="ltr"><br></div><div dir="ltr"> Please press the report bug button on the error dialog and I will fix the problem. I don’t think clicking in the middle of the bond is the issue and I need to see the error to fix it. Thanks.</div><div dir="ltr"><br></div><div dir="ltr"> Tom</div><div dir="ltr"><br>On Dec 9, 2019, at 3:33 AM, Lewandowski, Jozef <<a href="mailto:J.R.Lewandowski@warwick.ac.uk">J.R.Lewandowski@warwick.ac.uk</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.apple-tab-span
{mso-style-name:apple-tab-span;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thank you both. Works like a charm. I like the solution with the rotation being defined by which side of the bond one clicks – that is exactly the type of thing I need.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">It gives me an error when I accidentally click at the center but I can live with that and just have to be careful with my selection.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks again,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Józef<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Eric Pettersen <<a href="mailto:pett@cgl.ucsf.edu">pett@cgl.ucsf.edu</a>><br>
<b>Date: </b>Friday, 6 December 2019 at 23:19<br>
<b>To: </b>Tom Goddard <<a href="mailto:goddard@sonic.net">goddard@sonic.net</a>><br>
<b>Cc: </b>"Lewandowski, Jozef" <<a href="mailto:J.R.Lewandowski@warwick.ac.uk">J.R.Lewandowski@warwick.ac.uk</a>>, "<a href="mailto:chimerax-users@cgl.ucsf.edu">chimerax-users@cgl.ucsf.edu</a>" <<a href="mailto:chimerax-users@cgl.ucsf.edu">chimerax-users@cgl.ucsf.edu</a>><br>
<b>Subject: </b>Re: [chimerax-users] Rotate bond move large/small option in VR<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Dec 6, 2019, at 3:11 PM, Tom Goddard <<a href="mailto:goddard@sonic.net">goddard@sonic.net</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica"> br = self.session.bond_rotations.new_rotation(pick.bond)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica"> br.moving_side = br.bond.other_atom(br.moving_side) # Move the large side<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Not sure why this was hard to find since it’s a documented arg of new_rotation, but just do this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">br = self.session.bond_rotations.new_rotation(pick_bond, move_smaller_side=False)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">—Eric<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<span class="apple-tab-span"><o:p></o:p></span></p>
<p class="MsoNormal">Eric Pettersen<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">UCSF Computer Graphics Lab<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>ChimeraX-users mailing list</span><br><span><a href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a></span><br><span>Manage subscription:</span><br><span><a href="http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a></span><br></div></blockquote></body></html>