Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # for blender
- # resets the radius used by the skin modifier to the desired value
- import bpy
- import math
- def set_all_vertex_skin_radius(obj, radius):
- for v in obj.data.skin_vertices:
- for d in v.data:
- d.radius = (radius,radius)
- def main():
- set_all_vertex_skin_radius(bpy.context.active_object, 1)
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement