Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import datetime
  2. time = datetime.datetime.now()
  3. date= time.strftime(" %Y-%m-%d_%HH%MM%S")
  4.  
  5. import bpy
  6. import functools
  7. from mathutils import Vector
  8.  
  9. def in_1_seconds(obj):
  10. obj.location += Vector((0.0, 0.1, 0.0))
  11. return 1.0
  12.  
  13. bpy.app.timers.register(functools.partial(in_1_seconds, bpy.context.active_object))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement