#20 molecular editting

open
None
5
2010-11-22
2007-11-12
No

I made some very basic functionality to edit a molecular.
(idea from the nonocad)

With this patch you can change position of atoms
with a ALT_LEFT + left mouse press/drag action.

and I add a getXYZfile() method to Viewer.java, maybe some similar feature already implemented in the Jmol :>

Discussion

  • Won Kyu Park

    Won Kyu Park - 2007-11-12
     
  • Won Kyu Park

    Won Kyu Park - 2007-11-12

    Logged In: YES
    user_id=76597
    Originator: YES

    oops!

    I found the Viewer.untransformPoint() and I made a new patch.

    for more smooth editing "selectedAtomIndex" variabled needed instead of call findNearestAtomIndex() dynamically.

    File Added: jmol-edit3.patch

     
  • Won Kyu Park

    Won Kyu Park - 2007-11-12

    Logged In: YES
    user_id=76597
    Originator: YES

    Please change the last patch like as following:
    ---------
    - scrn.x = x;
    - scrn.y = y;
    + scrn.x += deltaX;
    + scrn.y += deltaY;
    ---------

     
  • Bob Hanson

    Bob Hanson - 2008-08-14

    Logged In: YES
    user_id=1082841
    Originator: NO

    not going there yet....

     
  • Nicolas

    Nicolas - 2010-11-22
    • assigned_to: nobody --> hansonr
     

Log in to post a comment.