Created
November 19, 2023 16:56
-
-
Save nortikin/138c41101aa472de3af9b210e9a9163d 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:56 | license: CC BY-SA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"export_version": "1.0", | |
"main_tree": { | |
"nodes": { | |
"Frame": { | |
"attributes": { | |
"location": [ | |
-210.0, | |
70.0 | |
], | |
"height": 258.0, | |
"width": 380.0 | |
}, | |
"bl_idname": "NodeFrame" | |
}, | |
"Frame.003": { | |
"attributes": { | |
"location": [ | |
0.0, | |
0.0 | |
], | |
"height": 266.0, | |
"width": 200.0, | |
"label": "\u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f" | |
}, | |
"bl_idname": "NodeFrame" | |
}, | |
"Frame.001": { | |
"attributes": { | |
"location": [ | |
150.0, | |
-20.0 | |
], | |
"height": 434.0, | |
"width": 580.0, | |
"label": "\u041a\u0420\u0418\u0412\u0418\u0417\u0410\u0422\u041e\u0420" | |
}, | |
"bl_idname": "NodeFrame" | |
}, | |
"Frame.002": { | |
"attributes": { | |
"location": [ | |
50.0, | |
-70.0 | |
], | |
"height": 467.0, | |
"width": 200.0 | |
}, | |
"bl_idname": "NodeFrame" | |
}, | |
"Evaluate Curve": { | |
"attributes": { | |
"location": [ | |
410.0, | |
-1250.0 | |
], | |
"parent": { | |
"type": "NODE", | |
"value": "Frame" | |
} | |
}, | |
"properties": { | |
"eval_mode": "MANUAL" | |
}, | |
"inputs": { | |
"Curve": { | |
"bl_idname": "SvCurveSocket", | |
"name": "Curve" | |
}, | |
"T": { | |
"bl_idname": "SvStringsSocket", | |
"name": "T", | |
"properties": { | |
"prop_name": "t_value" | |
} | |
}, | |
"Samples": { | |
"bl_idname": "SvStringsSocket", | |
"name": "Samples", | |
"attributes": { | |
"hide": true | |
}, | |
"properties": { | |
"prop_name": "sample_size" | |
} | |
} | |
}, | |
"outputs": { | |
"Vertices": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "Vertices" | |
}, | |
"Edges": { | |
"bl_idname": "SvStringsSocket", | |
"name": "Edges" | |
}, | |
"Tangents": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "Tangents" | |
} | |
}, | |
"bl_idname": "SvExEvalCurveNode" | |
}, | |
"Approximate Bezier Curve": { | |
"attributes": { | |
"location": [ | |
230.0, | |
-1250.0 | |
], | |
"parent": { | |
"type": "NODE", | |
"value": "Frame" | |
} | |
}, | |
"properties": { | |
"degree": 5 | |
}, | |
"inputs": { | |
"Vertices": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "Vertices" | |
}, | |
"Degree": { | |
"bl_idname": "SvStringsSocket", | |
"name": "Degree", | |
"properties": { | |
"prop_name": "degree" | |
} | |
} | |
}, | |
"outputs": { | |
"Curve": { | |
"bl_idname": "SvCurveSocket", | |
"name": "Curve" | |
}, | |
"ControlPoints": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "ControlPoints" | |
} | |
}, | |
"bl_idname": "SvExBezierCurveFitNode" | |
}, | |
"Vector Interpolation": { | |
"attributes": { | |
"location": [ | |
320.0, | |
-1560.0 | |
], | |
"parent": { | |
"type": "NODE", | |
"value": "Frame.003" | |
} | |
}, | |
"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" | |
}, | |
"Curve Mapper": { | |
"attributes": { | |
"location": [ | |
150.0, | |
-1880.0 | |
], | |
"width": 200.0, | |
"parent": { | |
"type": "NODE", | |
"value": "Frame.001" | |
} | |
}, | |
"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.13333334028720856, 0.13750003278255463]], [\"AUTO\", [0.23888888955116272, 0.29374998807907104]], [\"AUTO\", [0.4722222089767456, 0.5562498569488525]], [\"AUTO\", [0.5222219228744507, 0.17500020563602448]], [\"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" | |
}, | |
"Viewer Draw Curve": { | |
"attributes": { | |
"location": [ | |
390.0, | |
-1880.0 | |
], | |
"parent": { | |
"type": "NODE", | |
"value": "Frame.001" | |
} | |
}, | |
"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": [ | |
570.0, | |
-1880.0 | |
], | |
"width": 100.0, | |
"parent": { | |
"type": "NODE", | |
"value": "Frame.001" | |
} | |
}, | |
"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" | |
}, | |
"Random": { | |
"attributes": { | |
"location": [ | |
-210.0, | |
-1810.0 | |
], | |
"parent": { | |
"type": "NODE", | |
"value": "Frame.002" | |
} | |
}, | |
"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" | |
}, | |
"Objects in Lite": { | |
"attributes": { | |
"location": [ | |
-210.0, | |
-1510.0 | |
], | |
"color": [ | |
0.0, | |
0.5, | |
0.20000000298023224 | |
], | |
"use_custom_color": true, | |
"parent": { | |
"type": "NODE", | |
"value": "Frame.002" | |
} | |
}, | |
"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" | |
}, | |
"UV Connection": { | |
"attributes": { | |
"location": [ | |
840.0, | |
-1600.0 | |
] | |
}, | |
"properties": { | |
"polygons": "Edges", | |
"dir_check": "V_dir" | |
}, | |
"inputs": { | |
"vertices": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "vertices" | |
}, | |
"vertices 1": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "vertices 1" | |
}, | |
"vertices 2": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "vertices 2" | |
}, | |
"vertices 3": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "vertices 3" | |
} | |
}, | |
"outputs": { | |
"vertices": { | |
"bl_idname": "SvVerticesSocket", | |
"name": "vertices" | |
}, | |
"data": { | |
"bl_idname": "SvStringsSocket", | |
"name": "data" | |
} | |
}, | |
"bl_idname": "LineConnectNodeMK2" | |
}, | |
"Viewer Draw.001": { | |
"attributes": { | |
"location": [ | |
1040.0, | |
-1600.0 | |
] | |
}, | |
"properties": { | |
"display_verts": false, | |
"line_width": 2 | |
}, | |
"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": "Approximate Bezier Curve", | |
"from_socket": "Curve", | |
"to_node": "Evaluate Curve", | |
"to_socket": "Curve" | |
}, | |
{ | |
"from_node": "Random", | |
"from_socket": "Random", | |
"to_node": "Evaluate Curve", | |
"to_socket": "T" | |
}, | |
{ | |
"from_node": "Objects in Lite", | |
"from_socket": "Vertices", | |
"to_node": "Approximate Bezier Curve", | |
"to_socket": "Vertices" | |
}, | |
{ | |
"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": "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": "Evaluate Curve", | |
"from_socket": "Vertices", | |
"to_node": "UV Connection", | |
"to_socket": "vertices" | |
}, | |
{ | |
"from_node": "Vector Interpolation", | |
"from_socket": "Vertices", | |
"to_node": "UV Connection", | |
"to_socket": "vertices 1" | |
}, | |
{ | |
"from_node": "Vector In", | |
"from_socket": "Vectors", | |
"to_node": "UV Connection", | |
"to_socket": "vertices 2" | |
}, | |
{ | |
"from_node": "UV Connection", | |
"from_socket": "vertices", | |
"to_node": "Viewer Draw.001", | |
"to_socket": "Vertices" | |
}, | |
{ | |
"from_node": "UV Connection", | |
"from_socket": "data", | |
"to_node": "Viewer Draw.001", | |
"to_socket": "Edges" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment