Guest User

Untitled

a guest
Jul 31st, 2016
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import bpy
  2.  
  3. obj = bpy.context.active_object
  4. me = obj.data
  5.  
  6. norms = [None] * len(me.loops)
  7.  
  8. me.calc_tangents()
  9.  
  10. for i in range(len(me.loops)):
  11. norms[i] = me.loops[i].normal
  12.  
  13. me.normals_split_custom_set(norms)
RAW Paste Data