Setting origin of a point selection

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Karl Toon
Posts: 140
Joined: Wed Jul 10, 2019 11:28 pm
Contact:

Setting origin of a point selection

Post by Karl Toon »

H,
Is it possible to move the origin on a point selection? Thanks.
"If you can dream it, you can do it. Always remember that this whole thing was started with a dream and a mouse." - Walt E. Disney
User avatar
MrMiracle77
Posts: 189
Joined: Mon Jun 24, 2019 2:30 am

Re: Setting origin of a point selection

Post by MrMiracle77 »

I'll refer you to a pretty good discussion from late last month:

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

(As Your GM)
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Setting origin of a point selection

Post 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.
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Setting origin of a point selection

Post 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.
User avatar
Karl Toon
Posts: 140
Joined: Wed Jul 10, 2019 11:28 pm
Contact:

Re: Setting origin of a point selection

Post 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.
"If you can dream it, you can do it. Always remember that this whole thing was started with a dream and a mouse." - Walt E. Disney
User avatar
Karl Toon
Posts: 140
Joined: Wed Jul 10, 2019 11:28 pm
Contact:

Re: Setting origin of a point selection

Post 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
"If you can dream it, you can do it. Always remember that this whole thing was started with a dream and a mouse." - Walt E. Disney
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Setting origin of a point selection

Post 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.
User avatar
Karl Toon
Posts: 140
Joined: Wed Jul 10, 2019 11:28 pm
Contact:

Re: Setting origin of a point selection

Post 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
"If you can dream it, you can do it. Always remember that this whole thing was started with a dream and a mouse." - Walt E. Disney
Post Reply