maybites / NodeOSC

blender OSC addon to be used with nodes
GNU General Public License v3.0
123 stars 18 forks source link

OSC on timeline ? #10

Closed stephanebordonaro closed 3 years ago

stephanebordonaro commented 3 years ago

hello, i don't know if it's the right place for this. is there a way to control by OSC the curseur on the timeline to point to a spectific time or the disable/enable an objet on scene ? thx for your reply

maybites commented 3 years ago

yes, thats totally possible:

time-> hover with your mouse over the frame number box -> right click -> create a node osc handler

enable/disable -> use 'bpy.data.objects['Cube'].hide_viewport' and send a 1 or 0

stephanebordonaro commented 3 years ago

thx !

stephanebordonaro commented 3 years ago

osc hide

stephanebordonaro commented 3 years ago

is it right? thx

stephanebordonaro commented 3 years ago

osc hide

stephanebordonaro commented 3 years ago

![Uploading osc hide2.JPG…]()

stephanebordonaro commented 3 years ago

osc hide2

maybites commented 3 years ago

that looks alright - but you don't need 'format' and 'loop' enabled to make it work (I think)

stephanebordonaro commented 3 years ago

argh ...doesn't work for me . maybe i miss something in : format , args or range ?

maybites commented 3 years ago

this works for me:


----------begin_max5_patcher----------
372.3ocqSssaCBCC8Y3qHJZOxZ4Rus859LllpBfEMUPBJIzxTU+2WvAnsqcU
7vdIQ1w1myw14juGMU1BZJ4cxmDOuS9ddnqNGd81dzJVaVISigQMxhhRfF3d
R1XJAi46ZvUCJWXnju5eslYx1wEEaUPlwEPx5jYgAjkwcmwKFNGSgminHS2+
5xAPDMUbgEFj.Qi0Vwp.Cn1BBVZIhe3kDbDykQmyy99cGASTkUfVyJFkoAZQ
9SmaIlUK54ezjBy06jGIuD8mMiozIhBCwqD7JN9w8hjG1Kh+2zq.NZg4N41j
WqAQNIJd8LK+lEQdKLbTuOQTKV4D0lmIpnmNfuUTgWIJrVzRt32atHg57eqR
0xFU1vLoeyhbgQ4f1vELCWJtJlDWLOrWNUbRl.NQ2giSdr55CfR2GLBgcjsW
p5L2DflbgyD2CnJ3.eHd7m.koryGic3znPZQaWsf5RUlCJQCueewJNKj35fv
9qRWyb5.2Z7O6+SDglOr
-----------end_max5_patcher-----------

address: /objects/Cube/show datapath: bpy.data.objects['Cube'].hide_viewport args[idx]: ()

maybites commented 3 years ago
Screenshot 2021-04-01 at 19 16 31