Closed elsewhat closed 3 years ago
https://b3d.interplanety.org/en/how-to-switch-between-flat-and-smooth-shading-through-the-blender-python-api/#:~:text=The%20flat%2Fsmooth%20shading%20mode,mesh%20polygon%20to%20%E2%80%9CTrue%E2%80%9D.&text=To%20enable%20flat%20shading%20%E2%80%93%20set,each%20polygon%20to%20%E2%80%9CFalse%E2%80%9D.
ob = bpy.data.objects.get('Terrain') for poly in ob.data.polygons: poly.use_smooth = True
Fixed in https://github.com/elsewhat/meebits-blender-import/pull/7
https://b3d.interplanety.org/en/how-to-switch-between-flat-and-smooth-shading-through-the-blender-python-api/#:~:text=The%20flat%2Fsmooth%20shading%20mode,mesh%20polygon%20to%20%E2%80%9CTrue%E2%80%9D.&text=To%20enable%20flat%20shading%20%E2%80%93%20set,each%20polygon%20to%20%E2%80%9CFalse%E2%80%9D.
ob = bpy.data.objects.get('Terrain') for poly in ob.data.polygons: poly.use_smooth = True