Skip to content

Instantly share code, notes, and snippets.

@satabol
Created November 28, 2022 08:26
Show Gist options
  • Save satabol/fcfc8f92cef690932e4f421a41e53733 to your computer and use it in GitHub Desktop.
Save satabol/fcfc8f92cef690932e4f421a41e53733 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.3.1 | NodeTree | 2022.11.28 | 11:26 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Polygon Boom": {
"attributes": {
"location": [
74.74468994140625,
34.221435546875
]
},
"inputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"edg_pol": {
"bl_idname": "SvStringsSocket",
"name": "edg_pol"
}
},
"outputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"edg_pol": {
"bl_idname": "SvStringsSocket",
"name": "edg_pol"
}
},
"bl_idname": "PolygonBoomNode"
},
"List Item": {
"attributes": {
"location": [
260.92901611328125,
-75.05644989013672
]
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
}
},
"outputs": {
"Item_001": {
"bl_idname": "SvVerticesSocket",
"name": "Item"
},
"Other_001": {
"bl_idname": "SvVerticesSocket",
"name": "Other"
}
},
"bl_idname": "SvListItemNode"
},
"Viewer Draw.001": {
"attributes": {
"location": [
1036.623291015625,
27.047687530517578
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.14000000059604645,
0.5400000214576721,
0.8100000023841858,
1.0
],
"selected_draw_mode": "smooth"
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"custom_draw": "draw_property_socket"
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"custom_draw": "draw_property_socket"
}
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Vector Color": {
"bl_idname": "SvColorSocket",
"name": "Vector Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "vector_color"
}
},
"Edge Color": {
"bl_idname": "SvColorSocket",
"name": "Edge Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "edge_color"
}
},
"Polygon Color": {
"bl_idname": "SvColorSocket",
"name": "Polygon Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "polygon_color"
}
},
"attrs": {
"bl_idname": "SvStringsSocket",
"name": "attrs",
"attributes": {
"hide": true
},
"properties": {
"quick_link_to_node": "SvVDAttrsNodeMk2"
}
}
},
"bl_idname": "SvViewerDrawMk4"
},
"Move": {
"attributes": {
"location": [
473.3548889160156,
-57.68354034423828
]
},
"properties": {
"strength": 0.10000000149011612,
"movement_vectors": [
1.0,
1.0,
0.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Movement Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Movement Vectors",
"properties": {
"prop_name": "movement_vectors",
"expanded": true
}
},
"Strength": {
"bl_idname": "SvStringsSocket",
"name": "Strength",
"properties": {
"prop_name": "strength"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvMoveNodeMk3"
},
"Reroute.001": {
"attributes": {
"location": [
658.7817993164062,
-236.58914184570312
],
"width": 16.0
},
"inputs": {
"Input": {
"bl_idname": "NodeSocketColor",
"name": "Input"
}
},
"outputs": {
"Output": {
"bl_idname": "NodeSocketColor",
"name": "Output"
}
},
"bl_idname": "NodeReroute"
},
"Reroute": {
"attributes": {
"location": [
227.41888427734375,
-241.36865234375
],
"width": 16.0
},
"inputs": {
"Input": {
"bl_idname": "NodeSocketColor",
"name": "Input"
}
},
"outputs": {
"Output": {
"bl_idname": "NodeSocketColor",
"name": "Output"
}
},
"bl_idname": "NodeReroute"
},
"List Input": {
"attributes": {
"location": [
51.08855056762695,
-175.25413513183594
]
},
"properties": {
"int_": 3,
"int_list": [
2,
3,
4,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"outputs": {
"List": {
"bl_idname": "SvStringsSocket",
"name": "List"
}
},
"bl_idname": "SvListInputNode"
},
"Vector Polar Input": {
"attributes": {
"location": [
259.9051818847656,
-260.62860107421875
],
"width": 142.048095703125
},
"properties": {
"phi_": 1.0471975803375244,
"rho_": 1.0
},
"inputs": {
"rho": {
"bl_idname": "SvStringsSocket",
"name": "rho",
"properties": {
"prop_name": "rho_"
}
},
"phi": {
"bl_idname": "SvStringsSocket",
"name": "phi",
"properties": {
"prop_name": "phi_"
}
},
"Z": {
"bl_idname": "SvStringsSocket",
"name": "Z",
"properties": {
"prop_name": "z_"
}
}
},
"outputs": {
"Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Vectors"
}
},
"bl_idname": "VectorPolarInNode"
},
"List Item Insert": {
"attributes": {
"location": [
740.7070922851562,
117.16297149658203
]
},
"properties": {
"replace": true
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
},
"Item": {
"bl_idname": "SvStringsSocket",
"name": "Item"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
}
},
"outputs": {
"Data_001": {
"bl_idname": "SvVerticesSocket",
"name": "Data"
}
},
"bl_idname": "SvListItemInsertNode"
},
"Viewer Draw": {
"attributes": {
"location": [
71.68719482421875,
280.1144104003906
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.14000000059604645,
0.5400000214576721,
0.8100000023841858,
1.0
],
"selected_draw_mode": "smooth",
"activate": false
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"custom_draw": "draw_property_socket"
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"custom_draw": "draw_property_socket"
}
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Vector Color": {
"bl_idname": "SvColorSocket",
"name": "Vector Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "vector_color"
}
},
"Edge Color": {
"bl_idname": "SvColorSocket",
"name": "Edge Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "edge_color"
}
},
"Polygon Color": {
"bl_idname": "SvColorSocket",
"name": "Polygon Color",
"properties": {
"custom_draw": "draw_color_socket",
"prop_name": "polygon_color"
}
},
"attrs": {
"bl_idname": "SvStringsSocket",
"name": "attrs",
"attributes": {
"hide": true
},
"properties": {
"quick_link_to_node": "SvVDAttrsNodeMk2"
}
}
},
"bl_idname": "SvViewerDrawMk4"
},
"Viewer Index+": {
"attributes": {
"location": [
284.4754333496094,
245.42042541503906
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"draw_bg": true
},
"inputs": {
"verts": {
"bl_idname": "SvVerticesSocket",
"name": "verts"
},
"edges": {
"bl_idname": "SvStringsSocket",
"name": "edges"
},
"faces": {
"bl_idname": "SvStringsSocket",
"name": "faces"
},
"matrix": {
"bl_idname": "SvMatrixSocket",
"name": "matrix"
},
"text": {
"bl_idname": "SvStringsSocket",
"name": "text"
}
},
"bl_idname": "SvIDXViewer28"
},
"Polygon Grid": {
"attributes": {
"location": [
-208.1522979736328,
101.77279663085938
],
"width": 170.0
},
"inputs": {
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "radius"
}
},
"Scale": {
"bl_idname": "SvStringsSocket",
"name": "Scale",
"properties": {
"prop_name": "scale"
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle"
}
},
"NumX": {
"bl_idname": "SvStringsSocket",
"name": "NumX",
"properties": {
"prop_name": "numx"
}
},
"NumY": {
"bl_idname": "SvStringsSocket",
"name": "NumY",
"properties": {
"prop_name": "numy"
}
}
},
"outputs": {
"Centers": {
"bl_idname": "SvVerticesSocket",
"name": "Centers"
},
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvPolygonGridNode"
}
},
"links": [
{
"from_node": "Polygon Grid",
"from_socket": "Vertices",
"to_node": "Polygon Boom",
"to_socket": "vertices"
},
{
"from_node": "Polygon Grid",
"from_socket": "Polygons",
"to_node": "Polygon Boom",
"to_socket": "edg_pol"
},
{
"from_node": "Polygon Boom",
"from_socket": "vertices",
"to_node": "List Item",
"to_socket": "Data"
},
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "List Item",
"to_socket": "Index"
},
{
"from_node": "List Item Insert",
"from_socket": "Data_001",
"to_node": "Viewer Draw.001",
"to_socket": "Vertices"
},
{
"from_node": "Polygon Boom",
"from_socket": "edg_pol",
"to_node": "Viewer Draw.001",
"to_socket": "Polygons"
},
{
"from_node": "List Item",
"from_socket": "Item_001",
"to_node": "Move",
"to_socket": "Vertices"
},
{
"from_node": "Vector Polar Input",
"from_socket": "Vectors",
"to_node": "Move",
"to_socket": "Movement Vectors"
},
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "Reroute.001",
"to_socket": "Input"
},
{
"from_node": "List Input",
"from_socket": "List",
"to_node": "Reroute",
"to_socket": "Input"
},
{
"from_node": "Polygon Boom",
"from_socket": "vertices",
"to_node": "List Item Insert",
"to_socket": "Data"
},
{
"from_node": "Move",
"from_socket": "Vertices",
"to_node": "List Item Insert",
"to_socket": "Item"
},
{
"from_node": "Reroute.001",
"from_socket": "Output",
"to_node": "List Item Insert",
"to_socket": "Index"
},
{
"from_node": "Polygon Grid",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "Polygon Grid",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "Polygon Grid",
"from_socket": "Polygons",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "Polygon Boom",
"from_socket": "vertices",
"to_node": "Viewer Index+",
"to_socket": "verts"
},
{
"from_node": "Polygon Boom",
"from_socket": "edg_pol",
"to_node": "Viewer Index+",
"to_socket": "faces"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment