30

I need to create test file for my program. But it only accepts polygons with 3 vertices - triangles as input. How can I convert all polygons of some object into triangles?

I know how to select all faces, but how to split them into triangles.

Amir
  • 3,074
  • 2
  • 29
  • 55
Yola
  • 403
  • 1
  • 4
  • 6
  • more answers to the same question here: http://blender.stackexchange.com/questions/30846/converting-from-quads-to-triangulated-mesh/30847#30847 –  May 14 '15 at 17:18

2 Answers2

44

You can select all the faces and go to Face > Triangulate Faces in the 3D View header (or just press Ctrl+T for the same effect) while in Edit Mode.

As ideasman42 pointed out in the comments, Face > Poke Faces will also triangulate the mesh by adding a vertex in the center of each face and fan-filling around the vertex, it may give preferred results for certain cases, for example, cylinder caps.

You could also add a 'Triangulate' modifier to the object and apply it:

Visualisation of the two methods:

Triangulate and Poke Faces Visualisation

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125
4

There is also an easy way to do it through Blender's Python API:

bpy.ops.mesh.quads_convert_to_tris(quad_method='FIXED', ngon_method='BEAUTY') #if you want a faster way

or

bpy.ops.mesh.quads_convert_to_tris(quad_method='BEAUTY', ngon_method='BEAUTY') #If you want nicer cuts
Amir
  • 3,074
  • 2
  • 29
  • 55
  • 1
    Is there a way to do this without bpy.ops so the context doesn't matter? (given the object whose mesh should be triangulated) – Nathan Jan 21 '20 at 21:49