A BPY plus module for working with mesh objects.
1 2 3 4 5 |
from bpy_plus.mesh import Mesh Mesh.tris(obj=bpy.context.active_object) # 968 |
Mesh class
tris(obj)
A number of triangles in the mesh object.
Parameters:
obj – mesh object
Returns:
A number of triangles
apply_transforms(obj)
Apply all transformations (Translation, Rotation, Scale) to the object
Parameters:
obj – mesh object