Created
July 17, 2017 20:06
-
-
Save anonymous/0b935602dd5ce562d217eb498641a295 to your computer and use it in GitHub Desktop.
to do later?
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
{ | |
"export_version": "0.065", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"A Number": { | |
"bl_idname": "SvNumberNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
222.15744018554688, | |
-378.94659423828125 | |
], | |
"params": { | |
"float_": 0.6099998950958252, | |
"int_": 1, | |
"selected_mode": "float" | |
}, | |
"width": 140.0 | |
}, | |
"A Number.001": { | |
"bl_idname": "SvNumberNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
215.30027770996094, | |
-124.18621826171875 | |
], | |
"params": { | |
"float_": 0.49000000953674316, | |
"int_": 0 | |
}, | |
"width": 140.0 | |
}, | |
"Delete Loose": { | |
"bl_idname": "SvDeleteLooseNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
2364.35546875, | |
-162.00779724121094 | |
], | |
"params": {}, | |
"width": 140.0 | |
}, | |
"Formula": { | |
"bl_idname": "Formula2Node", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
458.20819091796875, | |
-124.24357604980469 | |
], | |
"params": { | |
"formula": "x*(cos((x*n[0])*pi*n[1]))" | |
}, | |
"width": 140.0 | |
}, | |
"Formula.001": { | |
"bl_idname": "Formula2Node", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
485.2608642578125, | |
-303.35003662109375 | |
], | |
"params": { | |
"formula": "x*(cos((x*n[0])*pi*n[1]))" | |
}, | |
"width": 140.0 | |
}, | |
"Formula.002": { | |
"bl_idname": "Formula2Node", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
386.7921142578125, | |
30.869361877441406 | |
], | |
"params": { | |
"formula": "x*n[0]" | |
}, | |
"width": 140.0 | |
}, | |
"Frame": { | |
"bl_idname": "NodeFrame", | |
"color": [ | |
0.32549017667770386, | |
0.34117645025253296, | |
0.34509801864624023 | |
], | |
"height": 1500.0, | |
"hide": false, | |
"label": "Sverchok_viewer", | |
"location": [ | |
-1393.4869384765625, | |
141.43344116210938 | |
], | |
"params": {}, | |
"width": 800.0 | |
}, | |
"List Join": { | |
"bl_idname": "ListJoinNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1623.9688720703125, | |
-65.23807525634766 | |
], | |
"params": {}, | |
"width": 140.0 | |
}, | |
"List Join.001": { | |
"bl_idname": "ListJoinNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1485.708984375, | |
-323.3638000488281 | |
], | |
"params": {}, | |
"width": 140.0 | |
}, | |
"Mesh Join": { | |
"bl_idname": "SvMeshJoinNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1800.456787109375, | |
-85.820068359375 | |
], | |
"params": {}, | |
"width": 140.0 | |
}, | |
"Mesh filter": { | |
"bl_idname": "SvMeshFilterNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
2348.382080078125, | |
108.97521209716797 | |
], | |
"params": { | |
"mode": "Edges", | |
"submode": "Boundary" | |
}, | |
"width": 140.0 | |
}, | |
"Mirror": { | |
"bl_idname": "SvMirrorNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1568.9981689453125, | |
209.94178771972656 | |
], | |
"params": { | |
"mode": "PLANE" | |
}, | |
"width": 126.3592529296875 | |
}, | |
"Mirror.001": { | |
"bl_idname": "SvMirrorNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
2819.9951171875, | |
-221.54774475097656 | |
], | |
"params": { | |
"mode": "PLANE" | |
}, | |
"width": 140.0 | |
}, | |
"Plane MK2": { | |
"bl_idname": "SvPlaneNodeMK2", | |
"color": [ | |
0.9200000166893005, | |
0.9200000166893005, | |
0.9200000166893005 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
-464.90594482421875, | |
131.32415771484375 | |
], | |
"params": { | |
"center": 1, | |
"normalize": 0, | |
"numx": 15, | |
"numy": 15, | |
"stepx": 0.06666667014360428, | |
"stepy": 0.06666667014360428 | |
}, | |
"width": 138.294921875 | |
}, | |
"Proportional Edit Falloff": { | |
"bl_idname": "SvProportionalEditNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
20.905868530273438, | |
-23.292064666748047 | |
], | |
"params": { | |
"falloff_type": "smooth", | |
"radius": 1.869999885559082 | |
}, | |
"width": 140.0 | |
}, | |
"Scripted Node Lite": { | |
"bl_idname": "SvScriptNodeLite", | |
"color": [ | |
0.0, | |
0.800000011920929, | |
0.949999988079071 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1150.433837890625, | |
-52.138427734375 | |
], | |
"params": { | |
"inject_params": 0, | |
"injected_state": 0, | |
"script_name": "min_max_z.py", | |
"script_str": "\"\"\"\nin vecs v d=[[]] n=0\nout minz s\n\"\"\"\nimport numpy as np\nif vecs:\n vecs_ = np.array(vecs)\n minz = [[np.min(vecs_[:,:,2])]]" | |
}, | |
"snlite_ui": [], | |
"width": 140.0 | |
}, | |
"Scripted Node Lite.001": { | |
"bl_idname": "SvScriptNodeLite", | |
"color": [ | |
0.0, | |
0.800000011920929, | |
0.949999988079071 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
2543.58642578125, | |
-113.70500183105469 | |
], | |
"params": { | |
"inject_params": 0, | |
"injected_state": 0, | |
"script_name": "topo_sort_for_profile.py", | |
"script_str": "\"\"\"\nin in_verts v\nin in_edges s\nout vout v\nout eout s\n\"\"\"\n\n\ndef dodo(verts, edges, verts_o,k):\n for i in edges:\n if k in i:\n # this is awesome !!\n k = i[int(not i.index(k))]\n verts_o.append(verts[k])\n return k, i\n return False, False\n\nif in_verts:\n for edges, verts in zip(in_edges, in_verts):\n ed = 1\n edges_o = []\n verts_o = []\n k = 0\n while True:\n k, ed = dodo(verts, edges, verts_o,k)\n if ed:\n edges.remove(ed)\n if not ed:\n break\n edges_o = [[k,k+1] for k in range(len(verts_o)-1)]\n edges_o.append([0, len(verts_o)-1])\n eout.append(edges_o)\n vout.append(verts_o)\n" | |
}, | |
"snlite_ui": [], | |
"width": 140.0 | |
}, | |
"Select mesh elements by location": { | |
"bl_idname": "SvMeshSelectNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
-264.09442138671875, | |
-97.02262115478516 | |
], | |
"params": { | |
"include_partial": 0, | |
"mode": "BySphere", | |
"radius": 0.11900000274181366 | |
}, | |
"width": 140.0 | |
}, | |
"UV Connection": { | |
"bl_idname": "LineConnectNodeMK2", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
2999.206298828125, | |
14.498908996582031 | |
], | |
"params": { | |
"polygons": "Pols", | |
"slice_check": 0 | |
}, | |
"width": 140.0 | |
}, | |
"Vector Math": { | |
"bl_idname": "SvVectorMathNodeMK2", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
536.308349609375, | |
134.68893432617188 | |
], | |
"params": { | |
"current_op": "ADD", | |
"v3_input_1": [ | |
0.0, | |
0.0, | |
1.0 | |
] | |
}, | |
"width": 140.0 | |
}, | |
"Vector Math.001": { | |
"bl_idname": "SvVectorMathNodeMK2", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
939.5982666015625, | |
94.99637603759766 | |
], | |
"params": { | |
"current_op": "SUB", | |
"v3_input_1": [ | |
0.0, | |
0.0, | |
1.0 | |
] | |
}, | |
"width": 140.0 | |
}, | |
"Vector Math.002": { | |
"bl_idname": "SvVectorMathNodeMK2", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
926.8961181640625, | |
-119.3996810913086 | |
], | |
"params": { | |
"amount": 0.3400000333786011, | |
"current_op": "SCALAR" | |
}, | |
"width": 140.0 | |
}, | |
"Vector Math.003": { | |
"bl_idname": "SvVectorMathNodeMK2", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1352.2313232421875, | |
176.98484802246094 | |
], | |
"params": { | |
"current_op": "SUB", | |
"v3_input_1": [ | |
0.0, | |
0.0, | |
1.0 | |
] | |
}, | |
"width": 140.0 | |
}, | |
"Vector in": { | |
"bl_idname": "GenVectorsNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
248.2131805419922, | |
1.9455108642578125 | |
], | |
"params": {}, | |
"width": 100.0 | |
}, | |
"Vector in.001": { | |
"bl_idname": "GenVectorsNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
734.9334106445312, | |
-39.33147430419922 | |
], | |
"params": {}, | |
"width": 100.0 | |
}, | |
"Vector in.002": { | |
"bl_idname": "GenVectorsNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
1185.07861328125, | |
215.17437744140625 | |
], | |
"params": {}, | |
"width": 100.0 | |
}, | |
"Vector out": { | |
"bl_idname": "VectorsOutNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, | |
0.6079999804496765 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
104.96511840820312, | |
-211.50839233398438 | |
], | |
"params": {}, | |
"width": 165.13436889648438 | |
}, | |
"Viewer Draw": { | |
"bl_idname": "ViewerNode2", | |
"color": [ | |
0.6284880042076111, | |
0.931007981300354, | |
1.0 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
2065.917724609375, | |
-10.679718017578125 | |
], | |
"params": { | |
"display_edges": 0, | |
"display_verts": 0, | |
"shading": 1, | |
"transparant": 0 | |
}, | |
"width": 140.0 | |
}, | |
"Viewer Draw.001": { | |
"bl_idname": "ViewerNode2", | |
"color": [ | |
0.6284880042076111, | |
0.931007981300354, | |
1.0 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
3244.998291015625, | |
88.921875 | |
], | |
"params": { | |
"display_edges": 0, | |
"display_verts": 0, | |
"shading": 1, | |
"transparant": 0 | |
}, | |
"width": 140.0 | |
} | |
}, | |
"update_lists": [ | |
[ | |
"Plane MK2", | |
0, | |
"Vector out", | |
0 | |
], | |
[ | |
"Vector out", | |
0, | |
"Formula", | |
0 | |
], | |
[ | |
"Vector out", | |
1, | |
"Formula", | |
1 | |
], | |
[ | |
"A Number", | |
0, | |
"Formula", | |
2 | |
], | |
[ | |
"Vector out", | |
1, | |
"Formula.001", | |
0 | |
], | |
[ | |
"Vector out", | |
0, | |
"Formula.001", | |
1 | |
], | |
[ | |
"A Number", | |
0, | |
"Formula.001", | |
2 | |
], | |
[ | |
"Formula", | |
0, | |
"Vector in.001", | |
0 | |
], | |
[ | |
"Formula.001", | |
0, | |
"Vector in.001", | |
1 | |
], | |
[ | |
"Plane MK2", | |
0, | |
"Select mesh elements by location", | |
0 | |
], | |
[ | |
"Plane MK2", | |
2, | |
"Select mesh elements by location", | |
2 | |
], | |
[ | |
"Plane MK2", | |
0, | |
"Proportional Edit Falloff", | |
0 | |
], | |
[ | |
"Select mesh elements by location", | |
0, | |
"Proportional Edit Falloff", | |
1 | |
], | |
[ | |
"Proportional Edit Falloff", | |
0, | |
"Vector in", | |
2 | |
], | |
[ | |
"Vector in", | |
0, | |
"Formula.002", | |
0 | |
], | |
[ | |
"A Number.001", | |
0, | |
"Formula.002", | |
1 | |
], | |
[ | |
"Plane MK2", | |
0, | |
"Vector Math", | |
0 | |
], | |
[ | |
"Formula.002", | |
0, | |
"Vector Math", | |
1 | |
], | |
[ | |
"Vector in.001", | |
0, | |
"Vector Math.002", | |
0 | |
], | |
[ | |
"Vector Math", | |
0, | |
"Vector Math.001", | |
0 | |
], | |
[ | |
"Vector Math.002", | |
0, | |
"Vector Math.001", | |
1 | |
], | |
[ | |
"Vector Math.001", | |
0, | |
"Scripted Node Lite", | |
0 | |
], | |
[ | |
"Scripted Node Lite", | |
0, | |
"Vector in.002", | |
2 | |
], | |
[ | |
"Vector Math.001", | |
0, | |
"Vector Math.003", | |
0 | |
], | |
[ | |
"Vector in.002", | |
0, | |
"Vector Math.003", | |
1 | |
], | |
[ | |
"Vector Math.003", | |
0, | |
"Mesh filter", | |
0 | |
], | |
[ | |
"Plane MK2", | |
2, | |
"Mesh filter", | |
2 | |
], | |
[ | |
"Vector Math.003", | |
0, | |
"Mirror", | |
0 | |
], | |
[ | |
"Vector Math.003", | |
0, | |
"List Join", | |
0 | |
], | |
[ | |
"Mirror", | |
0, | |
"List Join", | |
1 | |
], | |
[ | |
"Plane MK2", | |
2, | |
"List Join.001", | |
0 | |
], | |
[ | |
"Plane MK2", | |
2, | |
"List Join.001", | |
1 | |
], | |
[ | |
"List Join", | |
0, | |
"Mesh Join", | |
0 | |
], | |
[ | |
"List Join.001", | |
0, | |
"Mesh Join", | |
1 | |
], | |
[ | |
"Mesh Join", | |
0, | |
"Delete Loose", | |
0 | |
], | |
[ | |
"Mesh filter", | |
0, | |
"Delete Loose", | |
1 | |
], | |
[ | |
"Delete Loose", | |
0, | |
"Scripted Node Lite.001", | |
0 | |
], | |
[ | |
"Delete Loose", | |
1, | |
"Scripted Node Lite.001", | |
1 | |
], | |
[ | |
"Scripted Node Lite.001", | |
0, | |
"Mirror.001", | |
0 | |
], | |
[ | |
"Scripted Node Lite.001", | |
0, | |
"UV Connection", | |
0 | |
], | |
[ | |
"Mirror.001", | |
0, | |
"UV Connection", | |
1 | |
], | |
[ | |
"UV Connection", | |
0, | |
"Viewer Draw.001", | |
0 | |
], | |
[ | |
"UV Connection", | |
1, | |
"Viewer Draw.001", | |
1 | |
], | |
[ | |
"Mesh Join", | |
0, | |
"Viewer Draw", | |
0 | |
], | |
[ | |
"Mesh Join", | |
1, | |
"Viewer Draw", | |
1 | |
] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment