Skip to content

Instantly share code, notes, and snippets.

@satabol
Created December 24, 2022 21:37
Show Gist options
  • Save satabol/9699442f326876f6af21d8c305a0170c to your computer and use it in GitHub Desktop.
Save satabol/9699442f326876f6af21d8c305a0170c to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.4.1 | NodeTree | 2022.12.25 | 00:37 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Viewer Draw.004": {
"attributes": {
"location": [
1565.1959228515625,
-3847.189208984375
],
"width": 217.7967529296875,
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"point_size": 1,
"edge_color": [
0.170579195022583,
0.6651744842529297,
1.0,
1.0
],
"display_faces": 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"
},
"Marching Squares.002": {
"attributes": {
"location": [
1393.6475830078125,
-3846.012939453125
]
},
"properties": {
"iso_value": 1.9989999532699585,
"connect_bounds": false,
"sample_size": 100
},
"inputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
},
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value",
"properties": {
"prop_name": "iso_value"
}
},
"Samples": {
"bl_idname": "SvStringsSocket",
"name": "Samples",
"properties": {
"prop_name": "sample_size"
}
},
"MinX": {
"bl_idname": "SvStringsSocket",
"name": "MinX",
"properties": {
"prop_name": "min_x"
}
},
"MaxX": {
"bl_idname": "SvStringsSocket",
"name": "MaxX",
"properties": {
"prop_name": "max_x"
}
},
"MinY": {
"bl_idname": "SvStringsSocket",
"name": "MinY",
"properties": {
"prop_name": "min_y"
}
},
"MaxY": {
"bl_idname": "SvStringsSocket",
"name": "MaxY",
"properties": {
"prop_name": "max_y"
}
},
"Z": {
"bl_idname": "SvStringsSocket",
"name": "Z",
"properties": {
"prop_name": "z_value"
}
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvExMarchingSquaresNode"
},
"Attractor Field.002": {
"attributes": {
"location": [
839.9203491210938,
-3953.223388671875
],
"width": 187.40814208984375
},
"properties": {
"falloff_type": "rotation",
"amplitude": 0.5690000653266907
},
"inputs": {
"Center": {
"bl_idname": "SvVerticesSocket",
"name": "Center",
"properties": {
"use_prop": true
}
},
"Direction": {
"bl_idname": "SvVerticesSocket",
"name": "Direction",
"attributes": {
"hide": true
},
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.0
]
}
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"attributes": {
"hide": true
},
"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",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"VField": {
"bl_idname": "SvVectorFieldSocket",
"name": "VField"
},
"SField": {
"bl_idname": "SvScalarFieldSocket",
"name": "SField"
}
},
"bl_idname": "SvAttractorFieldNodeMk2"
},
"NGon.002": {
"attributes": {
"location": [
446.90362548828125,
-3956.599365234375
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"rad_": 0.687999963760376,
"rand_r_": 0.24899999797344208,
"rand_phi_": 1.7580000162124634
},
"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"
},
"Viewer Draw.006": {
"attributes": {
"location": [
843.533935546875,
-3699.408447265625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"vector_color": [
0.9500002264976501,
0.004998264368623495,
0.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"
},
"Rotate": {
"attributes": {
"location": [
620.0,
-3954.14892578125
]
},
"properties": {
"angle_": 58.68000030517578,
"axis_": [
1.0,
0.0,
0.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Centers": {
"bl_idname": "SvVerticesSocket",
"name": "Centers",
"properties": {
"prop_name": "centers_"
}
},
"Axis": {
"bl_idname": "SvVerticesSocket",
"name": "Axis",
"properties": {
"prop_name": "axis_",
"expanded": true
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle_"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvRotationNodeMk3"
},
"Bounding Box.001": {
"attributes": {
"location": [
1062.0849609375,
-4242.158203125
]
},
"properties": {
"min_list": [
true,
true,
false
],
"max_list": [
true,
true,
false
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Mean": {
"bl_idname": "SvVerticesSocket",
"name": "Mean"
},
"Center": {
"bl_idname": "SvMatrixSocket",
"name": "Center"
},
"Min X": {
"bl_idname": "SvStringsSocket",
"name": "Min X"
},
"Min Y": {
"bl_idname": "SvStringsSocket",
"name": "Min Y"
},
"Min Z": {
"bl_idname": "SvStringsSocket",
"name": "Min Z",
"attributes": {
"hide": true
}
},
"Max X": {
"bl_idname": "SvStringsSocket",
"name": "Max X"
},
"Max Y": {
"bl_idname": "SvStringsSocket",
"name": "Max Y"
},
"Max Z": {
"bl_idname": "SvStringsSocket",
"name": "Max Z",
"attributes": {
"hide": true
}
},
"Size X": {
"bl_idname": "SvStringsSocket",
"name": "Size X",
"attributes": {
"hide": true
}
},
"Size Y": {
"bl_idname": "SvStringsSocket",
"name": "Size Y",
"attributes": {
"hide": true
}
},
"Size Z": {
"bl_idname": "SvStringsSocket",
"name": "Size Z",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvBBoxNodeMk3"
},
"Viewer Draw.005": {
"attributes": {
"location": [
886.1671752929688,
-4295.16845703125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"display_faces": false,
"edge_color": [
0.2638416290283203,
0.9000002145767212,
0.04870729148387909,
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"
},
"Box.002": {
"attributes": {
"location": [
697.4183349609375,
-4515.5361328125
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"inputs": {
"Size": {
"bl_idname": "SvStringsSocket",
"name": "Size",
"properties": {
"prop_name": "Size"
}
},
"Divx": {
"bl_idname": "SvStringsSocket",
"name": "Divx",
"properties": {
"prop_name": "Divx"
}
},
"Divy": {
"bl_idname": "SvStringsSocket",
"name": "Divy",
"properties": {
"prop_name": "Divy"
}
},
"Divz": {
"bl_idname": "SvStringsSocket",
"name": "Divz",
"properties": {
"prop_name": "Divz"
}
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"outputs": {
"Vers": {
"bl_idname": "SvVerticesSocket",
"name": "Vers",
"properties": {
"description": "Box vertices"
}
},
"Edgs": {
"bl_idname": "SvStringsSocket",
"name": "Edgs"
},
"Pols": {
"bl_idname": "SvStringsSocket",
"name": "Pols"
}
},
"bl_idname": "SvBoxNodeMk2"
},
"Number Range.005": {
"attributes": {
"location": [
1056.55322265625,
-4025.8515625
]
},
"properties": {
"range_mode": "RANGE_COUNT",
"current_mode": "RANGE_COUNT",
"stop_float": 1.0,
"start_float": 2.0,
"count_": 5
},
"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"
},
"Number Range.002": {
"attributes": {
"location": [
1213.4713134765625,
-4072.77294921875
]
},
"properties": {
"range_mode": "RANGE_COUNT",
"current_mode": "RANGE_COUNT",
"stop_float": 1.0,
"start_float": -1.0,
"count_": 37
},
"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",
"properties": {
"use_unwrap": true,
"use_graft": true
}
}
},
"bl_idname": "SvGenNumberRange"
}
},
"links": [
{
"from_node": "Marching Squares.002",
"from_socket": "Vertices",
"to_node": "Viewer Draw.004",
"to_socket": "Vertices"
},
{
"from_node": "Marching Squares.002",
"from_socket": "Edges",
"to_node": "Viewer Draw.004",
"to_socket": "Edges"
},
{
"from_node": "Attractor Field.002",
"from_socket": "SField",
"to_node": "Marching Squares.002",
"to_socket": "Field"
},
{
"from_node": "Number Range.005",
"from_socket": "Range",
"to_node": "Marching Squares.002",
"to_socket": "Value"
},
{
"from_node": "Bounding Box.001",
"from_socket": "Min X",
"to_node": "Marching Squares.002",
"to_socket": "MinX"
},
{
"from_node": "Bounding Box.001",
"from_socket": "Max X",
"to_node": "Marching Squares.002",
"to_socket": "MaxX"
},
{
"from_node": "Bounding Box.001",
"from_socket": "Min Y",
"to_node": "Marching Squares.002",
"to_socket": "MinY"
},
{
"from_node": "Bounding Box.001",
"from_socket": "Max Y",
"to_node": "Marching Squares.002",
"to_socket": "MaxY"
},
{
"from_node": "Number Range.002",
"from_socket": "Range",
"to_node": "Marching Squares.002",
"to_socket": "Z"
},
{
"from_node": "Rotate",
"from_socket": "Vertices",
"to_node": "Attractor Field.002",
"to_socket": "Center"
},
{
"from_node": "Rotate",
"from_socket": "Vertices",
"to_node": "Viewer Draw.006",
"to_socket": "Vertices"
},
{
"from_node": "NGon.002",
"from_socket": "Vertices",
"to_node": "Rotate",
"to_socket": "Vertices"
},
{
"from_node": "Box.002",
"from_socket": "Vers",
"to_node": "Bounding Box.001",
"to_socket": "Vertices"
},
{
"from_node": "Box.002",
"from_socket": "Vers",
"to_node": "Viewer Draw.005",
"to_socket": "Vertices"
},
{
"from_node": "Box.002",
"from_socket": "Edgs",
"to_node": "Viewer Draw.005",
"to_socket": "Edges"
},
{
"from_node": "Box.002",
"from_socket": "Pols",
"to_node": "Viewer Draw.005",
"to_socket": "Polygons"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment