On Fri, Apr 29, 2016 at 11:04 PM, Geoffrey Hutchison <[email protected]> wrote: > Hi Marcus, > > I'm trying to fix up the draw tool so that it does automatic hydrogen > adjustment on the atoms in the edit, etc. > (The new catch is that it will "snap to" standard bond lengths and ideally > angles as well.) > > But I keep coming back to the pain of the hydrogentools code operating on > Atom classes and Editor having RWAtom. > > Is there a way to get the Atom that corresponds to an RWAtom, or does the > hydrogen tools code need to be updated to only work on RWAtoms - or something > else? > I thought that ideally HydrogenTools would operate on the RWMolecule, but RWMolecule is now a lightweight class. There is not currently a way to get the Atom from an RWAtom, but the code would be very simple so if we want to add it we can.
I was wiped out by travel/missed connections Friday/over the weekend, but can take a look at it tomorrow and come up with something simple, or help you get it working however you want. Best, Marcus ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Avogadro-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avogadro-devel
