diff --git a/faux_bevel.py b/faux_bevel.py index 73d0157..267c732 100644 --- a/faux_bevel.py +++ b/faux_bevel.py @@ -51,6 +51,7 @@ def invoke(self, context, event): self.key_shift = False + self.add_smooth_shading(context) self.add_bevel_modifier(context) self.add_weighted_normal_modifer(context) @@ -68,6 +69,11 @@ def poll(cls, context): return len(context.selected_objects) == 1 + def add_smooth_shading(self, context): + context.object.data.use_auto_smooth = True + context.object.data.auto_smooth_angle = radians(30) + + def add_bevel_modifier(self, context): bevel = context.object.modifiers.new("ND — Bevel", 'BEVEL') bevel.segments = 1