Skip to content

Instantly share code, notes, and snippets.

@portnov
Created January 25, 2025 08:03
Show Gist options
  • Save portnov/d6956f1730d02b99fa17a38c8cea4a58 to your computer and use it in GitHub Desktop.
Save portnov/d6956f1730d02b99fa17a38c8cea4a58 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0 | Blender.4.3.0 | NodeTree | 2025.01.25 | 13:03 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Plane": {
"attributes": {
"location": [
-356.9117431640625,
186.34051513671875
]
},
"properties": {
"numy": 15,
"numx": 15,
"center": true
},
"inputs": {
"Size X": {
"bl_idname": "SvStringsSocket",
"name": "Size X",
"properties": {
"prop_name": "sizex",
"custom_draw": "draw_prop_socket",
"label": "Size X"
}
},
"Size Y": {
"bl_idname": "SvStringsSocket",
"name": "Size Y",
"properties": {
"prop_name": "sizey",
"custom_draw": "draw_prop_socket",
"label": "Size Y"
}
},
"Num X": {
"bl_idname": "SvStringsSocket",
"name": "Num X",
"properties": {
"prop_name": "numx",
"custom_draw": "draw_prop_socket",
"label": "Num X"
}
},
"Num Y": {
"bl_idname": "SvStringsSocket",
"name": "Num Y",
"properties": {
"prop_name": "numy",
"custom_draw": "draw_prop_socket",
"label": "Num Y"
}
},
"Step X": {
"bl_idname": "SvStringsSocket",
"name": "Step X",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "stepx",
"custom_draw": "draw_prop_socket",
"label": "Step X"
}
},
"Step Y": {
"bl_idname": "SvStringsSocket",
"name": "Step Y",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "stepy",
"custom_draw": "draw_prop_socket",
"label": "Step Y"
}
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvPlaneNodeMk3"
},
"Poke Faces": {
"attributes": {
"location": [
25.39337158203125,
185.5100555419922
]
},
"properties": {
"offset": 1.0199999809265137
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"Offset": {
"bl_idname": "SvStringsSocket",
"name": "Offset",
"properties": {
"prop_name": "offset"
}
},
"FaceMask": {
"bl_idname": "SvStringsSocket",
"name": "FaceMask"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"Iterations": {
"bl_idname": "SvStringsSocket",
"name": "Iterations",
"properties": {
"prop_name": "iterations"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
}
},
"bl_idname": "SvPokeFacesNode"
},
"Viewer Draw": {
"attributes": {
"location": [
1887.45654296875,
274.45599365234375
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.521462082862854,
0.8998422026634216,
0.8998422026634216,
1.0
],
"selected_draw_mode": "facet",
"vector_color": [
0.0,
0.11233607679605484,
0.9498387575149536,
1.0
],
"display_verts": false,
"display_edges": false,
"polygon_color": [
0.42519181966781616,
0.7995668649673462,
1.0,
1.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"
},
"Select Mesh Elements": {
"attributes": {
"location": [
228.5958709716797,
-93.65022277832031
],
"width": 189.5218505859375
},
"properties": {
"mode": "ByPlane",
"radius": 0.10000000149011612
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"nesting_level": 3
}
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons",
"properties": {
"nesting_level": 3
}
},
"Direction": {
"bl_idname": "SvVerticesSocket",
"name": "Direction",
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.0
],
"expanded": true
}
},
"Center": {
"bl_idname": "SvVerticesSocket",
"name": "Center",
"properties": {
"use_prop": true
}
},
"Percent": {
"bl_idname": "SvStringsSocket",
"name": "Percent",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "percent"
}
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "radius"
}
}
},
"outputs": {
"VerticesMask": {
"bl_idname": "SvStringsSocket",
"name": "VerticesMask"
},
"EdgesMask": {
"bl_idname": "SvStringsSocket",
"name": "EdgesMask"
},
"FacesMask": {
"bl_idname": "SvStringsSocket",
"name": "FacesMask"
}
},
"bl_idname": "SvMeshSelectNodeMk2"
},
"A Number": {
"attributes": {
"location": [
-174.60662841796875,
-114.48994445800781
],
"label": "Offset"
},
"properties": {
"float_": 1.4700000286102295
},
"inputs": {
"Float": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"prop_name": "float_"
}
}
},
"outputs": {
"Float_001": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"custom_draw": "mode_custom_draw"
}
}
},
"bl_idname": "SvNumberNode"
},
"Vector In": {
"attributes": {
"location": [
77.19977569580078,
-192.87290954589844
],
"width": 100.0,
"label": "Center"
},
"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"
},
"List Mask (Out)": {
"attributes": {
"location": [
618.5514526367188,
-14.122074127197266
]
},
"properties": {
"Level": 2
},
"inputs": {
"data": {
"bl_idname": "SvStringsSocket",
"name": "data"
},
"mask": {
"bl_idname": "SvStringsSocket",
"name": "mask"
}
},
"outputs": {
"mask": {
"bl_idname": "SvStringsSocket",
"name": "mask"
},
"ind_true": {
"bl_idname": "SvStringsSocket",
"name": "ind_true"
},
"ind_false": {
"bl_idname": "SvStringsSocket",
"name": "ind_false"
},
"dataTrue_001": {
"bl_idname": "SvVerticesSocket",
"name": "dataTrue"
},
"dataFalse_001": {
"bl_idname": "SvVerticesSocket",
"name": "dataFalse"
}
},
"bl_idname": "MaskListNode"
},
"Apply Vector Field": {
"attributes": {
"location": [
1219.2421875,
320.11468505859375
]
},
"inputs": {
"Field": {
"bl_idname": "SvVectorFieldSocket",
"name": "Field"
},
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"use_prop": true
}
},
"Coefficient": {
"bl_idname": "SvStringsSocket",
"name": "Coefficient",
"properties": {
"prop_name": "coefficient"
}
},
"Iterations": {
"bl_idname": "SvStringsSocket",
"name": "Iterations",
"properties": {
"prop_name": "iterations"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvExVectorFieldApplyNode"
},
"List Mask Join (In)": {
"attributes": {
"location": [
1543.0933837890625,
107.22396850585938
]
},
"properties": {
"level": 2
},
"inputs": {
"Mask": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
},
"Data True": {
"bl_idname": "SvStringsSocket",
"name": "Data True"
},
"Data False": {
"bl_idname": "SvStringsSocket",
"name": "Data False"
}
},
"outputs": {
"Data_001": {
"bl_idname": "SvVerticesSocket",
"name": "Data"
}
},
"bl_idname": "SvMaskJoinNodeMK2"
},
"Attractor Field": {
"attributes": {
"location": [
281.3327331542969,
553.3662719726562
],
"width": 191.2296142578125
},
"properties": {
"attractor_type": "Circle",
"falloff_type": "smooth",
"amplitude": 1.0,
"coefficient": 4.039999961853027,
"radius": 2.180000066757202
},
"inputs": {
"Center": {
"bl_idname": "SvVerticesSocket",
"name": "Center",
"properties": {
"use_prop": true,
"expanded": true
}
},
"Direction": {
"bl_idname": "SvVerticesSocket",
"name": "Direction",
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.0
],
"expanded": true
}
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "radius"
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"attributes": {
"hide": true
}
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"attributes": {
"hide": true
}
},
"Amplitude": {
"bl_idname": "SvStringsSocket",
"name": "Amplitude",
"properties": {
"prop_name": "amplitude"
}
},
"Coefficient": {
"bl_idname": "SvStringsSocket",
"name": "Coefficient",
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"VField": {
"bl_idname": "SvVectorFieldSocket",
"name": "VField"
},
"SField": {
"bl_idname": "SvScalarFieldSocket",
"name": "SField"
}
},
"bl_idname": "SvAttractorFieldNodeMk2"
},
"Vector Field Math": {
"attributes": {
"location": [
988.9368286132812,
437.00799560546875
]
},
"properties": {
"operation": "MUL"
},
"inputs": {
"VFieldA": {
"bl_idname": "SvVectorFieldSocket",
"name": "VField"
},
"VFieldB": {
"bl_idname": "SvVectorFieldSocket",
"name": "B",
"attributes": {
"hide": true
}
},
"SFieldB": {
"bl_idname": "SvScalarFieldSocket",
"name": "Scalar"
}
},
"outputs": {
"VFieldC": {
"bl_idname": "SvVectorFieldSocket",
"name": "Product"
},
"SFieldC": {
"bl_idname": "SvScalarFieldSocket",
"name": "SFieldC",
"attributes": {
"hide": true
}
},
"VFieldD": {
"bl_idname": "SvVectorFieldSocket",
"name": "VFieldD",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvExVectorFieldMathNode"
},
"Matrix In": {
"attributes": {
"location": [
103.42865753173828,
763.6168823242188
]
},
"properties": {
"angle": 28.770000457763672
},
"inputs": {
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location",
"properties": {
"prop_name": "location_"
}
},
"Scale": {
"bl_idname": "SvVerticesSocket",
"name": "Scale",
"properties": {
"prop_name": "scale"
}
},
"Quaternion": {
"bl_idname": "SvQuaternionSocket",
"name": "Quaternion",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "quaternion"
}
},
"Angle X": {
"bl_idname": "SvStringsSocket",
"name": "Angle X",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "angle_x"
}
},
"Angle Y": {
"bl_idname": "SvStringsSocket",
"name": "Angle Y",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "angle_y"
}
},
"Angle Z": {
"bl_idname": "SvStringsSocket",
"name": "Angle Z",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "angle_z"
}
},
"Axis": {
"bl_idname": "SvVerticesSocket",
"name": "Axis",
"properties": {
"prop_name": "axis",
"expanded": true
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle"
}
}
},
"outputs": {
"Matrices": {
"bl_idname": "SvMatrixSocket",
"name": "Matrices"
}
},
"bl_idname": "SvMatrixInNodeMK4"
}
},
"links": [
{
"from_node": "Plane",
"from_socket": "Vertices",
"to_node": "Poke Faces",
"to_socket": "Vertices"
},
{
"from_node": "Plane",
"from_socket": "Edges",
"to_node": "Poke Faces",
"to_socket": "Edges"
},
{
"from_node": "Plane",
"from_socket": "Polygons",
"to_node": "Poke Faces",
"to_socket": "Faces"
},
{
"from_node": "A Number",
"from_socket": "Float_001",
"to_node": "Poke Faces",
"to_socket": "Offset"
},
{
"from_node": "List Mask Join (In)",
"from_socket": "Data_001",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "Poke Faces",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "Poke Faces",
"from_socket": "Faces",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "Poke Faces",
"from_socket": "Vertices",
"to_node": "Select Mesh Elements",
"to_socket": "Vertices"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "Select Mesh Elements",
"to_socket": "Center"
},
{
"from_node": "A Number",
"from_socket": "Float_001",
"to_node": "Vector In",
"to_socket": "Z"
},
{
"from_node": "Poke Faces",
"from_socket": "Vertices",
"to_node": "List Mask (Out)",
"to_socket": "data"
},
{
"from_node": "Select Mesh Elements",
"from_socket": "VerticesMask",
"to_node": "List Mask (Out)",
"to_socket": "mask"
},
{
"from_node": "Vector Field Math",
"from_socket": "VFieldC",
"to_node": "Apply Vector Field",
"to_socket": "Field"
},
{
"from_node": "List Mask (Out)",
"from_socket": "dataTrue_001",
"to_node": "Apply Vector Field",
"to_socket": "Vertices"
},
{
"from_node": "List Mask (Out)",
"from_socket": "mask",
"to_node": "List Mask Join (In)",
"to_socket": "Mask"
},
{
"from_node": "Apply Vector Field",
"from_socket": "Vertices",
"to_node": "List Mask Join (In)",
"to_socket": "Data True"
},
{
"from_node": "List Mask (Out)",
"from_socket": "dataFalse_001",
"to_node": "List Mask Join (In)",
"to_socket": "Data False"
},
{
"from_node": "Matrix In",
"from_socket": "Matrices",
"to_node": "Vector Field Math",
"to_socket": "VFieldA"
},
{
"from_node": "Attractor Field",
"from_socket": "SField",
"to_node": "Vector Field Math",
"to_socket": "SFieldB"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment