Last active
August 6, 2019 14:55
-
-
Save Volantk/ef9bb6cebabd60c5f17fe007201a83b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment