Skip to content

Instantly share code, notes, and snippets.

@satabol
Created November 9, 2022 08:17
Show Gist options
  • Save satabol/8b67b9c623fd54c263a639fc691cc7f1 to your computer and use it in GitHub Desktop.
Save satabol/8b67b9c623fd54c263a639fc691cc7f1 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.3.1 | NodeTree | 2022.11.09 | 11:17 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Subdivide.005": {
"attributes": {
"location": [
10268.421875,
500.0374450683594
],
"width": 206.083984375
},
"properties": {
"cuts": 20,
"show_options": true,
"single_edge": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"EdgeMask": {
"bl_idname": "SvStringsSocket",
"name": "EdgeMask"
},
"Cuts": {
"bl_idname": "SvStringsSocket",
"name": "Cuts",
"properties": {
"prop_name": "cuts"
}
},
"Smooth": {
"bl_idname": "SvStringsSocket",
"name": "Smooth",
"properties": {
"prop_name": "smooth"
}
},
"Fractal": {
"bl_idname": "SvStringsSocket",
"name": "Fractal",
"properties": {
"prop_name": "fractal"
}
},
"AlongNormal": {
"bl_idname": "SvStringsSocket",
"name": "AlongNormal",
"properties": {
"prop_name": "along_normal"
}
},
"Seed": {
"bl_idname": "SvStringsSocket",
"name": "Seed",
"properties": {
"prop_name": "seed"
}
}
},
"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"
},
"NewVertices": {
"bl_idname": "SvVerticesSocket",
"name": "NewVertices",
"attributes": {
"hide": true
}
},
"NewEdges": {
"bl_idname": "SvStringsSocket",
"name": "NewEdges",
"attributes": {
"hide": true
}
},
"NewFaces": {
"bl_idname": "SvStringsSocket",
"name": "NewFaces",
"attributes": {
"hide": true
}
},
"OldVertices": {
"bl_idname": "SvVerticesSocket",
"name": "OldVertices",
"attributes": {
"hide": true
}
},
"OldEdges": {
"bl_idname": "SvStringsSocket",
"name": "OldEdges",
"attributes": {
"hide": true
}
},
"OldFaces": {
"bl_idname": "SvStringsSocket",
"name": "OldFaces",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvSubdivideNodeMK2"
},
"Viewer Index+.003": {
"attributes": {
"location": [
9911.1708984375,
443.26251220703125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"display_vert_index": false,
"display_edge_index": true,
"draw_bg": true,
"draw_bface": 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"
},
"Viewer Draw.031": {
"attributes": {
"location": [
10057.3603515625,
142.35153198242188
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
1.0,
0.5603099465370178,
0.016584351658821106,
1.0
],
"polygon_color": [
0.8100009560585022,
0.4553530216217041,
0.014198155142366886,
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"
},
"List Input.009": {
"attributes": {
"location": [
9807.5947265625,
-3.2349891662597656
]
},
"properties": {
"int_": 4,
"int_list": [
4,
5,
6,
7,
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.004": {
"attributes": {
"location": [
9807.0908203125,
-214.79116821289062
]
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"outputs": {
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length"
}
},
"bl_idname": "ListLengthNode"
},
"Matrix In.012": {
"attributes": {
"location": [
10545.857421875,
239.3960418701172
]
},
"properties": {
"location_": [
2.0,
0.0,
0.0
]
},
"inputs": {
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location",
"properties": {
"prop_name": "location_",
"expanded": true
}
},
"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"
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle"
}
}
},
"outputs": {
"Matrices": {
"bl_idname": "SvMatrixSocket",
"name": "Matrices"
}
},
"bl_idname": "SvMatrixInNodeMK4"
},
"Viewer Draw.032": {
"attributes": {
"location": [
10545.857421875,
492.42596435546875
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.170579195022583,
0.6651744842529297,
1.0,
1.0
],
"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"
},
"Matrix In.014": {
"attributes": {
"location": [
10545.857421875,
-311.25592041015625
]
},
"properties": {
"location_": [
4.0,
0.0,
0.0
]
},
"inputs": {
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location",
"properties": {
"prop_name": "location_",
"expanded": true
}
},
"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"
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle"
}
}
},
"outputs": {
"Matrices": {
"bl_idname": "SvMatrixSocket",
"name": "Matrices"
}
},
"bl_idname": "SvMatrixInNodeMK4"
},
"Viewer Draw.035": {
"attributes": {
"location": [
10545.857421875,
-58.22601318359375
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.170579195022583,
0.6651744842529297,
1.0,
1.0
],
"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"
},
"Index To Mask.002": {
"attributes": {
"location": [
10064.5751953125,
-117.07614135742188
]
},
"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"
},
"Subdivide Lite.003": {
"attributes": {
"location": [
10276.23046875,
-7.66412353515625
],
"width": 193.4580078125
},
"properties": {
"show_options": true,
"single_edge": true,
"show_old": true,
"show_new": true,
"cuts": 20,
"along_normal": 1.0,
"smooth_even": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"edg_pol": {
"bl_idname": "SvStringsSocket",
"name": "edg_pol"
},
"Selection": {
"bl_idname": "SvStringsSocket",
"name": "Selection"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"NewVertices": {
"bl_idname": "SvVerticesSocket",
"name": "NewVertices"
},
"NewEdges": {
"bl_idname": "SvStringsSocket",
"name": "NewEdges"
},
"NewFaces": {
"bl_idname": "SvStringsSocket",
"name": "NewFaces"
},
"OldVertices": {
"bl_idname": "SvVerticesSocket",
"name": "OldVertices"
},
"OldEdges": {
"bl_idname": "SvStringsSocket",
"name": "OldEdges"
},
"OldFaces": {
"bl_idname": "SvStringsSocket",
"name": "OldFaces"
}
},
"bl_idname": "SvSubdivideLiteNode"
},
"List Input.007": {
"attributes": {
"location": [
9821.0888671875,
-349.547119140625
]
},
"properties": {
"int_": 4,
"int_list": [
1,
4,
7,
10,
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"
},
"Box.009": {
"attributes": {
"location": [
9590.4599609375,
174.69801330566406
],
"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"
}
},
"links": [
{
"from_node": "Box.009",
"from_socket": "Vers",
"to_node": "Subdivide.005",
"to_socket": "Vertices"
},
{
"from_node": "Box.009",
"from_socket": "Edgs",
"to_node": "Subdivide.005",
"to_socket": "Edges"
},
{
"from_node": "Box.009",
"from_socket": "Pols",
"to_node": "Subdivide.005",
"to_socket": "Faces"
},
{
"from_node": "Index To Mask.002",
"from_socket": "Mask",
"to_node": "Subdivide.005",
"to_socket": "EdgeMask"
},
{
"from_node": "Box.009",
"from_socket": "Vers",
"to_node": "Viewer Index+.003",
"to_socket": "verts"
},
{
"from_node": "Box.009",
"from_socket": "Edgs",
"to_node": "Viewer Index+.003",
"to_socket": "edges"
},
{
"from_node": "Box.009",
"from_socket": "Pols",
"to_node": "Viewer Index+.003",
"to_socket": "faces"
},
{
"from_node": "Box.009",
"from_socket": "Vers",
"to_node": "Viewer Draw.031",
"to_socket": "Vertices"
},
{
"from_node": "Box.009",
"from_socket": "Edgs",
"to_node": "Viewer Draw.031",
"to_socket": "Edges"
},
{
"from_node": "Box.009",
"from_socket": "Pols",
"to_node": "Viewer Draw.031",
"to_socket": "Polygons"
},
{
"from_node": "Box.009",
"from_socket": "Edgs",
"to_node": "List Length.004",
"to_socket": "Data"
},
{
"from_node": "Subdivide.005",
"from_socket": "Vertices",
"to_node": "Viewer Draw.032",
"to_socket": "Vertices"
},
{
"from_node": "Subdivide.005",
"from_socket": "Edges",
"to_node": "Viewer Draw.032",
"to_socket": "Edges"
},
{
"from_node": "Subdivide.005",
"from_socket": "Faces",
"to_node": "Viewer Draw.032",
"to_socket": "Polygons"
},
{
"from_node": "Matrix In.012",
"from_socket": "Matrices",
"to_node": "Viewer Draw.032",
"to_socket": "Matrix"
},
{
"from_node": "Subdivide Lite.003",
"from_socket": "Vertices",
"to_node": "Viewer Draw.035",
"to_socket": "Vertices"
},
{
"from_node": "Subdivide Lite.003",
"from_socket": "Edges",
"to_node": "Viewer Draw.035",
"to_socket": "Edges"
},
{
"from_node": "Subdivide Lite.003",
"from_socket": "Faces",
"to_node": "Viewer Draw.035",
"to_socket": "Polygons"
},
{
"from_node": "Matrix In.014",
"from_socket": "Matrices",
"to_node": "Viewer Draw.035",
"to_socket": "Matrix"
},
{
"from_node": "List Input.009",
"from_socket": "List",
"to_node": "Index To Mask.002",
"to_socket": "Index"
},
{
"from_node": "List Length.004",
"from_socket": "Length",
"to_node": "Index To Mask.002",
"to_socket": "Mask size"
},
{
"from_node": "Box.009",
"from_socket": "Vers",
"to_node": "Subdivide Lite.003",
"to_socket": "Vertices"
},
{
"from_node": "Box.009",
"from_socket": "Pols",
"to_node": "Subdivide Lite.003",
"to_socket": "edg_pol"
},
{
"from_node": "Index To Mask.002",
"from_socket": "Mask",
"to_node": "Subdivide Lite.003",
"to_socket": "Selection"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment