516
514
#Don't subdivide object or smooth if smoothing box not checked.
518
516
bpy.ops.mesh.subdivide(number_cuts=2, fractal=0, smoothness=1)
520
518
bpy.ops.mesh.vertices_smooth(repeat=20)
521
519
bpy.ops.mesh.tris_convert_to_quads()
522
520
bpy.ops.mesh.faces_shade_smooth()