# Help for rotating polygons

Hi!

I’d like to know, if it’s possible, how can I rotate a single polygon from a mesh.

So far, I can access and modify the position of each point of the mesh.
Now I’d like to rotate or scale each polygon of the mesh.

My mesh is made by 88 points, 468 vertices and 156 polygons and primitives.

Are the same the polygons and the primitives?

If so, using Python, I can access to the position, normal, index… as described on the help page. Is there any other way to access to the rotation or the size of the primitive?

If there is no easy way to modify these parameters, is there any formula, using the given information, to do the job?

Thanks a lot for your time and knowledge!

V.

Primitive sop
rotate_polygon.toe (4.17 KB)

Thank you barakooda !

I knew that would be an easy way to do it !

But do you know, or anybody else, besides this solution, how can I do the transformation using a Python script? I mean, to change the position of a point would be:

op(‘object’).points[x].x = X

is there any

op(‘object’).prims[x].rx = X ?

Thanks again!

V