Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created November 19, 2023 16:46
Show Gist options
  • Save nortikin/099b2868e79ea162bf52583e40e83cb6 to your computer and use it in GitHub Desktop.
Save nortikin/099b2868e79ea162bf52583e40e83cb6 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0-alpha | Blender.3.6.2 | Curve_mapper_shmapper | 2023.11.19 | 19:46 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Vector Interpolation": {
"attributes": {
"location": [
0.0,
-1460.0
]
},
"properties": {
"mode": "SPL"
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
},
"Interval": {
"bl_idname": "SvStringsSocket",
"name": "Interval",
"properties": {
"prop_name": "t_in"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Tanget": {
"bl_idname": "SvVerticesSocket",
"name": "Tanget"
},
"Unit Tanget": {
"bl_idname": "SvVerticesSocket",
"name": "Unit Tanget"
}
},
"bl_idname": "SvInterpolationNodeMK3"
},
"Objects in Lite": {
"attributes": {
"location": [
-260.0,
-1440.0
],
"color": [
0.0,
0.5,
0.20000000298023224
],
"use_custom_color": true
},
"properties": {
"obj_name": "BezierCurve",
"currently_storing": true
},
"advanced_properties": {
"geom": "{\"Vertices\": [0.0, 0.0, 0.0, 0.206300288438797, 0.2798381447792053, 0.0, 0.3446652889251709, 0.4625423848628998, 0.0, 0.4287683367729187, 0.5619890093803406, 0.0, 0.47228267788887024, 0.5920542478561401, 0.0, 0.4888816475868225, 0.5666143894195557, 0.0, 0.49223852157592773, 0.49954575300216675, 0.0, 0.49602657556533813, 0.4047245979309082, 0.0, 0.5139191150665283, 0.29602718353271484, 0.0, 0.5595894455909729, 0.18732976913452148, 0.0, 0.6467108726501465, 0.09250862896442413, 0.0, 0.7889566421508789, 0.025440044701099396, 0.0, 1.0, 0.0, 0.0], \"Edges\": [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12], \"Polygons\": [], \"MaterialIdx\": [], \"Matrix\": [1.0, 0.0, 0.0, 0.035178184509277344, 0.0, 1.0, 0.0, 0.7030942440032959, 0.0, 0.0, 1.0, 3.150226354598999, 0.0, 0.0, 0.0, 1.0]}"
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"MaterialIdx": {
"bl_idname": "SvStringsSocket",
"name": "MaterialIdx"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"bl_idname": "SvObjInLite"
},
"Stethoscope MK2.003": {
"attributes": {
"location": [
0.0,
-1680.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"
},
"Viewer Draw.004": {
"attributes": {
"location": [
240.0,
-1500.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"
},
"Curve Mapper": {
"attributes": {
"location": [
0.0,
-1860.0
],
"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_CLAMPED\", [0.0, 0.0]], [\"AUTO\", [0.5055556297302246, 0.5812499523162842]], [\"AUTO\", [0.5555553436279297, 0.20000019669532776]], [\"AUTO\", [1.0, 0.0]]]]}"
},
"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"
},
"Random": {
"attributes": {
"location": [
-260.0,
-1740.0
]
},
"properties": {
"count_inner": 40,
"seed": 0.08999999612569809
},
"inputs": {
"Count": {
"bl_idname": "SvStringsSocket",
"name": "Count",
"properties": {
"prop_name": "count_inner"
}
},
"Seed": {
"bl_idname": "SvStringsSocket",
"name": "Seed",
"properties": {
"prop_name": "seed"
}
}
},
"outputs": {
"Random": {
"bl_idname": "SvStringsSocket",
"name": "Random"
}
},
"bl_idname": "RandomNode"
},
"Viewer Draw Curve": {
"attributes": {
"location": [
240.0,
-1860.0
]
},
"properties": {
"line_width": 1
},
"inputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Resolution": {
"bl_idname": "SvStringsSocket",
"name": "Resolution",
"properties": {
"prop_name": "resolution"
}
}
},
"bl_idname": "SvCurveViewerDrawNode"
},
"Vector In": {
"attributes": {
"location": [
420.0,
-1860.0
],
"width": 100.0
},
"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"
},
"Viewer Draw": {
"attributes": {
"location": [
560.0,
-1860.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"
}
},
"links": [
{
"from_node": "Objects in Lite",
"from_socket": "Vertices",
"to_node": "Vector Interpolation",
"to_socket": "Vertices"
},
{
"from_node": "Random",
"from_socket": "Random",
"to_node": "Vector Interpolation",
"to_socket": "Interval"
},
{
"from_node": "Random",
"from_socket": "Random",
"to_node": "Stethoscope MK2.003",
"to_socket": "Data"
},
{
"from_node": "Vector Interpolation",
"from_socket": "Vertices",
"to_node": "Viewer Draw.004",
"to_socket": "Vertices"
},
{
"from_node": "Random",
"from_socket": "Random",
"to_node": "Curve Mapper",
"to_socket": "Value"
},
{
"from_node": "Curve Mapper",
"from_socket": "Curve",
"to_node": "Viewer Draw Curve",
"to_socket": "Curve"
},
{
"from_node": "Random",
"from_socket": "Random",
"to_node": "Vector In",
"to_socket": "X"
},
{
"from_node": "Curve Mapper",
"from_socket": "Value",
"to_node": "Vector In",
"to_socket": "Y"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment