How to make faces planar

i would like some help on makeing selected faces planar..

Snap all of the vertices to the same vertex by axis that is closest to desired plane normal.

how would i go about doing that??

i am real new to modeling and mel
so any help is appreciated

  • select vertices
  • select move tool
  • hold down the 'v' key and middle- drag one of the manupulator axes over the desired vertex

thanks i appreciate the help

but i was looking for a solution using mel
and by just selecting all the faces i want planar use this mel code and they all become planar

like 3dsmax's make planar function

ConvertSelectionToVertices;
move -ws -z 0;

no offense..i really appreciate your help

but that does not work for me it just moves the poly over

Yes, and makes it planar.

Failure i think he wants planar along the avarage of the face, dont you Ostamo?

yes Joojaa i thing thats what i want
and failure it (from what i can tell)does not make them planar (flat)

but really i do appreciate all the help

Or maybe along the normal?

Care to search the scripts sections on this site? There must be a dozens of scripts for this.

Sorry, but it does make them flat. Use both commands, not just move.

it is not working

this is what i used

ConvertSelectionToVertices;move -ws -z 0;

and it made it planar but moved it from its current position

go here to see what i mean

http://ostamo1.tripod.com/index.html

I don't see how this will work in practice anyway... if you make 1 bent polygon planar, you're likely to make all of it's neighbours NON planar... aren't you? at least, in a normal situation.. for example, if you go back to your example images, if you make that selected polygon planar based on it's average normal, your GREY polygon that is beside it, which WAS planar in now not...!!

:nathaN

offcourse not failures code is kindof a guideline you could try, instead.

ConvertSelectionToVertices;move -ws -y 0;

on averaging.

Ofcourse the evaraging function must move the points along the neipboring ede direction so not to change their planarity.

Altough this is about the least usefull tool in the world

Joojaa thanks that worked perfectly

it was for an assignment for one of my classes i am taking.......i really appreciate alll the help you gave me

well naughty that is mostly true.............

but lets go on a different tangent now

with mel how can you check if the current selected face is planar??

So

ConvertSelectionToVertices;move -ws -z 0;

doesn't work

but

ConvertSelectionToVertices;move -ws -y 0;

works perfectly.
...
That's the funniest thing I heard this week.

To check if face is planar:
- get any 3 vertices and find plane equation.
- test if distance between other vertices and the plane is within positional tolerance.
- if yes for all the remaining vertices - face is planar.