Skip to content

Instantly share code, notes, and snippets.

@i5ar
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save i5ar/6e1b9561a815a2c6b35d to your computer and use it in GitHub Desktop.

Select an option

Save i5ar/6e1b9561a815a2c6b35d to your computer and use it in GitHub Desktop.
Sverchok K-Dimensional Tree Vertex
{
"export_version": "0.054",
"framed_nodes": {},
"groups": {},
"nodes": {
"Integer": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
217.87814331054688,
15.756725311279297
],
"params": {
"int_": 3
},
"width": 140.0
},
"Kdtree search": {
"bl_idname": "SvKDTreeNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1003.5192260742188,
406.76361083984375
],
"params": {
"mode": "FIND_N"
},
"width": 140.0
},
"List Range Int": {
"bl_idname": "GenListRangeIntNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1212.1273193359375,
110.77891540527344
],
"params": {
"start_": 0,
"step_": 1
},
"width": 140.0
},
"List Zip": {
"bl_idname": "ZipNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1478.2667236328125,
279.4316101074219
],
"params": {},
"width": 140.0
},
"List repeater": {
"bl_idname": "ListRepeaterNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1218.8980712890625,
283.9798583984375
],
"params": {
"level": 2,
"unwrap": 1
},
"width": 138.0079345703125
},
"Note": {
"bl_idname": "NoteNode",
"color": [
0.0,
0.4255272150039673,
1.0
],
"height": 100.0,
"hide": false,
"label": "Instructions",
"location": [
213.22312927246094,
728.9388427734375
],
"params": {
"show_text": 0,
"text": "Add Monkey, adjust Location and get Object_in."
},
"width": 320.0
},
"Note.001": {
"bl_idname": "NoteNode",
"color": [
0.5,
0.5,
1.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
570.0972290039062,
756.8757934570312
],
"params": {
"show_text": 1,
"text": "Blender v2.72 Sverchok v0.5.0.8"
},
"width": 320.0
},
"Objects_in": {
"bl_idname": "ObjectsNode",
"color": [
0.0,
0.5,
0.20000000298023224
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
215.67263793945312,
590.9893188476562
],
"params": {},
"width": 140.0
},
"UV Connect": {
"bl_idname": "LineConnectNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1220.4757080078125,
527.1550903320312
],
"params": {
"cicl_check": 0,
"dir_check": "V_dir",
"polygons": 0,
"slice_check": 0
},
"width": 140.0
},
"Vectors in": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
212.9325714111328,
268.0963134765625
],
"params": {
"x_": 3.0,
"y_": 2.0,
"z_": 0.0
},
"width": 141.08982849121094
},
"Viewer Draw2": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1857.374755859375,
391.0616455078125
],
"params": {
"activate": 1,
"display_edges": 1,
"display_faces": 1
},
"width": 140.0
},
"Viewer Draw2.001": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1851.818359375,
914.5623779296875
],
"params": {
"activate": 1
},
"width": 140.0
},
"Viewer Draw2.002": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1851.13916015625,
690.8605346679688
],
"params": {
"activate": 1
},
"width": 140.0
},
"Viewer text": {
"bl_idname": "ViewerNode_text",
"color": [
0.5,
0.5,
1.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2035.9832763671875,
606.6211547851562
],
"params": {},
"width": 140.0
}
},
"update_lists": [
[
"Integer",
"Integer",
"List repeater",
"Data"
],
[
"Integer",
"Integer",
"List repeater",
"Number"
],
[
"Vectors in",
"Vectors",
"Viewer Draw2.001",
"vertices"
],
[
"Integer",
"Integer",
"List Range Int",
"Stop"
],
[
"List repeater",
"Data",
"List Zip",
"data"
],
[
"List Range Int",
"Range",
"List Zip",
"data 1"
],
[
"Objects_in",
"Vertices",
"Kdtree search",
"Verts"
],
[
"Vectors in",
"Vectors",
"Kdtree search",
"Check Verts"
],
[
"Integer",
"Integer",
"Kdtree search",
"n nearest"
],
[
"Kdtree search",
"n proxima .co",
"UV Connect",
"vertices"
],
[
"Vectors in",
"Vectors",
"UV Connect",
"vertices 1"
],
[
"UV Connect",
"vertices",
"Viewer Draw2",
"vertices"
],
[
"List Zip",
"data",
"Viewer Draw2",
"edg_pol"
],
[
"UV Connect",
"vertices",
"Viewer text",
"vertices"
],
[
"List repeater",
"Data",
"Viewer text",
"edg_pol"
],
[
"Objects_in",
"Vertices",
"Viewer Draw2.002",
"vertices"
],
[
"Objects_in",
"Edges",
"Viewer Draw2.002",
"edg_pol"
]
]
}
{
"export_version": "0.054",
"framed_nodes": {},
"groups": {},
"nodes": {
"Float": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8.353584289550781,
56.452850341796875
],
"params": {
"float_": 0.25000008940696716
},
"width": 140.0
},
"Float.001": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
12.991965293884277,
266.73187255859375
],
"params": {
"float_": 3.0
},
"width": 140.0
},
"Formula2": {
"bl_idname": "Formula2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
4355.1357421875,
412.6824035644531
],
"params": {
"formula": "(x+n[0])/2"
},
"width": 140.0
},
"Formula2.001": {
"bl_idname": "Formula2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5146.8876953125,
261.11553955078125
],
"params": {
"formula": "(x+n[0])/2"
},
"width": 140.0
},
"Formula2.002": {
"bl_idname": "Formula2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5111.34521484375,
-78.19099426269531
],
"params": {
"formula": "(x+n[0])/2"
},
"width": 140.0
},
"Formula2.003": {
"bl_idname": "Formula2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
5203.57373046875,
715.9812622070312
],
"params": {
"formula": "x-1"
},
"width": 140.0
},
"Index Viewer Draw": {
"bl_idname": "IndexViewerNode",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
7997.72998046875,
426.4518737792969
],
"params": {
"activate": 0,
"draw_bg": 1
},
"width": 140.0
},
"Integer": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
9.863283157348633,
163.74452209472656
],
"params": {
"int_": 16
},
"width": 140.0
},
"Integer.001": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
9938.1845703125,
290.93487548828125
],
"params": {
"int_": 90
},
"width": 140.0
},
"Intersect Edges.001": {
"bl_idname": "SvIntersectEdgesNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2599.50341796875,
473.9288330078125
],
"params": {},
"width": 140.0
},
"Kdtree search": {
"bl_idname": "SvKDTreeNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1003.5192260742188,
408.8917541503906
],
"params": {
"mode": "FIND_N"
},
"width": 140.0
},
"List Del Levels": {
"bl_idname": "ListLevelsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
4085.21044921875,
404.4302978515625
],
"params": {
"Sverch_LisLev": "1"
},
"width": 108.37646484375
},
"List Del Levels.001": {
"bl_idname": "ListLevelsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
4086.442138671875,
348.9530334472656
],
"params": {
"Sverch_LisLev": "1"
},
"width": 108.37646484375
},
"List Del Levels.002": {
"bl_idname": "ListLevelsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
4972.25048828125,
188.86666870117188
],
"params": {
"Sverch_LisLev": "1"
},
"width": 108.37646484375
},
"List Del Levels.003": {
"bl_idname": "ListLevelsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
4973.48193359375,
147.192626953125
],
"params": {
"Sverch_LisLev": "1"
},
"width": 108.37646484375
},
"List Del Levels.004": {
"bl_idname": "ListLevelsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
4931.69287109375,
-141.65599060058594
],
"params": {
"Sverch_LisLev": "1"
},
"width": 108.37646484375
},
"List Del Levels.005": {
"bl_idname": "ListLevelsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
4936.68603515625,
-184.5848846435547
],
"params": {
"Sverch_LisLev": "1"
},
"width": 108.37646484375
},
"List First Last": {
"bl_idname": "ListFLNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
3878.964599609375,
433.81988525390625
],
"params": {
"level": 1
},
"width": 140.0
},
"List Join": {
"bl_idname": "ListJoinNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
3694.00439453125,
349.1785888671875
],
"params": {
"wrap_check": 0
},
"width": 140.0
},
"List Join.001": {
"bl_idname": "ListJoinNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
7851.20751953125,
1043.8272705078125
],
"params": {
"JoinLevel": 2,
"mix_check": 0
},
"width": 140.0
},
"List Join.002": {
"bl_idname": "ListJoinNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
7861.21533203125,
1248.1951904296875
],
"params": {
"JoinLevel": 2,
"mix_check": 0
},
"width": 140.0
},
"List Join.003": {
"bl_idname": "ListJoinNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8978.021484375,
1311.51416015625
],
"params": {
"JoinLevel": 2
},
"width": 162.5205078125
},
"List Length": {
"bl_idname": "ListLengthNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": true,
"label": "",
"location": [
2816.09130859375,
181.75669860839844
],
"params": {},
"width": 140.0
},
"List Length.001": {
"bl_idname": "ListLengthNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5021.4208984375,
747.583251953125
],
"params": {
"level": 1
},
"width": 140.0
},
"List Range Int": {
"bl_idname": "GenListRangeIntNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1212.1273193359375,
110.77891540527344
],
"params": {
"start_": 0,
"step_": 1
},
"width": 140.0
},
"List Range Int.001": {
"bl_idname": "GenListRangeIntNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8459.9248046875,
1193.6231689453125
],
"params": {
"start_": 0,
"step_": 1,
"stop_": -5
},
"width": 140.0
},
"List Range Int.002": {
"bl_idname": "GenListRangeIntNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8463.4921875,
975.431640625
],
"params": {
"start_": 0,
"step_": 1,
"stop_": -5
},
"width": 140.0
},
"List Split": {
"bl_idname": "SvListSplitNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
4558.14599609375,
487.2547912597656
],
"params": {
"level": 1,
"split": 3,
"unwrap": 0
},
"width": 140.0
},
"List Split.001": {
"bl_idname": "SvListSplitNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5349.8984375,
335.68792724609375
],
"params": {
"level": 1,
"split": 3,
"unwrap": 0
},
"width": 140.0
},
"List Split.002": {
"bl_idname": "SvListSplitNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5314.35595703125,
-3.6186065673828125
],
"params": {
"level": 1,
"split": 3,
"unwrap": 0
},
"width": 140.0
},
"List Split.003": {
"bl_idname": "SvListSplitNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
7083.97705078125,
888.0674438476562
],
"params": {
"split": 3
},
"width": 140.0
},
"List Zip": {
"bl_idname": "ZipNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1478.2667236328125,
279.4316101074219
],
"params": {},
"width": 140.0
},
"List item": {
"bl_idname": "ListItem2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
3093.31298828125,
247.78924560546875
],
"params": {
"item": 3,
"level": 2
},
"width": 140.0
},
"List item.001": {
"bl_idname": "ListItem2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5327.052734375,
863.1856079101562
],
"params": {
"item": 3
},
"width": 140.0
},
"List item.002": {
"bl_idname": "ListItem2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8678.833984375,
1297.369140625
],
"params": {},
"width": 140.0
},
"List item.004": {
"bl_idname": "ListItem2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8678.638671875,
1113.373779296875
],
"params": {},
"width": 140.0
},
"List repeater": {
"bl_idname": "ListRepeaterNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1218.8980712890625,
283.9798583984375
],
"params": {
"level": 2,
"unwrap": 1
},
"width": 138.0079345703125
},
"List repeater.001": {
"bl_idname": "ListRepeaterNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
3353.922119140625,
436.88470458984375
],
"params": {
"level": 2,
"unwrap": 1
},
"width": 140.0
},
"List repeater.002": {
"bl_idname": "ListRepeaterNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
6446.3759765625,
463.5673522949219
],
"params": {
"level": 2,
"unwrap": 1
},
"width": 140.0
},
"Matrix in": {
"bl_idname": "MatrixGenNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
10173.7119140625,
424.072509765625
],
"params": {},
"width": 140.0
},
"Mirror": {
"bl_idname": "SvMirrorNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
10452.212890625,
605.4788208007812
],
"params": {
"mode": "PLANE"
},
"width": 140.0
},
"Note": {
"bl_idname": "NoteNode",
"color": [
0.0,
0.4255272150039673,
1.0
],
"height": 100.0,
"hide": false,
"label": "Instructions",
"location": [
213.22312927246094,
728.9388427734375
],
"params": {
"show_text": 0,
"text": "Add Monkey, centre Monkey in 3D View, get Object_in and Update NodeTree."
},
"width": 320.0
},
"Note.001": {
"bl_idname": "NoteNode",
"color": [
0.5,
0.5,
1.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
568.8433837890625,
736.8020629882812
],
"params": {
"show_text": 1,
"text": "Blender v2.72 Sverchok v0.5.0.8"
},
"width": 320.0
},
"Objects_in": {
"bl_idname": "ObjectsNode",
"color": [
0.0,
0.5,
0.20000000298023224
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
215.67263793945312,
590.9893188476562
],
"params": {},
"width": 140.0
},
"Reroute": {
"bl_idname": "NodeReroute",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
550.3920288085938,
290.05523681640625
],
"params": {},
"width": 16.0
},
"Reroute.001": {
"bl_idname": "NodeReroute",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
549.830322265625,
250.43765258789062
],
"params": {},
"width": 16.0
},
"Reroute.002": {
"bl_idname": "NodeReroute",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
549.3848266601562,
209.36570739746094
],
"params": {},
"width": 16.0
},
"Reroute.003": {
"bl_idname": "NodeReroute",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
10250.134765625,
629.8875122070312
],
"params": {},
"width": 16.0
},
"Reroute.004": {
"bl_idname": "NodeReroute",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
10249.3701171875,
669.859130859375
],
"params": {},
"width": 16.0
},
"UV Connect": {
"bl_idname": "LineConnectNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1220.4757080078125,
527.1550903320312
],
"params": {
"cicl_check": 0,
"dir_check": "V_dir",
"polygons": 0,
"slice_check": 0
},
"width": 140.0
},
"UV Connect.001": {
"bl_idname": "LineConnectNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
6660.81787109375,
738.9075317382812
],
"params": {
"cicl_check": 0,
"dir_check": "V_dir",
"polygons": 0,
"slice_check": 0
},
"width": 140.0
},
"Vector Math.001": {
"bl_idname": "VectorMathNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "NOISE-V",
"location": [
7361.39013671875,
865.3941650390625
],
"params": {
"items_": "NOISE-V",
"scalar_output_socket": 0
},
"width": 140.0
},
"Vectors Move.001": {
"bl_idname": "VectorMoveNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
7646.6953125,
908.945068359375
],
"params": {
"mult_": 0.19000008702278137
},
"width": 140.0
},
"Vectors in": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
212.29454040527344,
286.51153564453125
],
"params": {
"x_": 3.0899999141693115,
"y_": 1.0,
"z_": 0.0
},
"width": 141.08982849121094
},
"Vectors in.001": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
9928.3173828125,
470.173095703125
],
"params": {
"x_": 0.0,
"y_": 0.0,
"z_": 0.0
},
"width": 100.0
},
"Vectors in.002": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
9805.1337890625,
362.70159912109375
],
"params": {
"x_": 0.0,
"y_": 1.0,
"z_": 0.0
},
"width": 100.0
},
"Viewer Draw2": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1857.374755859375,
391.0616455078125
],
"params": {
"activate": 0,
"display_edges": 1,
"display_faces": 1,
"display_verts": 1
},
"width": 140.0
},
"Viewer Draw2.001": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1851.818359375,
914.5623779296875
],
"params": {
"activate": 0,
"display_edges": 1,
"display_verts": 1
},
"width": 140.0
},
"Viewer Draw2.002": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1851.13916015625,
690.8605346679688
],
"params": {
"activate": 1,
"display_edges": 1,
"display_faces": 1,
"display_verts": 0
},
"width": 140.0
},
"Viewer Draw2.003": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
10764.564453125,
774.5459594726562
],
"params": {
"display_verts": 0
},
"width": 140.0
},
"Viewer Draw2.004": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
3099.49951171875,
526.5808715820312
],
"params": {
"activate": 0,
"display_edges": 1
},
"width": 140.0
},
"Viewer Draw2.005": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5990.85302734375,
671.9042358398438
],
"params": {
"activate": 0
},
"width": 140.0
},
"Viewer Draw2.006": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5994.263671875,
912.231689453125
],
"params": {
"activate": 0
},
"width": 140.0
},
"Viewer Draw2.007": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5992.99169921875,
449.6968994140625
],
"params": {
"activate": 0
},
"width": 140.0
},
"Viewer Draw2.008": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5996.80517578125,
224.82034301757812
],
"params": {
"activate": 0
},
"width": 140.0
},
"Viewer Draw2.009": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
6008.4677734375,
1142.099365234375
],
"params": {
"activate": 0
},
"width": 140.0
},
"Viewer Draw2.010": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
6999.0458984375,
582.2066040039062
],
"params": {
"activate": 0
},
"width": 140.0
},
"Viewer Draw2.011": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
9591.322265625,
871.2152709960938
],
"params": {
"activate": 1,
"display_faces": 1,
"display_verts": 0
},
"width": 140.0
},
"Viewer text": {
"bl_idname": "ViewerNode_text",
"color": [
0.5,
0.5,
1.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2363.228759765625,
674.0089721679688
],
"params": {},
"width": 140.0
},
"Viewer text.001": {
"bl_idname": "ViewerNode_text",
"color": [
0.5,
0.5,
1.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
10603.810546875,
982.808349609375
],
"params": {},
"width": 140.0
},
"Wifi input": {
"bl_idname": "WifiInNode",
"color": [
0.6740000247955322,
0.24199999868869781,
0.3630000054836273
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2885.78662109375,
587.0541381835938
],
"params": {
"base_name": "a",
"var_name": "a"
},
"width": 140.0
},
"Wifi input.001": {
"bl_idname": "WifiInNode",
"color": [
0.6740000247955322,
0.24199999868869781,
0.3630000054836273
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
5325.46630859375,
650.1290283203125
],
"params": {
"base_name": "b",
"var_name": "b"
},
"width": 140.0
},
"Wifi output": {
"bl_idname": "WifiOutNode",
"color": [
0.6740000247955322,
0.24199999868869781,
0.3630000054836273
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
4829.58349609375,
791.001708984375
],
"params": {
"var_name": "a"
},
"width": 140.0
},
"Wifi output.001": {
"bl_idname": "WifiOutNode",
"color": [
0.6740000247955322,
0.24199999868869781,
0.3630000054836273
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
8054.56396484375,
1127.560302734375
],
"params": {
"var_name": "b",
"var_names": "b"
},
"width": 140.0
}
},
"update_lists": [
[
"Float.001",
"Float",
"Vectors in",
"X"
],
[
"Vectors in",
"Vectors",
"Reroute.001",
"Input"
],
[
"Vectors in",
"Vectors",
"Reroute.002",
"Input"
],
[
"Objects_in",
"Vertices",
"Kdtree search",
"Verts"
],
[
"Reroute.002",
"Output",
"Kdtree search",
"Check Verts"
],
[
"Integer",
"Integer",
"Kdtree search",
"n nearest"
],
[
"Kdtree search",
"n proxima .co",
"UV Connect",
"vertices"
],
[
"Reroute.001",
"Output",
"UV Connect",
"vertices 1"
],
[
"Integer",
"Integer",
"List Range Int",
"Stop"
],
[
"Integer",
"Integer",
"List repeater",
"Data"
],
[
"Integer",
"Integer",
"List repeater",
"Number"
],
[
"List repeater",
"Data",
"List Zip",
"data"
],
[
"List Range Int",
"Range",
"List Zip",
"data 1"
],
[
"UV Connect",
"vertices",
"Intersect Edges.001",
"Verts_in"
],
[
"List Zip",
"data",
"Intersect Edges.001",
"Edges_in"
],
[
"Intersect Edges.001",
"Edges_out",
"List Length",
"Data"
],
[
"Intersect Edges.001",
"Verts_out",
"List item",
"Data"
],
[
"List Length",
"Length",
"List item",
"Item"
],
[
"List item",
"Item",
"List repeater.001",
"Data"
],
[
"List Length",
"Length",
"List repeater.001",
"Number"
],
[
"List repeater.001",
"Data",
"List Join",
"data"
],
[
"List item",
"Other",
"List Join",
"data 1"
],
[
"List Join",
"data",
"List First Last",
"Data"
],
[
"List First Last",
"First",
"List Del Levels",
"data"
],
[
"List First Last",
"Last",
"List Del Levels.001",
"data"
],
[
"List Del Levels",
"data",
"Formula2",
"X"
],
[
"List Del Levels.001",
"data",
"Formula2",
"n[0]"
],
[
"Formula2",
"Result",
"List Split",
"Data"
],
[
"List Split",
"Split",
"Viewer Draw2.005",
"vertices"
],
[
"Intersect Edges.001",
"Verts_out",
"Wifi input",
"a[0]"
],
[
"List First Last",
"First",
"List Del Levels.005",
"data"
],
[
"List Split",
"Split",
"List Del Levels.004",
"data"
],
[
"List Del Levels.004",
"data",
"Formula2.002",
"X"
],
[
"List Del Levels.005",
"data",
"Formula2.002",
"n[0]"
],
[
"Wifi output",
"a[0]",
"List Length.001",
"Data"
],
[
"List Length.001",
"Length",
"Formula2.003",
"X"
],
[
"Wifi output",
"a[0]",
"List item.001",
"Data"
],
[
"Formula2.003",
"Result",
"List item.001",
"Item"
],
[
"Formula2.002",
"Result",
"List Split.002",
"Data"
],
[
"List First Last",
"Last",
"List Del Levels.003",
"data"
],
[
"List Split",
"Split",
"List Del Levels.002",
"data"
],
[
"List Del Levels.002",
"data",
"Formula2.001",
"X"
],
[
"List Del Levels.003",
"data",
"Formula2.001",
"n[0]"
],
[
"Formula2.001",
"Result",
"List Split.001",
"Data"
],
[
"List item.001",
"Item",
"List repeater.002",
"Data"
],
[
"Formula2.003",
"Result",
"List repeater.002",
"Number"
],
[
"List item.001",
"Other",
"UV Connect.001",
"vertices"
],
[
"List Split.001",
"Split",
"UV Connect.001",
"vertices 1"
],
[
"List Split",
"Split",
"UV Connect.001",
"vertices 2"
],
[
"List Split.002",
"Split",
"UV Connect.001",
"vertices 3"
],
[
"List repeater.002",
"Data",
"UV Connect.001",
"vertices 4"
],
[
"UV Connect.001",
"vertices",
"List Split.003",
"Data"
],
[
"Formula2.003",
"Result",
"List Split.003",
"Split"
],
[
"List Split.003",
"Split",
"Vector Math.001",
"U"
],
[
"List Split.003",
"Split",
"Vectors Move.001",
"vertices"
],
[
"Vector Math.001",
"W",
"Vectors Move.001",
"vectors"
],
[
"Float",
"Float",
"Vectors Move.001",
"multiplier"
],
[
"Vectors Move.001",
"vertices",
"List Join.001",
"data"
],
[
"Vectors in.001",
"Vectors",
"Matrix in",
"Location"
],
[
"Vectors in.002",
"Vectors",
"Matrix in",
"Rotation"
],
[
"Integer.001",
"Integer",
"Matrix in",
"Angle"
],
[
"Formula2.003",
"Result",
"Wifi input.001",
"b[0]"
],
[
"Intersect Edges.001",
"Verts_out",
"Viewer Draw2.004",
"vertices"
],
[
"Intersect Edges.001",
"Edges_out",
"Viewer Draw2.004",
"edg_pol"
],
[
"List item.001",
"Item",
"Viewer Draw2.008",
"vertices"
],
[
"List Split.003",
"Split",
"List Join.002",
"data"
],
[
"Wifi output.001",
"b[0]",
"List Range Int.002",
"Stop"
],
[
"List Join.001",
"data",
"List item.004",
"Data"
],
[
"List Range Int.002",
"Range",
"List item.004",
"Item"
],
[
"Wifi output.001",
"b[0]",
"List Range Int.001",
"Stop"
],
[
"List Join.002",
"data",
"List item.002",
"Data"
],
[
"List Range Int.001",
"Range",
"List item.002",
"Item"
],
[
"List item.002",
"Item",
"List Join.003",
"data"
],
[
"List item.004",
"Other",
"List Join.003",
"data 1"
],
[
"List Join.003",
"data",
"Viewer Draw2.011",
"vertices"
],
[
"UV Connect.001",
"data",
"Viewer Draw2.011",
"edg_pol"
],
[
"List Join.003",
"data",
"Reroute.004",
"Input"
],
[
"Reroute.004",
"Output",
"Mirror",
"Vertices"
],
[
"Matrix in",
"Matrix",
"Mirror",
"Plane"
],
[
"UV Connect.001",
"data",
"Reroute.003",
"Input"
],
[
"Mirror",
"Vertices",
"Viewer Draw2.003",
"vertices"
],
[
"Reroute.003",
"Output",
"Viewer Draw2.003",
"edg_pol"
],
[
"Objects_in",
"Vertices",
"Viewer Draw2.002",
"vertices"
],
[
"Objects_in",
"Edges",
"Viewer Draw2.002",
"edg_pol"
],
[
"List item.001",
"Other",
"Viewer Draw2.009",
"vertices"
],
[
"UV Connect.001",
"vertices",
"Viewer Draw2.010",
"vertices"
],
[
"UV Connect.001",
"data",
"Viewer Draw2.010",
"edg_pol"
],
[
"List Split.001",
"Split",
"Viewer Draw2.006",
"vertices"
],
[
"Reroute.004",
"Output",
"Viewer text.001",
"vertices"
],
[
"Reroute.003",
"Output",
"Viewer text.001",
"edg_pol"
],
[
"UV Connect.001",
"vertices",
"Index Viewer Draw",
"vertices"
],
[
"UV Connect.001",
"data",
"Index Viewer Draw",
"edges"
],
[
"Vectors in",
"Vectors",
"Reroute",
"Input"
],
[
"Reroute",
"Output",
"Viewer Draw2.001",
"vertices"
],
[
"UV Connect",
"vertices",
"Viewer text",
"vertices"
],
[
"List Zip",
"data",
"Viewer text",
"edg_pol"
],
[
"List Split.002",
"Split",
"Viewer Draw2.007",
"vertices"
],
[
"UV Connect",
"vertices",
"Viewer Draw2",
"vertices"
],
[
"List Zip",
"data",
"Viewer Draw2",
"edg_pol"
]
]
}
# Set the environment
import bpy
scene = bpy.context.scene
for ob in scene.objects:
if ob.type == 'MESH' and ob.name.startswith("Cube") or ob.type == 'CAMERA' or ob.type == 'LAMP':
ob.select = True
elif ob.type == 'CAMERA' or ob.type == 'LAMP':
ob.select = True
else:
ob.select = False
bpy.ops.object.delete()
bpy.ops.mesh.primitive_monkey_add(radius=1, view_align=False, enter_editmode=False, location=(0, 0, 0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment