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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.