Skip to content

Instantly share code, notes, and snippets.

@satabol
Created January 18, 2023 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satabol/d92b0d743ee24003addacc755f82db4e to your computer and use it in GitHub Desktop.
Save satabol/d92b0d743ee24003addacc755f82db4e to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.4.1 | NodeTree | 2023.01.19 | 00:50 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Polyline.001": {
"attributes": {
"location": [
2729.697509765625,
3015.827880859375
]
},
"properties": {
"is_cyclic": true,
"concat": false
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvExPolylineNode"
},
"Extrude Curve Along Vector.001": {
"attributes": {
"location": [
2910.080078125,
3017.00830078125
]
},
"inputs": {
"Profile": {
"bl_idname": "SvCurveSocket",
"name": "Profile"
},
"Vector": {
"bl_idname": "SvVerticesSocket",
"name": "Vector",
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.8280000686645508
],
"expanded": true
}
}
},
"outputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
}
},
"bl_idname": "SvExExtrudeCurveVectorNode"
},
"Vector In.003": {
"attributes": {
"location": [
3161.02490234375,
2798.056884765625
],
"width": 100.0
},
"properties": {
"z_": 2.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"
},
"Scalar Math.004": {
"attributes": {
"location": [
2930.05029296875,
2763.910400390625
]
},
"properties": {
"y_": 0.5
},
"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"
},
"Vector Sort.001": {
"attributes": {
"location": [
2538.11376953125,
3079.277587890625
]
},
"properties": {
"mode": "CONNEX",
"limit_mode": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"PolyEdge": {
"bl_idname": "SvStringsSocket",
"name": "PolyEdge"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"PolyEdge": {
"bl_idname": "SvStringsSocket",
"name": "PolyEdge"
},
"Item order": {
"bl_idname": "SvStringsSocket",
"name": "Item order"
}
},
"bl_idname": "SvVertSortNode"
},
"A Number.005": {
"attributes": {
"location": [
2538.11376953125,
2702.53125
]
},
"properties": {
"float_": 2.0
},
"inputs": {
"Float": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"prop_name": "float_"
}
}
},
"outputs": {
"Float": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"custom_draw": "mode_custom_draw"
}
}
},
"bl_idname": "SvNumberNode"
},
"Mesh Viewer.001": {
"attributes": {
"location": [
3945.02490234375,
3120.931884765625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"base_data_name": "Delta",
"is_merge": true,
"show_wireframe": true,
"is_lock_origin": false
},
"inputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"edges": {
"bl_idname": "SvStringsSocket",
"name": "edges",
"properties": {
"custom_draw": "draw_edges_props"
}
},
"faces": {
"bl_idname": "SvStringsSocket",
"name": "faces"
},
"material_idx": {
"bl_idname": "SvStringsSocket",
"name": "material_idx"
},
"matrix": {
"bl_idname": "SvMatrixSocket",
"name": "matrix",
"properties": {
"custom_draw": "draw_matrix_props"
}
}
},
"outputs": {
"Objects": {
"bl_idname": "SvObjectSocket",
"name": "Objects"
}
},
"bl_idname": "SvMeshViewer"
},
"Evaluate Surface.001": {
"attributes": {
"location": [
3124.053466796875,
3092.252197265625
]
},
"properties": {
"samples_v": 18,
"samples_u": 31
},
"inputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
},
"U": {
"bl_idname": "SvStringsSocket",
"name": "U",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "u_value"
}
},
"V": {
"bl_idname": "SvStringsSocket",
"name": "V",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "v_value"
}
},
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"attributes": {
"hide": true
}
},
"SamplesU": {
"bl_idname": "SvStringsSocket",
"name": "SamplesU",
"properties": {
"prop_name": "samples_u"
}
},
"SamplesV": {
"bl_idname": "SvStringsSocket",
"name": "SamplesV",
"properties": {
"prop_name": "samples_v"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"bl_idname": "SvExEvalSurfaceNode"
},
"Wireframe.001": {
"attributes": {
"location": [
3746.147216796875,
3201.06005859375
]
},
"properties": {
"thickness": 0.009999997913837433
},
"inputs": {
"thickness": {
"bl_idname": "SvStringsSocket",
"name": "thickness",
"properties": {
"prop_name": "thickness"
}
},
"Offset": {
"bl_idname": "SvStringsSocket",
"name": "Offset",
"properties": {
"prop_name": "offset"
}
},
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"polygons": {
"bl_idname": "SvStringsSocket",
"name": "polygons"
}
},
"outputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"edges": {
"bl_idname": "SvStringsSocket",
"name": "edges"
},
"polygons": {
"bl_idname": "SvStringsSocket",
"name": "polygons"
}
},
"bl_idname": "SvWireframeNode"
},
"Merge by Distance.001": {
"attributes": {
"location": [
3515.259033203125,
3184.419677734375
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"PolyEdge": {
"bl_idname": "SvStringsSocket",
"name": "PolyEdge"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"Mask": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
},
"Distance": {
"bl_idname": "SvStringsSocket",
"name": "Distance",
"properties": {
"prop_name": "distance"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"FaceData": {
"bl_idname": "SvStringsSocket",
"name": "FaceData"
},
"Doubles": {
"bl_idname": "SvVerticesSocket",
"name": "Doubles"
},
"Mask": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
}
},
"bl_idname": "SvMergeByDistanceNode"
},
"Move.001": {
"attributes": {
"location": [
3327.146240234375,
2911.811279296875
]
},
"properties": {
"strength": -1.0
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Movement Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Movement Vectors",
"properties": {
"prop_name": "movement_vectors"
}
},
"Strength": {
"bl_idname": "SvStringsSocket",
"name": "Strength",
"properties": {
"prop_name": "strength"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvMoveNodeMk3"
},
"Vector In.002": {
"attributes": {
"location": [
2740.1142578125,
2841.73046875
],
"width": 100.0
},
"properties": {
"z_": 2.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"
},
"Float to Integer.001": {
"attributes": {
"location": [
2534.96533203125,
2822.712646484375
]
},
"inputs": {
"float": {
"bl_idname": "SvStringsSocket",
"name": "float"
}
},
"outputs": {
"int": {
"bl_idname": "SvStringsSocket",
"name": "int"
}
},
"bl_idname": "Float2IntNode"
},
"Scalar Math.006": {
"attributes": {
"location": [
2313.52880859375,
2852.603271484375
]
},
"properties": {
"current_op": "ADD"
},
"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"
},
"NGon": {
"attributes": {
"location": [
2315.830322265625,
3132.735595703125
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"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"
},
"Formula.002": {
"attributes": {
"location": [
2021.98388671875,
3021.571533203125
],
"width": 230.0
},
"properties": {
"formula1": "cell*n/sin(180/(sides+1))"
},
"inputs": {
"cell": {
"bl_idname": "SvFormulaSocket",
"name": "cell"
},
"n": {
"bl_idname": "SvFormulaSocket",
"name": "n"
},
"sides": {
"bl_idname": "SvFormulaSocket",
"name": "sides"
}
},
"outputs": {
"Result": {
"bl_idname": "SvStringsSocket",
"name": "Result"
}
},
"bl_idname": "SvFormulaNodeMk5"
},
"Scalar Math.005": {
"attributes": {
"location": [
2327.7939453125,
2682.2939453125
]
},
"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"
},
"Float to Integer.002": {
"attributes": {
"location": [
2908.93212890625,
3170.37646484375
]
},
"inputs": {
"float": {
"bl_idname": "SvStringsSocket",
"name": "float"
}
},
"outputs": {
"int": {
"bl_idname": "SvStringsSocket",
"name": "int"
}
},
"bl_idname": "Float2IntNode"
},
"A Number.009": {
"attributes": {
"location": [
1808.624267578125,
2664.408203125
],
"label": "\u0420\u0430\u0437\u043c\u0435\u0440 \u044f\u0447\u0435\u0439\u043a\u0438"
},
"properties": {
"float_": 0.10000000149011612
},
"inputs": {
"Float": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"prop_name": "float_"
}
}
},
"outputs": {
"Float": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"custom_draw": "mode_custom_draw"
}
}
},
"bl_idname": "SvNumberNode"
},
"A Number.010": {
"attributes": {
"location": [
1808.624267578125,
3075.31005859375
]
},
"properties": {
"int_": 4,
"selected_mode": "int"
},
"inputs": {
"Float": {
"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"
},
"A Number.006": {
"attributes": {
"location": [
1808.624267578125,
2840.400634765625
],
"label": "\u0412\u044b\u0441\u043e\u0442\u0430"
},
"properties": {
"float_": 4.0,
"int_": 2,
"selected_mode": "int"
},
"inputs": {
"Float": {
"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"
},
"A Number.007": {
"attributes": {
"location": [
1808.624267578125,
2956.8994140625
],
"label": "\u0421\u0442\u043e\u0440\u043e\u043d \u0432 \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0435"
},
"properties": {
"int_": 5,
"selected_mode": "int"
},
"inputs": {
"Float": {
"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"
},
"Scalar Math.007": {
"attributes": {
"location": [
2716.642578125,
3212.386962890625
]
},
"properties": {
"current_op": "ADD"
},
"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"
}
},
"links": [
{
"from_node": "Vector Sort.001",
"from_socket": "Vertices",
"to_node": "Polyline.001",
"to_socket": "Vertices"
},
{
"from_node": "Polyline.001",
"from_socket": "Curve",
"to_node": "Extrude Curve Along Vector.001",
"to_socket": "Profile"
},
{
"from_node": "Vector In.002",
"from_socket": "Vectors",
"to_node": "Extrude Curve Along Vector.001",
"to_socket": "Vector"
},
{
"from_node": "Scalar Math.004",
"from_socket": "Out",
"to_node": "Vector In.003",
"to_socket": "Z"
},
{
"from_node": "A Number.005",
"from_socket": "Float",
"to_node": "Scalar Math.004",
"to_socket": "x"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Vector Sort.001",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Vector Sort.001",
"to_socket": "PolyEdge"
},
{
"from_node": "Scalar Math.005",
"from_socket": "Out",
"to_node": "A Number.005",
"to_socket": "Float"
},
{
"from_node": "Wireframe.001",
"from_socket": "vertices",
"to_node": "Mesh Viewer.001",
"to_socket": "vertices"
},
{
"from_node": "Wireframe.001",
"from_socket": "edges",
"to_node": "Mesh Viewer.001",
"to_socket": "edges"
},
{
"from_node": "Wireframe.001",
"from_socket": "polygons",
"to_node": "Mesh Viewer.001",
"to_socket": "faces"
},
{
"from_node": "Extrude Curve Along Vector.001",
"from_socket": "Surface",
"to_node": "Evaluate Surface.001",
"to_socket": "Surface"
},
{
"from_node": "Float to Integer.002",
"from_socket": "int",
"to_node": "Evaluate Surface.001",
"to_socket": "SamplesU"
},
{
"from_node": "Float to Integer.001",
"from_socket": "int",
"to_node": "Evaluate Surface.001",
"to_socket": "SamplesV"
},
{
"from_node": "Merge by Distance.001",
"from_socket": "Vertices",
"to_node": "Wireframe.001",
"to_socket": "vertices"
},
{
"from_node": "Merge by Distance.001",
"from_socket": "Polygons",
"to_node": "Wireframe.001",
"to_socket": "polygons"
},
{
"from_node": "Move.001",
"from_socket": "Vertices",
"to_node": "Merge by Distance.001",
"to_socket": "Vertices"
},
{
"from_node": "Evaluate Surface.001",
"from_socket": "Faces",
"to_node": "Merge by Distance.001",
"to_socket": "PolyEdge"
},
{
"from_node": "Evaluate Surface.001",
"from_socket": "Vertices",
"to_node": "Move.001",
"to_socket": "Vertices"
},
{
"from_node": "Vector In.003",
"from_socket": "Vectors",
"to_node": "Move.001",
"to_socket": "Movement Vectors"
},
{
"from_node": "A Number.005",
"from_socket": "Float",
"to_node": "Vector In.002",
"to_socket": "Z"
},
{
"from_node": "Scalar Math.006",
"from_socket": "Out",
"to_node": "Float to Integer.001",
"to_socket": "float"
},
{
"from_node": "A Number.006",
"from_socket": "Int",
"to_node": "Scalar Math.006",
"to_socket": "x"
},
{
"from_node": "Formula.002",
"from_socket": "Result",
"to_node": "NGon",
"to_socket": "Radius"
},
{
"from_node": "A Number.007",
"from_socket": "Int",
"to_node": "NGon",
"to_socket": "N Sides"
},
{
"from_node": "A Number.009",
"from_socket": "Float",
"to_node": "Formula.002",
"to_socket": "cell"
},
{
"from_node": "A Number.010",
"from_socket": "Int",
"to_node": "Formula.002",
"to_socket": "n"
},
{
"from_node": "A Number.007",
"from_socket": "Int",
"to_node": "Formula.002",
"to_socket": "sides"
},
{
"from_node": "A Number.006",
"from_socket": "Int",
"to_node": "Scalar Math.005",
"to_socket": "x"
},
{
"from_node": "A Number.009",
"from_socket": "Float",
"to_node": "Scalar Math.005",
"to_socket": "y"
},
{
"from_node": "Scalar Math.007",
"from_socket": "Out",
"to_node": "Float to Integer.002",
"to_socket": "float"
},
{
"from_node": "A Number.010",
"from_socket": "Int",
"to_node": "Scalar Math.007",
"to_socket": "x"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment