Skip to content

Instantly share code, notes, and snippets.

@portnov
Created December 7, 2024 15:05
Show Gist options
  • Save portnov/85bed29d4c7767b5398abc7ad89f28b3 to your computer and use it in GitHub Desktop.
Save portnov/85bed29d4c7767b5398abc7ad89f28b3 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0 | Blender.4.3.0 | NodeTree | 2024.12.07 | 20:05 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"NGon": {
"attributes": {
"location": [
-298.5836181640625,
-30.448448181152344
]
},
"properties": {
"sides_": 7
},
"inputs": {
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "rad_"
}
},
"N Sides": {
"bl_idname": "SvStringsSocket",
"name": "N Sides",
"properties": {
"prop_name": "sides_"
}
},
"Divisions": {
"bl_idname": "SvStringsSocket",
"name": "Divisions",
"properties": {
"prop_name": "divisions"
}
},
"RandomR": {
"bl_idname": "SvStringsSocket",
"name": "RandomR",
"properties": {
"prop_name": "rand_r_"
}
},
"RandomPhi": {
"bl_idname": "SvStringsSocket",
"name": "RandomPhi",
"properties": {
"prop_name": "rand_phi_"
}
},
"RandomSeed": {
"bl_idname": "SvStringsSocket",
"name": "RandomSeed",
"properties": {
"prop_name": "rand_seed_"
}
},
"Shift": {
"bl_idname": "SvStringsSocket",
"name": "Shift",
"properties": {
"prop_name": "shift_"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvNGonNode"
},
"Viewer Draw": {
"attributes": {
"location": [
171.28363037109375,
-89.29306030273438
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.013184511102735996,
0.46199744939804077,
0.8999614119529724,
1.0
],
"selected_draw_mode": "facet",
"vector_color": [
0.0,
0.11233607679605484,
0.9498387575149536,
1.0
],
"activate": false
},
"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"
},
"Fillet Polyline": {
"attributes": {
"location": [
155.31390380859375,
230.07778930664062
]
},
"properties": {
"cyclic": true,
"scale_to_unit": true,
"make_nurbs": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "radius"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Centers": {
"bl_idname": "SvMatrixSocket",
"name": "Centers"
}
},
"bl_idname": "SvExFilletPolylineNode"
},
"Number Range": {
"attributes": {
"location": [
-613.415771484375,
537.6647338867188
]
},
"properties": {
"range_mode": "RANGE_COUNT",
"current_mode": "RANGE_COUNT",
"count_": 20
},
"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"
},
"Curve Mapper": {
"attributes": {
"location": [
-354.89300537109375,
375.9052429199219
],
"width": 269.08502197265625
},
"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.0401606447994709, 0.47499993443489075]], [\"AUTO\", [1.6867470741271973, 0.26249992847442627]], [\"AUTO\", [4.694779872894287, 0.11249993741512299]], [\"AUTO\", [7.991966724395752, 0.25]], [\"AUTO\", [10.0, 0.4999997913837433]]]]}"
},
"inputs": {
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value",
"properties": {
"prop_name": "value"
}
}
},
"outputs": {
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value",
"properties": {
"use_graft": true,
"use_unwrap": true
}
},
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Control Points": {
"bl_idname": "SvVerticesSocket",
"name": "Control Points"
}
},
"bl_idname": "SvCurveMapperNode"
},
"Vector In": {
"attributes": {
"location": [
181.3831787109375,
449.2884826660156
],
"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"
},
"Apply Field to Curve": {
"attributes": {
"location": [
1074.87841796875,
438.4483947753906
]
},
"properties": {
"use_control_points": true
},
"inputs": {
"Field": {
"bl_idname": "SvVectorFieldSocket",
"name": "Field"
},
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Coefficient": {
"bl_idname": "SvStringsSocket",
"name": "Coefficient",
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvExApplyFieldToCurveNode"
},
"Curve Mapper.001": {
"attributes": {
"location": [
-436.17816162109375,
994.1465454101562
],
"width": 313.23974609375
},
"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.8062501549720764]], [\"AUTO\", [3.081911087036133, 3.3187496662139893]], [\"AUTO\", [8.805459976196289, 1.6125012636184692]], [\"AUTO\", [10.0, 0.9499998688697815]]]]}"
},
"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"
},
"Apply Field to Curve.001": {
"attributes": {
"location": [
846.0630493164062,
390.5002746582031
]
},
"properties": {
"use_control_points": true
},
"inputs": {
"Field": {
"bl_idname": "SvVectorFieldSocket",
"name": "Field"
},
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Coefficient": {
"bl_idname": "SvStringsSocket",
"name": "Coefficient",
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvExApplyFieldToCurveNode"
},
"Matrix In": {
"attributes": {
"location": [
648.1508178710938,
572.3104248046875
]
},
"inputs": {
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location",
"properties": {
"prop_name": "location_"
}
},
"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"
},
"Curve Mapper.002": {
"attributes": {
"location": [
-50.93939208984375,
899.6454467773438
],
"width": 412.1981201171875
},
"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]], [\"AUTO\", [2.3214290142059326, 0.35342884063720703]], [\"AUTO\", [7.346937656402588, 2.3561935424804688]], [\"AUTO\", [10.0, 2.767146110534668]]]]}"
},
"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"
},
"Scalar Math": {
"attributes": {
"location": [
388.73101806640625,
754.4214477539062
]
},
"properties": {
"current_op": "DEGREES"
},
"inputs": {
"x": {
"bl_idname": "SvStringsSocket",
"name": "x",
"properties": {
"prop_name": "x_"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvScalarMathNodeMK4"
},
"Curve Length Parameter": {
"attributes": {
"location": [
1297.0626220703125,
581.61376953125
]
},
"properties": {
"resolution": 500,
"sample_size": 150
},
"inputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Resolution": {
"bl_idname": "SvStringsSocket",
"name": "Resolution",
"properties": {
"prop_name": "resolution"
}
},
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "length"
}
},
"Samples": {
"bl_idname": "SvStringsSocket",
"name": "Samples",
"properties": {
"prop_name": "sample_size"
}
},
"SegmentLength": {
"bl_idname": "SvStringsSocket",
"name": "SegmentLength",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "segment_length"
}
}
},
"outputs": {
"T": {
"bl_idname": "SvStringsSocket",
"name": "T"
},
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvCurveLengthParameterMk2Node"
},
"Data Shape": {
"attributes": {
"location": [
1675.2779541015625,
738.0518798828125
],
"width": 500.0,
"color": [
0.5,
0.5,
1.0
],
"use_custom_color": true
},
"properties": {
"text": "Level 3: list [150] of list [20] of list [3] of float"
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"outputs": {
"Text Out": {
"bl_idname": "SvStringsSocket",
"name": "Text Out"
}
},
"bl_idname": "SvDataShapeNode"
},
"List Flip": {
"attributes": {
"location": [
1495.530029296875,
647.1920166015625
]
},
"properties": {
"level": 1
},
"inputs": {
"data": {
"bl_idname": "SvStringsSocket",
"name": "data"
}
},
"outputs": {
"data_001": {
"bl_idname": "SvVerticesSocket",
"name": "data"
}
},
"bl_idname": "ListFlipNode"
},
"Catmull-Rom Spline": {
"attributes": {
"location": [
1677.63134765625,
558.4739379882812
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Tension": {
"bl_idname": "SvStringsSocket",
"name": "Tension",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "tension"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvCatmullRomSplineNode"
},
"Bezier Curve Out": {
"attributes": {
"location": [
1956.4853515625,
578.595703125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"bevel_radius": 0.08999999612569809
},
"inputs": {
"ControlPoints": {
"bl_idname": "SvVerticesSocket",
"name": "ControlPoints",
"attributes": {
"hide": true
}
},
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "bevel_radius"
}
},
"Tilt": {
"bl_idname": "SvStringsSocket",
"name": "Tilt",
"properties": {
"prop_name": "tilt"
}
},
"BevelObject": {
"bl_idname": "SvObjectSocket",
"name": "BevelObject",
"properties": {
"custom_draw": "draw_bevel_object_props",
"object_kinds": "CURVE"
}
},
"TaperObject": {
"bl_idname": "SvObjectSocket",
"name": "TaperObject",
"properties": {
"custom_draw": "draw_taper_object_props",
"object_kinds": "CURVE"
}
}
},
"outputs": {
"Objects": {
"bl_idname": "SvObjectSocket",
"name": "Objects"
}
},
"bl_idname": "SvBezierCurveOutNode"
}
},
"links": [
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "NGon",
"from_socket": "Polygons",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Fillet Polyline",
"to_socket": "Vertices"
},
{
"from_node": "Curve Mapper",
"from_socket": "Value",
"to_node": "Fillet Polyline",
"to_socket": "Radius"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "Curve Mapper",
"to_socket": "Value"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "Vector In",
"to_socket": "Z"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "Apply Field to Curve",
"to_socket": "Field"
},
{
"from_node": "Apply Field to Curve.001",
"from_socket": "Curve",
"to_node": "Apply Field to Curve",
"to_socket": "Curve"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "Curve Mapper.001",
"to_socket": "Value"
},
{
"from_node": "Matrix In",
"from_socket": "Matrices",
"to_node": "Apply Field to Curve.001",
"to_socket": "Field"
},
{
"from_node": "Fillet Polyline",
"from_socket": "Curve",
"to_node": "Apply Field to Curve.001",
"to_socket": "Curve"
},
{
"from_node": "Curve Mapper.001",
"from_socket": "Value",
"to_node": "Matrix In",
"to_socket": "Scale"
},
{
"from_node": "Scalar Math",
"from_socket": "Out",
"to_node": "Matrix In",
"to_socket": "Angle"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "Curve Mapper.002",
"to_socket": "Value"
},
{
"from_node": "Curve Mapper.002",
"from_socket": "Value",
"to_node": "Scalar Math",
"to_socket": "x"
},
{
"from_node": "Apply Field to Curve",
"from_socket": "Curve",
"to_node": "Curve Length Parameter",
"to_socket": "Curve"
},
{
"from_node": "List Flip",
"from_socket": "data_001",
"to_node": "Data Shape",
"to_socket": "Data"
},
{
"from_node": "Curve Length Parameter",
"from_socket": "Vertices",
"to_node": "List Flip",
"to_socket": "data"
},
{
"from_node": "List Flip",
"from_socket": "data_001",
"to_node": "Catmull-Rom Spline",
"to_socket": "Vertices"
},
{
"from_node": "Catmull-Rom Spline",
"from_socket": "Curve",
"to_node": "Bezier Curve Out",
"to_socket": "Curve"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment