-
-
Save zeffii/7fff17749b5c68839119 to your computer and use it in GitHub Desktop.
This file contains 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
def sv_main(items_in=[]): | |
in_sockets = [ | |
['v', 'items_in', items_in]] | |
Verts = [] | |
def func1(): | |
# directly from incoming Object_in socket. | |
sn = bpy.context.node | |
obj_in = sn.inputs[0].links[0].from_node | |
obj_names = obj_in.get('objects_local', None) | |
print(str(obj_names)) | |
out_sockets = [['v', 'Verts', [Verts]]] | |
ui_operators = [['print_names', func1]] | |
return in_sockets, out_sockets, ui_operators |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment