Skip to content

Instantly share code, notes, and snippets.

@satabol
Created November 28, 2022 09:00
Show Gist options
  • Save satabol/e34d266e747450c0dd4c5c08c8aa7c40 to your computer and use it in GitHub Desktop.
Save satabol/e34d266e747450c0dd4c5c08c8aa7c40 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.3.1 | NodeTree | 2022.11.28 | 12:00 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Index To Mask": {
"attributes": {
"location": [
-263.6090393066406,
-2923.5703125
]
},
"inputs": {
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
},
"Mask size": {
"bl_idname": "SvStringsSocket",
"name": "Mask size",
"properties": {
"prop_name": "mask_size"
}
},
"Data masking": {
"bl_idname": "SvStringsSocket",
"name": "Data masking",
"attributes": {
"hide": true
}
}
},
"outputs": {
"Mask": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
}
},
"bl_idname": "SvIndexToMaskNode"
},
"Index To Mask.001": {
"attributes": {
"location": [
587.584228515625,
-2899.1767578125
]
},
"inputs": {
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
},
"Mask size": {
"bl_idname": "SvStringsSocket",
"name": "Mask size",
"properties": {
"prop_name": "mask_size"
}
},
"Data masking": {
"bl_idname": "SvStringsSocket",
"name": "Data masking",
"attributes": {
"hide": true
}
}
},
"outputs": {
"Mask": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
}
},
"bl_idname": "SvIndexToMaskNode"
},
"List Length.001": {
"attributes": {
"location": [
389.9298095703125,
-2996.5859375
]
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"outputs": {
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length"
}
},
"bl_idname": "ListLengthNode"
},
"Viewer Index+.002": {
"attributes": {
"location": [
-379.91888427734375,
-2419.635009765625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"draw_bg": true,
"activate": false
},
"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"
},
"List Input.002": {
"attributes": {
"location": [
392.61749267578125,
-2821.21240234375
]
},
"properties": {
"int_": 2,
"int_list": [
1,
2,
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,
0
]
},
"outputs": {
"List": {
"bl_idname": "SvStringsSocket",
"name": "List"
}
},
"bl_idname": "SvListInputNode"
},
"List Input.001": {
"attributes": {
"location": [
-447.2849426269531,
-2834.303466796875
]
},
"properties": {
"int_": 2,
"int_list": [
0,
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,
0
]
},
"outputs": {
"List": {
"bl_idname": "SvStringsSocket",
"name": "List"
}
},
"bl_idname": "SvListInputNode"
},
"List Length": {
"attributes": {
"location": [
-444.3271484375,
-3000.25927734375
]
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"outputs": {
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length"
}
},
"bl_idname": "ListLengthNode"
},
"List Mask (Out)": {
"attributes": {
"location": [
-46.71844482421875,
-2790.096923828125
]
},
"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"
},
"Viewer Draw.005": {
"attributes": {
"location": [
-193.22216796875,
-2406.477783203125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"display_faces": false,
"display_edges": false,
"vector_color": [
0.9500002264976501,
0.28064918518066406,
0.034566730260849,
1.0
],
"point_size": 7
},
"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"
},
"NGon": {
"attributes": {
"location": [
-631.9705200195312,
-2639.190673828125
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"sides_": 7,
"rand_r_": 1.4730000495910645,
"rad_": 0.625
},
"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"
},
"Bevel": {
"attributes": {
"location": [
132.2020263671875,
-2454.318359375
],
"width": 180.177001953125
},
"properties": {
"vertexOnly": true,
"offset_": 0.14999999105930328,
"segments_": 7
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"BevelFaceData": {
"bl_idname": "SvStringsSocket",
"name": "BevelFaceData"
},
"BevelEdges": {
"bl_idname": "SvStringsSocket",
"name": "VerticesMask"
},
"Offset": {
"bl_idname": "SvStringsSocket",
"name": "Offset",
"properties": {
"prop_name": "offset_"
}
},
"Segments": {
"bl_idname": "SvStringsSocket",
"name": "Segments",
"properties": {
"prop_name": "segments_"
}
},
"Profile": {
"bl_idname": "SvStringsSocket",
"name": "Profile",
"properties": {
"prop_name": "profile_"
}
},
"Spread": {
"bl_idname": "SvStringsSocket",
"name": "Spread",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "spread"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"NewPolys": {
"bl_idname": "SvStringsSocket",
"name": "NewPolys"
}
},
"bl_idname": "SvBevelNode"
},
"List Mask (Out).001": {
"attributes": {
"location": [
771.3831176757812,
-2687.568115234375
]
},
"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"
},
"Viewer Index+.003": {
"attributes": {
"location": [
435.04095458984375,
-2265.771728515625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"draw_bg": true,
"activate": false
},
"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"
},
"Bevel.001": {
"attributes": {
"location": [
945.71484375,
-2351.073974609375
],
"width": 180.1771240234375
},
"properties": {
"vertexOnly": true,
"offset_": 0.3449999988079071,
"segments_": 13,
"clamp_overlap": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"BevelFaceData": {
"bl_idname": "SvStringsSocket",
"name": "BevelFaceData"
},
"BevelEdges": {
"bl_idname": "SvStringsSocket",
"name": "VerticesMask"
},
"Offset": {
"bl_idname": "SvStringsSocket",
"name": "Offset",
"properties": {
"prop_name": "offset_"
}
},
"Segments": {
"bl_idname": "SvStringsSocket",
"name": "Segments",
"properties": {
"prop_name": "segments_"
}
},
"Profile": {
"bl_idname": "SvStringsSocket",
"name": "Profile",
"properties": {
"prop_name": "profile_"
}
},
"Spread": {
"bl_idname": "SvStringsSocket",
"name": "Spread",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "spread"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"NewPolys": {
"bl_idname": "SvStringsSocket",
"name": "NewPolys"
}
},
"bl_idname": "SvBevelNode"
},
"Viewer Draw.004": {
"attributes": {
"location": [
1167.04736328125,
-2347.5234375
],
"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",
"point_size": 3
},
"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"
}
},
"links": [
{
"from_node": "List Input.001",
"from_socket": "List",
"to_node": "Index To Mask",
"to_socket": "Index"
},
{
"from_node": "List Length",
"from_socket": "Length",
"to_node": "Index To Mask",
"to_socket": "Mask size"
},
{
"from_node": "List Input.002",
"from_socket": "List",
"to_node": "Index To Mask.001",
"to_socket": "Index"
},
{
"from_node": "List Length.001",
"from_socket": "Length",
"to_node": "Index To Mask.001",
"to_socket": "Mask size"
},
{
"from_node": "Bevel",
"from_socket": "Vertices",
"to_node": "List Length.001",
"to_socket": "Data"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Viewer Index+.002",
"to_socket": "verts"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Viewer Index+.002",
"to_socket": "edges"
},
{
"from_node": "NGon",
"from_socket": "Polygons",
"to_node": "Viewer Index+.002",
"to_socket": "faces"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "List Length",
"to_socket": "Data"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "List Mask (Out)",
"to_socket": "data"
},
{
"from_node": "Index To Mask",
"from_socket": "Mask",
"to_node": "List Mask (Out)",
"to_socket": "mask"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Viewer Draw.005",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Viewer Draw.005",
"to_socket": "Edges"
},
{
"from_node": "NGon",
"from_socket": "Polygons",
"to_node": "Viewer Draw.005",
"to_socket": "Polygons"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Bevel",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Bevel",
"to_socket": "Edges"
},
{
"from_node": "NGon",
"from_socket": "Polygons",
"to_node": "Bevel",
"to_socket": "Polygons"
},
{
"from_node": "List Mask (Out)",
"from_socket": "mask",
"to_node": "Bevel",
"to_socket": "BevelEdges"
},
{
"from_node": "Bevel",
"from_socket": "Vertices",
"to_node": "List Mask (Out).001",
"to_socket": "data"
},
{
"from_node": "Index To Mask.001",
"from_socket": "Mask",
"to_node": "List Mask (Out).001",
"to_socket": "mask"
},
{
"from_node": "Bevel",
"from_socket": "Vertices",
"to_node": "Viewer Index+.003",
"to_socket": "verts"
},
{
"from_node": "Bevel",
"from_socket": "Edges",
"to_node": "Viewer Index+.003",
"to_socket": "edges"
},
{
"from_node": "Bevel",
"from_socket": "Polygons",
"to_node": "Viewer Index+.003",
"to_socket": "faces"
},
{
"from_node": "Bevel",
"from_socket": "Vertices",
"to_node": "Bevel.001",
"to_socket": "Vertices"
},
{
"from_node": "Bevel",
"from_socket": "Edges",
"to_node": "Bevel.001",
"to_socket": "Edges"
},
{
"from_node": "Bevel",
"from_socket": "Polygons",
"to_node": "Bevel.001",
"to_socket": "Polygons"
},
{
"from_node": "Bevel",
"from_socket": "FaceData",
"to_node": "Bevel.001",
"to_socket": "FaceData"
},
{
"from_node": "List Mask (Out).001",
"from_socket": "mask",
"to_node": "Bevel.001",
"to_socket": "BevelEdges"
},
{
"from_node": "Bevel.001",
"from_socket": "Vertices",
"to_node": "Viewer Draw.004",
"to_socket": "Vertices"
},
{
"from_node": "Bevel.001",
"from_socket": "Edges",
"to_node": "Viewer Draw.004",
"to_socket": "Edges"
},
{
"from_node": "Bevel.001",
"from_socket": "Polygons",
"to_node": "Viewer Draw.004",
"to_socket": "Polygons"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment