Notifications
Clear all

[Closed] select only vertical faces?

does anyone know if there is a way to that i can select all vertical faces in a scene?
is this even possible with scripting?
thx in advance

5 Replies

What do you mean by vertical faces? Faces on something like the side of a tall cylinder or something?

You could probably use the faces normals to get their orientation and collect them that way… That’s my first thought.

What do you mean by vertical faces? Faces on something like the side of a tall cylinder or something?

ya exactly

can u point me in the right direction for getting orientation?

you have to compare the angle of the face’s normal to a vertical vector and if the angle is close enough to 90degrees, than you collect that face. you can read into dot product to find the angle between 2 vectors.

edit: if you are checking and edit.poly object you can get the normal using polyop.getFaceNormal function

alright i think i get it now
thx