{"action":"closed","issue":{"url":"https://api.github.com/repos/nortikin/sverchok/issues/755","labels_url":"https://api.github.com/repos/nortikin/sverchok/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/nortikin/sverchok/issues/755/comments","events_url":"https://api.github.com/repos/nortikin/sverchok/issues/755/events","html_url":"https://github.com/nortikin/sverchok/issues/755","id":121225054,"number":755,"title":"list zip from a nested list ( vertices.4)","user":{"login":"zeffii","id":619340,"avatar_url":"https://avatars.githubusercontent.com/u/619340?v=3","gravatar_id":"","url":"https://api.github.com/users/zeffii","html_url":"https://github.com/zeffii","followers_url":"https://api.github.com/users/zeffii/followers","following_url":"https://api.github.com/users/zeffii/following{/other_user}","gists_url":"https://api.github.com/users/zeffii/gists{/gist_id}","starred_url":"https://api.github.com/users/zeffii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeffii/subscriptions","organizations_url":"https://api.github.com/users/zeffii/orgs","repos_url":"https://api.github.com/users/zeffii/repos","events_url":"https://api.github.com/users/zeffii/events{/privacy}","received_events_url":"https://api.github.com/users/zeffii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-09T12:20:04Z","updated_at":"2015-12-09T12:21:55Z","closed_at":"2015-12-09T12:21:55Z","body":"for instance I have the object_in node outputting a nested list of 4 lists of vertices. Right now i'd use a scriptnode, but i'm sure there's a single node approach to this already that I haven't been smart enough to find.\r\n\r\nhttps://github.com/zeffii/weblog/blob/master/blends/experimental/star_zip.blend\r\n\r\n![image](https://cloud.githubusercontent.com/assets/619340/11685211/a05d98b2-9e77-11e5-8e9a-17c5d554cd56.png)\r\n\r\n```python\r\ndef sv_main(verts=[[]]):\r\n    verts_out = []\r\n    in_sockets = [ ['v', 'some_socket_name', verts] ]\r\n\r\n    if verts and verts[0]:\r\n        print('len verts=', len(verts))\r\n        print('len verts[0]=', len(verts[0]))        \r\n        for j in range(len(verts[0])):\r\n            for i in range(len(verts)):\r\n                verts_out.append(verts[i][j])\r\n\r\n    out_sockets = [ ['v', 'verts', [verts_out]] ]\r\n    return in_sockets, out_sockets\r\n\r\n```\r\n\r\nif a combination of nodes is required, I propose a single `list star_zip node`"}}