I have ported the addOSC plugin to blender 2.8. It allows to receive OSC-messages and controlling attributes inside blender.
You can find it here:
it comes in two flavours:
inside the master branch you will find a pure python OSC - library
inside the pyliblo_experiment a C based OSC - library (currently only compiled for OSX)
It is not yet feature complete and once more information about the ‘everything - nodes’ are available, I would like to make it part of the node system. for the time being it will show up on the right hand side tabs of the 3d viewport.
Though at the moment I also fight with a crash in blender:
when the plugin receives the OSC message, it will execute the following codeline:
getattr(ob, idee)[:] = args[2+oscindex], args[2+oscindex], args[2+oscindex]
where ob is something like bpy.data.objects[‘Cube’] and idee something like ‘location’ and args contains the data to be set.
while the plugin works for a few seconds, it will ultimately crash, and it seems to be this line that is responsible. So I wonder if there are some special care to be taken when to set attributes from another thread than the main blender thread…
any help would be appreciated.