Skip to content

Instantly share code, notes, and snippets.

@enzyme69
Created October 21, 2016 05:39
Show Gist options
  • Save enzyme69/6345e604387d9ddcadf689cc2bc6bccc to your computer and use it in GitHub Desktop.
Save enzyme69/6345e604387d9ddcadf689cc2bc6bccc to your computer and use it in GitHub Desktop.
Sverchok JSON Place Objects On Ground at World Zero
{
"export_version": "0.062",
"framed_nodes": {
"List Item": "To Get The Height",
"List Item.001": "To Get The Height"
},
"groups": {},
"nodes": {
"Bounding box": {
"bl_idname": "SvBBoxNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1065.4744873046875,
-120.97010803222656
],
"params": {},
"width": 140.0
},
"Distance": {
"bl_idname": "DistancePPNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-568.7631225585938,
-107.69169616699219
],
"params": {
"Cross_dist": 0
},
"width": 144.88671875
},
"Float": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-695.3713989257812,
324.8113098144531
],
"params": {
"float_": -1.0
},
"width": 140.0
},
"List Flip": {
"bl_idname": "ListFlipNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-685.4981689453125,
453.0044250488281
],
"params": {
"level": 1
},
"width": 140.0
},
"List Flip.001": {
"bl_idname": "ListFlipNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-151.218994140625,
54.52052307128906
],
"params": {
"level": 1
},
"width": 140.0
},
"List Item": {
"bl_idname": "ListItem2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
548.17431640625,
-153.1072998046875
],
"params": {
"item": 4
},
"width": 140.0
},
"List Item.001": {
"bl_idname": "ListItem2Node",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
542.7359008789062,
-338.25714111328125
],
"params": {},
"width": 140.0
},
"Math.001": {
"bl_idname": "ScalarMathNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-345.8681640625,
20.048969268798828
],
"params": {
"items_": "DIV",
"y": 2.0
},
"width": 140.0
},
"Matrix Apply": {
"bl_idname": "MatrixApplyNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1228.4698486328125,
16.742326736450195
],
"params": {},
"width": 140.0
},
"Matrix in.001": {
"bl_idname": "MatrixGenNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
175.76126098632812,
99.80775451660156
],
"params": {},
"width": 138.142822265625
},
"Matrix out.001": {
"bl_idname": "MatrixOutNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-916.0558471679688,
246.79600524902344
],
"params": {},
"width": 140.0
},
"Objects in": {
"bl_idname": "ObjectsNode",
"color": [
0.0,
0.5,
0.20000000298023224
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1409.8115234375,
122.78939056396484
],
"params": {
"sort": 0
},
"width": 140.0
},
"To Get The Height": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 386.653076171875,
"hide": false,
"label": "Height",
"location": [
-1316.202392578125,
85.7603759765625
],
"params": {},
"width": 205.43841552734375
},
"Vector Math": {
"bl_idname": "VectorMathNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "ADD",
"location": [
-233.46926879882812,
333.7364501953125
],
"params": {
"items_": "ADD",
"scalar_output_socket": 0
},
"width": 140.0
},
"Vector Math.002": {
"bl_idname": "VectorMathNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "SCALAR",
"location": [
-452.7586364746094,
416.5926513671875
],
"params": {
"items_": "SCALAR",
"scalar_output_socket": 0
},
"width": 168.92352294921875
},
"Vector in.001": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
17.541748046875,
60.73467254638672
],
"params": {},
"width": 100.0
},
"Viewer Draw.003": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
521.131103515625,
336.4722900390625
],
"params": {
"activate": 1,
"display_edges": 1,
"display_faces": 0,
"display_verts": 0,
"shading": 1,
"transparant": 0
},
"width": 176.544921875
}
},
"update_lists": [
[
"Objects in",
"Vertices",
"Matrix Apply",
"Vectors"
],
[
"Objects in",
"Matrixes",
"Matrix Apply",
"Matrixes"
],
[
"Matrix Apply",
"Vectors",
"Bounding box",
"Vertices"
],
[
"Bounding box",
"Vertices",
"List Item.001",
"Data"
],
[
"Bounding box",
"Vertices",
"List Item",
"Data"
],
[
"List Item",
"Item",
"Distance",
"vertices1"
],
[
"List Item.001",
"Item",
"Distance",
"vertices2"
],
[
"Distance",
"distances",
"Math.001",
"X"
],
[
"Math.001",
"float",
"List Flip.001",
"data"
],
[
"List Flip.001",
"data",
"Vector in.001",
"Z"
],
[
"Vector in.001",
"Vectors",
"Matrix in.001",
"Location"
],
[
"Bounding box",
"Center",
"Matrix out.001",
"Matrix"
],
[
"Matrix out.001",
"Location",
"List Flip",
"data"
],
[
"List Flip",
"data",
"Vector Math.002",
"U"
],
[
"Float",
"Float",
"Vector Math.002",
"S"
],
[
"Vector Math.002",
"W",
"Vector Math",
"U"
],
[
"Matrix Apply",
"Vectors",
"Vector Math",
"V"
],
[
"Vector Math",
"W",
"Viewer Draw.003",
"vertices"
],
[
"Objects in",
"Polygons",
"Viewer Draw.003",
"edg_pol"
],
[
"Matrix in.001",
"Matrix",
"Viewer Draw.003",
"matrix"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment