SF.net SVN: avogadro: trunk/libavogadro/src/tools

On Oct 4, 2007, at 6:21 PM, jbunt@users.sourceforge.net wrote:

Improved the math for calculating the rotation of bond angles and
dihedral angles. Interaction should be a lot smoother in the case
where the bond being modified is almost perpindicular to the screen.

I had a related question earlier today. How does the “snap to angle”
feature work? My initial thought was that 10 degrees meant that it
would “snap” to multiples of 10 – i.e., I’d easily be able to change
a bond angle or dihedral angle to 110, 120, 130, etc. and with a bit
of work, could also set it to 114 or whatever, but it wouldn’t “snap”
to that.

Is this correct? Right now, I’d never really seen anything “snap.”

Thanks,
-Geoff

The snap-to feature snaps to other atoms on the bond, it only works for
setting the manipulation plane so that you can adjust the angle of a bond in
relation to another bond. I’m not very good at explaining it… hope that
helps? Do you think it would be better to reword this if its going to cause
confusion to the users?

James

On 10/5/07, Geoffrey Hutchison geoff.hutchison@gmail.com wrote:

On Oct 4, 2007, at 6:21 PM, jbunt@users.sourceforge.net wrote:

Improved the math for calculating the rotation of bond angles and
dihedral angles. Interaction should be a lot smoother in the case
where the bond being modified is almost perpindicular to the screen.

I had a related question earlier today. How does the “snap to angle”
feature work? My initial thought was that 10 degrees meant that it
would “snap” to multiples of 10 – i.e., I’d easily be able to change
a bond angle or dihedral angle to 110, 120, 130, etc. and with a bit
of work, could also set it to 114 or whatever, but it wouldn’t “snap”
to that.

Is this correct? Right now, I’d never really seen anything “snap.”

Thanks,
-Geoff

On Oct 4, 2007, at 11:31 PM, James Bunt wrote:

The snap-to feature snaps to other atoms on the bond, it only works
for setting the manipulation plane so that you can adjust the angle
of a bond in relation to another bond. I’m not very good at
explaining it… hope that helps? Do you think it would be better
to reword this if its going to cause confusion to the users?

Sorry I didn’t get a chance to reply today. I think the best language
might be “Snap to bonds” (rather than “Enable Snap To”) and “Snap-To
Threshold” rather than angle.

I’ll make sure to file a feature request for my interpretation of
“snap-to.” :slight_smile:

Cheers,
-Geoff

That sounds better, I’ll update that later today. And your interpretation
does sound like a good idea, we won’t have time to implement it this month
though as we’re swamped with the last mad rush of uni. I don’t know about
the others but I’m planning on doing some more work on Avogadro after I
finish uni so I’ll get around to it then.

Cheers,
James

On 10/6/07, Geoffrey Hutchison geoff.hutchison@gmail.com wrote:

On Oct 4, 2007, at 11:31 PM, James Bunt wrote:

The snap-to feature snaps to other atoms on the bond, it only works
for setting the manipulation plane so that you can adjust the angle
of a bond in relation to another bond. I’m not very good at
explaining it… hope that helps? Do you think it would be better
to reword this if its going to cause confusion to the users?

Sorry I didn’t get a chance to reply today. I think the best language
might be “Snap to bonds” (rather than “Enable Snap To”) and “Snap-To
Threshold” rather than angle.

I’ll make sure to file a feature request for my interpretation of
“snap-to.” :slight_smile:

Cheers,
-Geoff