SHARE
TWEET

Untitled

a guest Aug 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # for blender
  2. # resets the radius used by the skin modifier to the desired value
  3.  
  4. import bpy
  5. import math
  6.  
  7. def set_all_vertex_skin_radius(obj, radius):
  8.     for v in obj.data.skin_vertices:    
  9.         for d in v.data:
  10.             d.radius = (radius,radius)
  11.            
  12. def main():
  13.     set_all_vertex_skin_radius(bpy.context.active_object, 1)
  14.    
  15. main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top