Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement