Skip to content

Instantly share code, notes, and snippets.

@enzyme69
Created October 5, 2021 08:42
Sverchok.1.0.0 (6b6bed1) | Blender.3.0.0Alpha | NodeTree | 2021.10.05 | 19:42 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Curve Mapper": {
"attributes": {
"location": [
-148.80984497070312,
323.6168212890625
],
"width": 200.0
},
"advanced_properties": {
"curve_data": "{\"group_name\": \"sverchok_helper_group\", \"bl_idname\": \"ShaderNodeRGBCurve\", \"data\": [[[\"AUTO\", [0.0, 0.0]], [\"AUTO\", [1.0, 1.0]]], [[\"AUTO\", [0.0, 0.0]], [\"AUTO\", [1.0, 1.0]]], [[\"AUTO\", [0.0, 0.0]], [\"AUTO\", [1.0, 1.0]]], [[\"AUTO\", [0.0, 0.0]], [\"VECTOR\", [0.0, 0.08749999105930328]], [\"VECTOR\", [0.26111099123954773, 0.49062496423721313]], [\"VECTOR\", [0.5222222208976746, 0.8343754410743713]], [\"VECTOR\", [0.7666667103767395, 0.5531250834465027]], [\"AUTO\", [1.0, 0.05312500149011612]]]]}"
},
"inputs": {
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value",
"properties": {
"prop_name": "value"
}
}
},
"outputs": {
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value"
},
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Control Points": {
"bl_idname": "SvVerticesSocket",
"name": "Control Points"
}
},
"bl_idname": "SvCurveMapperNode"
},
"Number Range": {
"attributes": {
"location": [
-391.5365905761719,
68.26992797851562
]
},
"properties": {
"range_mode": "RANGE_COUNT",
"current_mode": "RANGE_COUNT",
"stop_float": 1.0
},
"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"
},
"A Number": {
"attributes": {
"location": [
-658.4357299804688,
-146.91607666015625
]
},
"properties": {
"int_": 18,
"selected_mode": "int"
},
"inputs": {
"Int": {
"bl_idname": "SvStringsSocket",
"name": "Int",
"properties": {
"prop_name": "int_"
}
}
},
"outputs": {
"Int": {
"bl_idname": "SvStringsSocket",
"name": "Int",
"properties": {
"custom_draw": "mode_custom_draw"
}
}
},
"bl_idname": "SvNumberNode"
},
"Line": {
"attributes": {
"location": [
29.07244873046875,
-68.8505859375
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"num": 10
},
"inputs": {
"Num": {
"bl_idname": "SvStringsSocket",
"name": "Num",
"properties": {
"prop_name": "num"
}
},
"Steps": {
"bl_idname": "SvStringsSocket",
"name": "Steps",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "step"
}
},
"Size": {
"bl_idname": "SvStringsSocket",
"name": "Size",
"properties": {
"prop_name": "size"
}
},
"Origin": {
"bl_idname": "SvVerticesSocket",
"name": "Origin",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "v3_origin"
}
},
"Direction": {
"bl_idname": "SvVerticesSocket",
"name": "Direction",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "v3_dir"
}
}
},
"outputs": {
"Verts": {
"bl_idname": "SvVerticesSocket",
"name": "Verts"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
}
},
"bl_idname": "SvLineNodeMK4"
},
"Stethoscope MK2": {
"attributes": {
"location": [
126.99053955078125,
385.04205322265625
],
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text_color": [
0.949999988079071,
0.949999988079071,
0.949999988079071
],
"location_theta": 2.0,
"num_elements": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"bl_idname": "SvStethoscopeNodeMK2"
},
"Scalar Math": {
"attributes": {
"location": [
177.42608642578125,
131.6778564453125
]
},
"properties": {
"y_": 4.0
},
"inputs": {
"x": {
"bl_idname": "SvStringsSocket",
"name": "x",
"properties": {
"prop_name": "x_"
}
},
"y": {
"bl_idname": "SvStringsSocket",
"name": "y",
"properties": {
"prop_name": "y_"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvScalarMathNodeMK4"
},
"Cylinder": {
"attributes": {
"location": [
356.51214599609375,
330.673095703125
],
"height": 2.0,
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"radius_t": 0.20000000298023224,
"radius_b": 0.20000000298023224,
"meridians": 8,
"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"
},
"Viewer Draw": {
"attributes": {
"location": [
579.4518432617188,
60.881561279296875
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"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": "Number Range",
"from_socket": "Range",
"to_node": "Curve Mapper",
"to_socket": "Value"
},
{
"from_node": "A Number",
"from_socket": "Int",
"to_node": "Number Range",
"to_socket": "Stop"
},
{
"from_node": "A Number",
"from_socket": "Int",
"to_node": "Line",
"to_socket": "Num"
},
{
"from_node": "Curve Mapper",
"from_socket": "Value",
"to_node": "Stethoscope MK2",
"to_socket": "Data"
},
{
"from_node": "Curve Mapper",
"from_socket": "Value",
"to_node": "Scalar Math",
"to_socket": "x"
},
{
"from_node": "Scalar Math",
"from_socket": "Out",
"to_node": "Cylinder",
"to_socket": "Height"
},
{
"from_node": "Cylinder",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "Cylinder",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "Cylinder",
"from_socket": "Polygons",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "Line",
"from_socket": "Verts",
"to_node": "Viewer Draw",
"to_socket": "Matrix"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment