Is it possible to have Smooth Shading on by default?

Is it possible to have Smooth Shading on by default for every object created? I can't seem to find a way to do this in the User Preferences. Turning on Smooth Shading is an action I need to perform 95% of the time, it would be nice if I could skip it. Apologies if this is more a "feature request" but I think I may have just missed the option in Preferences.

It is kind of possible to write an add-on for this with Python. There does not seem to be a nice way to trigger an operator(what smooth shading is in Blender apparently) every time an object is created, but it is possible to check the count of objects in the file every time scene is updated. Scene gets updated all the time so that is a whole lot of unnecessary checks, but it seems there is no nice or elegant way to do this. I am not entirely sure I can honestly recommend using it but this hack seems to work and it's the only way to do it I can think of. It shades anything new to the scene smooth. Pasting and duplicating will trigger it as well. You can save it to a .py file and install it as an add-on if you really need this functionality. You may also want to do something about ugly shading with sharp edges so you may want to uncomment the line enabling auto smooth.

bl_info = {
"author": "-",
"version": (1, 0),
"blender": (2, 79, 0),
"location": "Works every time new objects are added",
"warning": "",
"wiki_url": "",
"category": "Mesh",
}

import bpy
from bpy.app.handlers import persistent

bpy.last_count = 0

@persistent
def smooth_handler(dummy):

if len(bpy.data.objects) < bpy.last_count:
bpy.last_count = len(bpy.data.objects)
elif len(bpy.data.objects) > bpy.last_count:
bpy.last_count = len(bpy.data.objects)
if bpy.context.object != None:
#bpy.context.object.data.use_auto_smooth = True

def register():
bpy.app.handlers.scene_update_post.clear()
bpy.app.handlers.scene_update_post.append(smooth_handler)

def unregister():
bpy.app.handlers.scene_update_post.clear()

if __name__ == "__main__":
register()

• Thanks, very interesting! I guess if you combine this with "autosmooth" enabled with 30° angle, the ugly edges would be eliminated in most cases. That would be a good add-on for a hard-surface workflow. – Jan Jan 12 '19 at 9:14
• Be wary of using context from within a handler. The argument of a handler is the scene it is handling. Only for onload handlers this is denoted as "dummy" because of restricted context. Given the scene is passed, scene.objects.active is active object, and scene.objects is all objects linked to scene. The operator can be avoided using similar Clearing all handlers may wipe out other addon handlers eg animation nodes. Also why look at the files objects collection, surely its meshes or at scene objects of type MESH. – batFINGER Jan 17 '19 at 6:22

you can do it with the startup file (the layout with the cube, camer.lamp setted by default) select the cube in edit mode, press w and select smooth shading, and you can also turn on auto smooth as well. and then go to file, save start up file. and like this you will have this already done on that cube for example, but if you add a new object for example a cilinder it wont be smooth shaded you will have to do the same process.