Page 1 of 1

Setting origin of a point selection

Posted: Fri Mar 11, 2022 6:33 pm
by Karl Toon
H,
Is it possible to move the origin on a point selection? Thanks.

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 6:48 pm
by MrMiracle77
I'll refer you to a pretty good discussion from late last month:

https://www.lostmarble.com/forum/viewto ... =5&t=34537

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 6:55 pm
by Daxel
If you mean the origin from where you can scale, rotate, etc a selection of points, then yes, using a script that modifies the transform points tool. The thing is that I don't remember which script, and I am looking into mine but I can't see the author (I think I changed the name to "lm_transform points" to substitute the official tool in the panel). But I'm sure someone will tell us which script it is.

This should totally be built in by the way. I use it a lot.

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 7:04 pm
by Daxel
Okay this is not the same script I have been using but it does the same, and it looks like a newer version of it so I am going to use this one instead.

https://mohoscripts.com/script/ae_transform_points

You have to download the zip to get the utilities thing and the icons, because if you click on "download lua file" you will only get the single lua script.

Thanks to A.Evseeva for this and all her wonderfull scripts. Many many gems in that website.

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 8:05 pm
by Karl Toon
Daxel wrote: Fri Mar 11, 2022 7:04 pm Okay this is not the same script I have been using but it does the same, and it looks like a newer version of it so I am going to use this one instead.

https://mohoscripts.com/script/ae_transform_points

You have to download the zip to get the utilities thing and the icons, because if you click on "download lua file" you will only get the single lua script.

Thanks to A.Evseeva for this and all her wonderfull scripts. Many many gems in that website.
Thank you. I shall give that a go. And, yes, it certainly would be good if it was built in.

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 8:20 pm
by Karl Toon
Daxel wrote: Fri Mar 11, 2022 7:04 pm <snip>

https://mohoscripts.com/script/ae_transform_points

</snip>
Almost what I was after, but not quite, unfortunately. It only selects some of the points close to where you click, not all of them. An example of what I want to is take a photograph and triangulate a mesh on an arm and move the pivot point to the elbow.

Image

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 11:01 pm
by Daxel
Mad Dog wrote: Fri Mar 11, 2022 8:20 pm
It only selects some of the points close to where you click, not all of them. An example of what I want to is take a photograph and triangulate a mesh on an arm and move the pivot point to the elbow.
No no, the tool doesn't select any points. You manually select the points you want to transform (in this case, your arm) then you use the shortcuts that you can read on the tool bar hovering over the target icon. Alt+click that icon to put the pivot in the center of the selected points, and shift + alt + click on any place of the screen to move the pivot there like you want. You will see how the cross moves to that location and you can rotate your arm and live happily ever after.

Re: Setting origin of a point selection

Posted: Fri Mar 11, 2022 11:57 pm
by Karl Toon
Daxel wrote: Fri Mar 11, 2022 11:01 pm
Mad Dog wrote: Fri Mar 11, 2022 8:20 pm
It only selects some of the points close to where you click, not all of them. An example of what I want to is take a photograph and triangulate a mesh on an arm and move the pivot point to the elbow.
No no, the tool doesn't select any points. You manually select the points you want to transform (in this case, your arm) then you use the shortcuts that you can read on the tool bar hovering over the target icon. Alt+click that icon to put the pivot in the center of the selected points, and shift + alt + click on any place of the screen to move the pivot there like you want. You will see how the cross moves to that location and you can rotate your arm and live happily ever after.
Aha! Brilliant Daxel, I didn't realise you had to shift-alt-click, and I was just clicking. That does the job nicely. Thanks again. :D