Guest User

Untitled

a guest
Aug 5th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1.  
  2. import bpy
  3.  
  4. for obj in bpy.context.selected_objects:
  5.  
  6. if obj.type == 'CURVE':
  7.  
  8. print("is a curve")
  9.  
  10. for spl in obj.data.splines:
  11.  
  12. print("for each spline")
  13.  
  14. for pnt in spl.bezier_points:
  15.  
  16. print("for each point")
  17.  
  18. print(pnt.tilt)
  19.  
  20. pnt.tilt = 1.5708
  21.  
  22.  
  23.  
  24.  
  25. print(pnt.tilt)
  26.  
  27. print("done")
  28.  
  29. print("done")
  30.  
  31. print("done")
Advertisement
Add Comment
Please, Sign In to add comment