Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created September 27, 2024 15:13
Show Gist options
  • Save nortikin/d6770f3247b3d97f7d090a866f2db72f to your computer and use it in GitHub Desktop.
Save nortikin/d6770f3247b3d97f7d090a866f2db72f to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0 (9b6f16f) | Blender.4.2.0 | shapely | 2024.09.27 | 18:13 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Voronoi 2D": {
"attributes": {
"location": [
4880.0,
-1160.0
]
},
"properties": {
"clip": 2.009999990463257,
"draw_bounds": false
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"MaxSides": {
"bl_idname": "SvStringsSocket",
"name": "MaxSides",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "max_sides"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"attributes": {
"hide": true
}
}
},
"bl_idname": "Voronoi2DNode"
},
"Points Inside Mesh": {
"attributes": {
"location": [
5200.0,
-1100.0
],
"width": 160.0
},
"properties": {
"dimensions_mode": "2D"
},
"inputs": {
"verts": {
"bl_idname": "SvVerticesSocket",
"name": "verts"
},
"faces": {
"bl_idname": "SvStringsSocket",
"name": "faces"
},
"points": {
"bl_idname": "SvVerticesSocket",
"name": "points"
},
"Plane Normal": {
"bl_idname": "SvVerticesSocket",
"name": "Plane Normal",
"properties": {
"prop_name": "normal",
"expanded": true
}
}
},
"outputs": {
"mask": {
"bl_idname": "SvStringsSocket",
"name": "mask"
},
"verts": {
"bl_idname": "SvVerticesSocket",
"name": "verts",
"properties": {
"label": "Inside Vertices"
}
},
"Outside Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Outside Vertices"
}
},
"bl_idname": "SvPointInside"
},
"Mask Vertices": {
"attributes": {
"location": [
5440.0,
-1240.0
]
},
"inputs": {
"Mask": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
},
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Poly Egde": {
"bl_idname": "SvStringsSocket",
"name": "Poly Egde"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Poly Egde": {
"bl_idname": "SvStringsSocket",
"name": "Poly Egde"
}
},
"bl_idname": "SvVertMaskNode"
},
"Viewer Draw.012": {
"attributes": {
"location": [
5640.0,
-1240.0
]
},
"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"
},
"Ring": {
"attributes": {
"location": [
4440.0,
-1640.0
],
"width": 160.0
},
"properties": {
"ring_n2": 2,
"ring_r1": 12.639999389648438,
"ring_er": 14.149999618530273,
"ring_ir": 11.129999160766602,
"ring_r2": 1.5099999904632568
},
"inputs": {
"R": {
"bl_idname": "SvStringsSocket",
"name": "R",
"properties": {
"prop_name": "ring_r1"
}
},
"r": {
"bl_idname": "SvStringsSocket",
"name": "r",
"properties": {
"prop_name": "ring_r2"
}
},
"n1": {
"bl_idname": "SvStringsSocket",
"name": "n1",
"properties": {
"prop_name": "ring_n1"
}
},
"n2": {
"bl_idname": "SvStringsSocket",
"name": "n2",
"properties": {
"prop_name": "ring_n2"
}
},
"a1": {
"bl_idname": "SvStringsSocket",
"name": "a1",
"properties": {
"prop_name": "ring_a1"
}
},
"a2": {
"bl_idname": "SvStringsSocket",
"name": "a2",
"properties": {
"prop_name": "ring_a2"
}
},
"p": {
"bl_idname": "SvStringsSocket",
"name": "p",
"properties": {
"prop_name": "ring_p"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvRingNodeMK2"
},
"Viewer Draw.011": {
"attributes": {
"location": [
4680.0,
-1820.0
]
},
"properties": {
"display_faces": false,
"display_verts": 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"
},
"Randomize": {
"attributes": {
"location": [
4680.0,
-1640.0
]
},
"properties": {
"random_y_": 0.5399999618530273,
"random_x_": 0.38999998569488525
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"RandomX": {
"bl_idname": "SvStringsSocket",
"name": "RandomX",
"properties": {
"prop_name": "random_x_"
}
},
"RandomY": {
"bl_idname": "SvStringsSocket",
"name": "RandomY",
"properties": {
"prop_name": "random_y_"
}
},
"RandomZ": {
"bl_idname": "SvStringsSocket",
"name": "RandomZ",
"properties": {
"prop_name": "random_z_"
}
},
"Seed": {
"bl_idname": "SvStringsSocket",
"name": "Seed",
"properties": {
"prop_name": "random_seed_"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvRandomizeVerticesNode"
}
},
"links": [
{
"from_node": "Randomize",
"from_socket": "Vertices",
"to_node": "Voronoi 2D",
"to_socket": "Vertices"
},
{
"from_node": "Randomize",
"from_socket": "Vertices",
"to_node": "Points Inside Mesh",
"to_socket": "verts"
},
{
"from_node": "Ring",
"from_socket": "Polygons",
"to_node": "Points Inside Mesh",
"to_socket": "faces"
},
{
"from_node": "Voronoi 2D",
"from_socket": "Vertices",
"to_node": "Points Inside Mesh",
"to_socket": "points"
},
{
"from_node": "Points Inside Mesh",
"from_socket": "mask",
"to_node": "Mask Vertices",
"to_socket": "Mask"
},
{
"from_node": "Voronoi 2D",
"from_socket": "Vertices",
"to_node": "Mask Vertices",
"to_socket": "Vertices"
},
{
"from_node": "Voronoi 2D",
"from_socket": "Edges",
"to_node": "Mask Vertices",
"to_socket": "Poly Egde"
},
{
"from_node": "Mask Vertices",
"from_socket": "Vertices",
"to_node": "Viewer Draw.012",
"to_socket": "Vertices"
},
{
"from_node": "Mask Vertices",
"from_socket": "Poly Egde",
"to_node": "Viewer Draw.012",
"to_socket": "Polygons"
},
{
"from_node": "Randomize",
"from_socket": "Vertices",
"to_node": "Viewer Draw.011",
"to_socket": "Vertices"
},
{
"from_node": "Ring",
"from_socket": "Edges",
"to_node": "Viewer Draw.011",
"to_socket": "Edges"
},
{
"from_node": "Ring",
"from_socket": "Polygons",
"to_node": "Viewer Draw.011",
"to_socket": "Polygons"
},
{
"from_node": "Ring",
"from_socket": "Vertices",
"to_node": "Randomize",
"to_socket": "Vertices"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment