Align vertex to plane

Hello

I'm looking for a tool to align a vertex to a plane defined by 3 vertexes.
The workflow would be :
- run script
- clic 3 vertexes
- clic 1 vertex to be aligned
- done
The alignement is done perpendiculary to the defined plane.

Hope somebody could do it.
Thanks. :-)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kevinlp's picture

.

I did not know that there was another way to execute a script code, other than with a macroscript.

miauu's picture

Thank you. There is another

Thank you.
There is another way to execute a code. Put the code in Maxscript Editor and hit Ctrl+E.

kevinlp's picture

.

but crtl + E, active is the scale option

kevinlp's picture

thank you very much

sorry, if it works.
only that it does not work with ctrrl + E, I only give it in tool, and then in Evaluate All

kevinlp's picture

.

miauu ...
there is some possibility that you can do me the favor of giving me a code script so that instead of the three vertex aligning to a plane, they align to another vertex.

miauu's picture

.

Ctrl+E will evaluate the code in Maxscript Editor when the MAxscript Editor is in focus. If in the focus is one of the viewports you will have different result.

About the script that will align three verts to another vert - go here and watch the videos of Align Verts to Vert: http://miauumaxscript.blogspot.bg/p/miauus-script-pack-vol2.html

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.