Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#150 moveto option for dragselected

open
Bob Hanson
None
9
2010-11-22
2009-02-10
Jan Jensen
No

It would be wonderful to use dragselected to position a fragment and then be able to visualize the move with moveto/show moveto

Discussion

  • Bob Hanson
    Bob Hanson
    2009-02-10

    I think this is a superb idea. It will take some work to figure out how to make an interface and how to design the script. I suggest looking into the navigate command. The idea there is to produce a guide; what I wonder is how to combine a position and an orientation. Hmm. Maybe quaternions....

    Bob

     
  • Bob Hanson
    Bob Hanson
    2010-03-25

    oooh, sorry to take so long to get to this. I quite agree. Sort of a "moveTo selected" command. Certainly the COMPARE command business will now give us the exact translation and rotation to do the job. Maybe the thing to do is to be able to compare saved coordinates with current coordinates. So, for example:

    save coord "pt1"
    [do whatever move of the selected groups]
    x = compare({selected}, "pt1") # x is a 4x4 matrix

    then you could do:

    restore coord "pt1"
    moveto SELECTED @x

    interestingly, then,

    moveto SELECTED @{-x}

    would UNDO this change in a smooth operation.

     
  • Bob Hanson
    Bob Hanson
    2010-03-25

    • priority: 5 --> 9
     
  • Nicolas
    Nicolas
    2010-11-22

    • assigned_to: nobody --> hansonr