Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created August 8, 2024 09:46
Show Gist options
  • Save nortikin/9a232dd9b1106eb4d3837158e312c676 to your computer and use it in GitHub Desktop.
Save nortikin/9a232dd9b1106eb4d3837158e312c676 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0-alpha | Blender.4.1.0Alpha | шипастый торолог | 2024.08.08 | 12:46 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Torus": {
"attributes": {
"location": [
-360.0,
120.0
],
"width": 175.0
},
"properties": {
"torus_sT": 4,
"torus_n2": 4
},
"inputs": {
"R": {
"bl_idname": "SvStringsSocket",
"name": "R",
"properties": {
"prop_name": "torus_R"
}
},
"r": {
"bl_idname": "SvStringsSocket",
"name": "r",
"properties": {
"prop_name": "torus_r"
}
},
"n1": {
"bl_idname": "SvStringsSocket",
"name": "n1",
"properties": {
"prop_name": "torus_n1"
}
},
"n2": {
"bl_idname": "SvStringsSocket",
"name": "n2",
"properties": {
"prop_name": "torus_n2"
}
},
"rP": {
"bl_idname": "SvStringsSocket",
"name": "rP",
"properties": {
"prop_name": "torus_rP"
}
},
"sP": {
"bl_idname": "SvStringsSocket",
"name": "sP",
"properties": {
"prop_name": "torus_sP"
}
},
"rE": {
"bl_idname": "SvStringsSocket",
"name": "rE",
"properties": {
"prop_name": "torus_rE"
}
},
"sE": {
"bl_idname": "SvStringsSocket",
"name": "sE",
"properties": {
"prop_name": "torus_sE"
}
},
"sT": {
"bl_idname": "SvStringsSocket",
"name": "sT",
"properties": {
"prop_name": "torus_sT"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Normals": {
"bl_idname": "SvVerticesSocket",
"name": "Normals"
}
},
"bl_idname": "SvTorusNodeMK2"
},
"Viewer Draw.002": {
"attributes": {
"location": [
420.0,
280.0
]
},
"properties": {
"line_width": 2,
"selected_draw_mode": "facet",
"polygon_color": [
0.03898052126169205,
0.5442724823951721,
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"
},
"Component Analyzer": {
"attributes": {
"location": [
920.0,
20.0
]
},
"properties": {
"mode": "Edges",
"vertex_mode": "Matrix",
"edge_mode": "Matrix_Normal"
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"nesting_level": 3,
"is_mandatory": true
}
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"properties": {
"nesting_level": 3,
"is_mandatory": true
}
}
},
"outputs": {
"Matrix_001": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Faces": {
"bl_idname": "SvVerticesSocket",
"name": "Faces",
"attributes": {
"hide": true
}
},
"Mask": {
"bl_idname": "SvVerticesSocket",
"name": "Mask",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvComponentAnalyzerNode"
},
"Viewer Draw.003": {
"attributes": {
"location": [
1820.0,
60.0
]
},
"properties": {
"polygon_color": [
0.5879315137863159,
0.24894213676452637,
0.8997853994369507,
1.0
],
"edge_color": [
0.8997443914413452,
0.24774779379367828,
0.8148772716522217,
1.0
],
"display_verts": false,
"line_width": 2,
"selected_draw_mode": "facet"
},
"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 Deform": {
"attributes": {
"location": [
1260.0,
-40.0
]
},
"inputs": {
"Original": {
"bl_idname": "SvMatrixSocket",
"name": "Original"
},
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location"
},
"Scale": {
"bl_idname": "SvVerticesSocket",
"name": "Scale"
},
"Rotation": {
"bl_idname": "SvVerticesSocket",
"name": "Rotation"
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle"
}
},
"outputs": {
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"bl_idname": "MatrixDeformNode"
},
"Vector In": {
"attributes": {
"location": [
1120.0,
-100.0
],
"width": 100.0
},
"properties": {
"x_": 0.20000000298023224,
"y_": 0.20000000298023224,
"z_": 0.20000000298023224
},
"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"
},
"Component Analyzer.001": {
"attributes": {
"location": [
-60.0,
-40.0
]
},
"properties": {
"mode": "Edges"
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"nesting_level": 3,
"is_mandatory": true
}
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"properties": {
"nesting_level": 3
}
}
},
"outputs": {
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length"
},
"Faces": {
"bl_idname": "SvVerticesSocket",
"name": "Faces",
"attributes": {
"hide": true
}
},
"Mask": {
"bl_idname": "SvVerticesSocket",
"name": "Mask",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvComponentAnalyzerNode"
},
"Logic Functions": {
"attributes": {
"location": [
140.0,
-120.0
]
},
"properties": {
"function_name": "LESS"
},
"inputs": {
"A": {
"bl_idname": "SvStringsSocket",
"name": "A",
"properties": {
"use_prop": true,
"show_property_type": true
}
},
"B": {
"bl_idname": "SvStringsSocket",
"name": "B",
"properties": {
"use_prop": true,
"show_property_type": true,
"default_float_property": 0.30000001192092896
}
}
},
"outputs": {
"Result": {
"bl_idname": "SvStringsSocket",
"name": "Result"
}
},
"bl_idname": "SvLogicNodeMK2"
},
"Stethoscope MK2": {
"attributes": {
"location": [
420.0,
-100.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": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"List Mask (Out)": {
"attributes": {
"location": [
700.0,
80.0
]
},
"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": {
"bl_idname": "SvStringsSocket",
"name": "dataTrue"
},
"dataFalse": {
"bl_idname": "SvStringsSocket",
"name": "dataFalse"
}
},
"bl_idname": "MaskListNode"
},
"Cylinder": {
"attributes": {
"location": [
1500.0,
-160.0
],
"height": 0.4000000059604645
},
"properties": {
"radius_t": 0.0,
"radius_b": 0.5,
"height": 0.4000000059604645,
"meridians": 4,
"center": false
},
"inputs": {
"RadiusT": {
"bl_idname": "SvStringsSocket",
"name": "RadiusT",
"properties": {
"prop_name": "radius_t"
}
},
"RadiusB": {
"bl_idname": "SvStringsSocket",
"name": "RadiusB",
"properties": {
"prop_name": "radius_b"
}
},
"Parallels": {
"bl_idname": "SvStringsSocket",
"name": "Parallels",
"properties": {
"prop_name": "parallels"
}
},
"Meridians": {
"bl_idname": "SvStringsSocket",
"name": "Meridians",
"properties": {
"prop_name": "meridians"
}
},
"Height": {
"bl_idname": "SvStringsSocket",
"name": "Height",
"properties": {
"prop_name": "height"
}
},
"Twist": {
"bl_idname": "SvStringsSocket",
"name": "Twist",
"properties": {
"prop_name": "twist"
}
},
"Phase": {
"bl_idname": "SvStringsSocket",
"name": "Phase",
"properties": {
"prop_name": "phase"
}
},
"Scale": {
"bl_idname": "SvStringsSocket",
"name": "Scale",
"properties": {
"prop_name": "scale"
}
},
"Parallels Profile": {
"bl_idname": "SvStringsSocket",
"name": "Parallels Profile"
},
"Meridians Profile": {
"bl_idname": "SvStringsSocket",
"name": "Meridians Profile"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvCylinderNodeMK2"
},
"List Mask (Out).001": {
"attributes": {
"location": [
680.0,
-240.0
]
},
"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": {
"bl_idname": "SvStringsSocket",
"name": "dataTrue"
},
"dataFalse": {
"bl_idname": "SvStringsSocket",
"name": "dataFalse"
}
},
"bl_idname": "MaskListNode"
}
},
"links": [
{
"from_node": "Torus",
"from_socket": "Vertices",
"to_node": "Viewer Draw.002",
"to_socket": "Vertices"
},
{
"from_node": "List Mask (Out)",
"from_socket": "dataTrue",
"to_node": "Viewer Draw.002",
"to_socket": "Edges"
},
{
"from_node": "Torus",
"from_socket": "Polygons",
"to_node": "Viewer Draw.002",
"to_socket": "Polygons"
},
{
"from_node": "Torus",
"from_socket": "Vertices",
"to_node": "Component Analyzer",
"to_socket": "Vertices"
},
{
"from_node": "List Mask (Out)",
"from_socket": "dataTrue",
"to_node": "Component Analyzer",
"to_socket": "Edges"
},
{
"from_node": "Torus",
"from_socket": "Polygons",
"to_node": "Component Analyzer",
"to_socket": "Faces"
},
{
"from_node": "Cylinder",
"from_socket": "Vertices",
"to_node": "Viewer Draw.003",
"to_socket": "Vertices"
},
{
"from_node": "Cylinder",
"from_socket": "Edges",
"to_node": "Viewer Draw.003",
"to_socket": "Edges"
},
{
"from_node": "Cylinder",
"from_socket": "Polygons",
"to_node": "Viewer Draw.003",
"to_socket": "Polygons"
},
{
"from_node": "Matrix Deform",
"from_socket": "Matrix",
"to_node": "Viewer Draw.003",
"to_socket": "Matrix"
},
{
"from_node": "Component Analyzer",
"from_socket": "Matrix_001",
"to_node": "Matrix Deform",
"to_socket": "Original"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "Matrix Deform",
"to_socket": "Scale"
},
{
"from_node": "List Mask (Out).001",
"from_socket": "dataTrue",
"to_node": "Vector In",
"to_socket": "X"
},
{
"from_node": "List Mask (Out).001",
"from_socket": "dataTrue",
"to_node": "Vector In",
"to_socket": "Y"
},
{
"from_node": "List Mask (Out).001",
"from_socket": "dataFalse",
"to_node": "Vector In",
"to_socket": "Z"
},
{
"from_node": "Torus",
"from_socket": "Vertices",
"to_node": "Component Analyzer.001",
"to_socket": "Vertices"
},
{
"from_node": "Torus",
"from_socket": "Edges",
"to_node": "Component Analyzer.001",
"to_socket": "Edges"
},
{
"from_node": "Torus",
"from_socket": "Polygons",
"to_node": "Component Analyzer.001",
"to_socket": "Faces"
},
{
"from_node": "Component Analyzer.001",
"from_socket": "Length",
"to_node": "Logic Functions",
"to_socket": "A"
},
{
"from_node": "Logic Functions",
"from_socket": "Result",
"to_node": "Stethoscope MK2",
"to_socket": "Data"
},
{
"from_node": "Torus",
"from_socket": "Edges",
"to_node": "List Mask (Out)",
"to_socket": "data"
},
{
"from_node": "Logic Functions",
"from_socket": "Result",
"to_node": "List Mask (Out)",
"to_socket": "mask"
},
{
"from_node": "Component Analyzer.001",
"from_socket": "Length",
"to_node": "List Mask (Out).001",
"to_socket": "data"
},
{
"from_node": "Logic Functions",
"from_socket": "Result",
"to_node": "List Mask (Out).001",
"to_socket": "mask"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment