Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created September 9, 2024 08:42
Show Gist options
  • Save nortikin/d4e689573c14688acbd04b8a2fcbd911 to your computer and use it in GitHub Desktop.
Save nortikin/d4e689573c14688acbd04b8a2fcbd911 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0-alpha (06b0d7e) | Blender.4.2.0 | 2dvor_shapely | 2024.09.09 | 11:42 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"2D Geometry to Mesh": {
"attributes": {
"location": [
2400.0,
200.0
]
},
"inputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"bl_idname": "SvExShapelyTriangulateNode"
},
"2D Voronoi": {
"attributes": {
"location": [
2140.0,
200.0
]
},
"inputs": {
"Sites": {
"bl_idname": "SvVerticesSocket",
"name": "Sites"
},
"ExtendTo": {
"bl_idname": "SvGeom2DSocket",
"name": "ExtendTo"
}
},
"outputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry",
"properties": {
"use_unwrap": true
}
}
},
"bl_idname": "SvExShapelyVoronoiNode"
},
"Mesh to 2D Geometry": {
"attributes": {
"location": [
1640.0,
200.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"outputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry"
}
},
"bl_idname": "SvExShapelyFromMeshNode"
},
"NGon": {
"attributes": {
"location": [
1200.0,
260.0
]
},
"properties": {
"rad_": 2.0
},
"inputs": {
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "rad_"
}
},
"N Sides": {
"bl_idname": "SvStringsSocket",
"name": "N Sides",
"properties": {
"prop_name": "sides_"
}
},
"Divisions": {
"bl_idname": "SvStringsSocket",
"name": "Divisions",
"properties": {
"prop_name": "divisions"
}
},
"RandomR": {
"bl_idname": "SvStringsSocket",
"name": "RandomR",
"properties": {
"prop_name": "rand_r_"
}
},
"RandomPhi": {
"bl_idname": "SvStringsSocket",
"name": "RandomPhi",
"properties": {
"prop_name": "rand_phi_"
}
},
"RandomSeed": {
"bl_idname": "SvStringsSocket",
"name": "RandomSeed",
"properties": {
"prop_name": "rand_seed_"
}
},
"Shift": {
"bl_idname": "SvStringsSocket",
"name": "Shift",
"properties": {
"prop_name": "shift_"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvNGonNode"
},
"Random Vector": {
"attributes": {
"location": [
1200.0,
440.0
]
},
"properties": {
"count_inner": 7,
"seed": 7
},
"inputs": {
"Count": {
"bl_idname": "SvStringsSocket",
"name": "Count",
"properties": {
"prop_name": "count_inner"
}
},
"Seed": {
"bl_idname": "SvStringsSocket",
"name": "Seed",
"properties": {
"prop_name": "seed"
}
},
"Scale": {
"bl_idname": "SvStringsSocket",
"name": "Scale",
"properties": {
"prop_name": "scale"
}
}
},
"outputs": {
"Random": {
"bl_idname": "SvVerticesSocket",
"name": "Random"
}
},
"bl_idname": "RandomVectorNodeMK3"
},
"Viewer Draw": {
"attributes": {
"location": [
2820.0,
240.0
]
},
"properties": {
"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"
},
"Color In": {
"attributes": {
"location": [
2600.0,
0.0
],
"width": 110.0
},
"properties": {
"r_": 0.29999998211860657,
"a_": 0.5,
"selected_mode": "HSV",
"v_": 0.8399999737739563,
"s_": 0.8600000143051147
},
"inputs": {
"R": {
"bl_idname": "SvStringsSocket",
"name": "H",
"properties": {
"prop_name": "h_"
}
},
"G": {
"bl_idname": "SvStringsSocket",
"name": "S",
"properties": {
"prop_name": "s_"
}
},
"B": {
"bl_idname": "SvStringsSocket",
"name": "V",
"properties": {
"prop_name": "v_"
}
},
"A": {
"bl_idname": "SvStringsSocket",
"name": "A",
"properties": {
"prop_name": "a_"
}
}
},
"outputs": {
"Colors": {
"bl_idname": "SvColorSocket",
"name": "Colors"
}
},
"bl_idname": "SvColorsInNodeMK1"
},
"List Length": {
"attributes": {
"location": [
2400.0,
40.0
]
},
"properties": {
"level": 0
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"outputs": {
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length"
}
},
"bl_idname": "ListLengthNode"
},
"Number Range": {
"attributes": {
"location": [
2400.0,
-80.0
]
},
"properties": {
"range_mode": "RANGE_COUNT",
"current_mode": "RANGE_COUNT",
"stop_float": 0.6000000238418579
},
"inputs": {
"Start": {
"bl_idname": "SvStringsSocket",
"name": "Start",
"properties": {
"prop_name": "start_float"
}
},
"Step": {
"bl_idname": "SvStringsSocket",
"name": "Step",
"properties": {
"prop_name": "stop_float",
"label": "stop"
}
},
"Stop": {
"bl_idname": "SvStringsSocket",
"name": "Stop",
"properties": {
"prop_name": "count_",
"label": "count"
}
}
},
"outputs": {
"Range": {
"bl_idname": "SvStringsSocket",
"name": "Range"
}
},
"bl_idname": "SvGenNumberRange"
},
"Viewer Draw.001": {
"attributes": {
"location": [
2120.0,
640.0
]
},
"properties": {
"vector_color": [
0.06857921928167343,
0.9499826431274414,
0.11575278639793396,
1.0
],
"point_size": 8
},
"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"
},
"Stethoscope MK2": {
"attributes": {
"location": [
1580.0,
20.0
],
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 1.0080000162124634,
"num_elements": 7
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Vector Out": {
"attributes": {
"location": [
1560.0,
400.0
],
"width": 100.0
},
"inputs": {
"Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Vectors"
}
},
"outputs": {
"X": {
"bl_idname": "SvStringsSocket",
"name": "X"
},
"Y": {
"bl_idname": "SvStringsSocket",
"name": "Y"
},
"Z": {
"bl_idname": "SvStringsSocket",
"name": "Z"
}
},
"bl_idname": "VectorsOutNode"
},
"Vector In": {
"attributes": {
"location": [
1820.0,
360.0
],
"width": 100.0
},
"inputs": {
"X": {
"bl_idname": "SvStringsSocket",
"name": "X",
"properties": {
"prop_name": "x_"
}
},
"Y": {
"bl_idname": "SvStringsSocket",
"name": "Y",
"properties": {
"prop_name": "y_"
}
},
"Z": {
"bl_idname": "SvStringsSocket",
"name": "Z",
"properties": {
"prop_name": "z_"
}
}
},
"outputs": {
"Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Vectors"
}
},
"bl_idname": "GenVectorsNode"
}
},
"links": [
{
"from_node": "2D Voronoi",
"from_socket": "Geometry",
"to_node": "2D Geometry to Mesh",
"to_socket": "Geometry"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "2D Voronoi",
"to_socket": "Sites"
},
{
"from_node": "Mesh to 2D Geometry",
"from_socket": "Geometry",
"to_node": "2D Voronoi",
"to_socket": "ExtendTo"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Mesh to 2D Geometry",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Mesh to 2D Geometry",
"to_socket": "Edges"
},
{
"from_node": "NGon",
"from_socket": "Polygons",
"to_node": "Mesh to 2D Geometry",
"to_socket": "Faces"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Faces",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "Color In",
"from_socket": "Colors",
"to_node": "Viewer Draw",
"to_socket": "Edge Color"
},
{
"from_node": "Color In",
"from_socket": "Colors",
"to_node": "Viewer Draw",
"to_socket": "Polygon Color"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "Color In",
"to_socket": "R"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Faces",
"to_node": "List Length",
"to_socket": "Data"
},
{
"from_node": "List Length",
"from_socket": "Length",
"to_node": "Number Range",
"to_socket": "Stop"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "Viewer Draw.001",
"to_socket": "Vertices"
},
{
"from_node": "2D Voronoi",
"from_socket": "Geometry",
"to_node": "Stethoscope MK2",
"to_socket": "Data"
},
{
"from_node": "Random Vector",
"from_socket": "Random",
"to_node": "Vector Out",
"to_socket": "Vectors"
},
{
"from_node": "Vector Out",
"from_socket": "X",
"to_node": "Vector In",
"to_socket": "X"
},
{
"from_node": "Vector Out",
"from_socket": "Y",
"to_node": "Vector In",
"to_socket": "Y"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment