Converting triangles to quads on multiple meshes/objects

Does anyone know if there is a way to convert all triangles in a mesh to quads in object mode, thereby enabling you to do it to multiple objects at once? I know the “alt + j” command in edit mode, but I’d like to do it in object mode to multiple objects.

there is no such command that I am aware of.

Write a small script browsing through all objects, entering edit mode, selecting everything and trigger the make quad command, or a script that sweeps through all selected objects.

Not in object mode only in edit mode - ALT J

Makes sense if you think about it because you are modifying faces.

This command may not always work depending on your mesh.

Like I said - Python


import bpy

# cycle though all selected objects
for obj in bpy.context.selected_objects:
    # make the current selected object we're at the active one
    bpy.context.scene.objects.active = obj
    # enter edit mode
    bpy.ops.object.editmode_toggle()
    # select all
    bpy.ops.mesh.select_all()
    # make all tris->quads
    bpy.ops.mesh.tris_convert_to_quads()    
    # exit edit mode
    bpy.ops.object.editmode_toggle()

quick test has shown you got to run the script twice to make the tris to quads, but it does it with all selected objects in object mode.

Thank you so much! This is exactly what I needed!

Thanks for posting this! This is a nice script; for convenience, the version below only needs to run once:


import bpy

for obj in bpy.context.selected_objects:
    bpy.context.scene.objects.active = obj
    bpy.ops.object.editmode_toggle()
    bpy.ops.mesh.select_all()
    bpy.ops.mesh.tris_convert_to_quads()
    bpy.ops.mesh.select_all()
    bpy.ops.mesh.tris_convert_to_quads()
    bpy.ops.object.editmode_toggle()