Skip to content

Instantly share code, notes, and snippets.

@satabol
Created January 18, 2023 21:27
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/074572b6d0b4e00e94c2e36da2cf6e47 to your computer and use it in GitHub Desktop.
Save satabol/074572b6d0b4e00e94c2e36da2cf6e47 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.4.1 | NodeTree | 2023.01.19 | 00:27 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Polyline": {
"attributes": {
"location": [
2729.697509765625,
2166.726806640625
]
},
"properties": {
"is_cyclic": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvExPolylineNode"
},
"Extrude Curve Along Vector": {
"attributes": {
"location": [
2910.080078125,
2167.9072265625
]
},
"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": {
"attributes": {
"location": [
2740.1142578125,
1992.62939453125
],
"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"
},
"Vector In.001": {
"attributes": {
"location": [
3161.02490234375,
1948.955810546875
],
"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": {
"attributes": {
"location": [
2930.05029296875,
1914.809326171875
]
},
"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": {
"attributes": {
"location": [
2538.11376953125,
2230.176513671875
]
},
"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": {
"attributes": {
"location": [
2538.11376953125,
1853.4302978515625
]
},
"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"
},
"Formula": {
"attributes": {
"location": [
2227.42041015625,
1784.9830322265625
],
"width": 230.0
},
"properties": {
"formula1": "(x+y)*2/segment+1"
},
"inputs": {
"segment": {
"bl_idname": "SvFormulaSocket",
"name": "segment"
},
"x": {
"bl_idname": "SvFormulaSocket",
"name": "x"
},
"y": {
"bl_idname": "SvFormulaSocket",
"name": "y"
}
},
"outputs": {
"Result": {
"bl_idname": "SvStringsSocket",
"name": "Result"
}
},
"bl_idname": "SvFormulaNodeMk5"
},
"Scalar Math.001": {
"attributes": {
"location": [
1997.7430419921875,
2225.76611328125
]
},
"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"
},
"Scalar Math.002": {
"attributes": {
"location": [
1997.7430419921875,
2075.808837890625
]
},
"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"
},
"Scalar Math.003": {
"attributes": {
"location": [
1997.7430419921875,
1900.0523681640625
]
},
"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"
},
"A Number.001": {
"attributes": {
"location": [
1719.8760986328125,
2168.6064453125
],
"label": "\u0414\u0438\u043d\u0430"
},
"properties": {
"float_": 4.0,
"int_": 10,
"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.002": {
"attributes": {
"location": [
1719.8760986328125,
2058.859619140625
],
"label": "\u0428\u0438\u0440\u0438\u043d\u0430"
},
"properties": {
"float_": 2.0,
"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"
},
"A Number.003": {
"attributes": {
"location": [
1719.8760986328125,
1942.7322998046875
],
"label": "\u0412\u044b\u0441\u043e\u0442\u0430"
},
"properties": {
"float_": 4.0,
"int_": 10,
"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.004": {
"attributes": {
"location": [
1746.2628173828125,
1734.9534912109375
],
"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"
},
"Float to Integer": {
"attributes": {
"location": [
2538.11376953125,
1966.4478759765625
]
},
"inputs": {
"float": {
"bl_idname": "SvStringsSocket",
"name": "float"
}
},
"outputs": {
"int": {
"bl_idname": "SvStringsSocket",
"name": "int"
}
},
"bl_idname": "Float2IntNode"
},
"Mesh Viewer": {
"attributes": {
"location": [
3945.02490234375,
2271.830810546875
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"base_data_name": "Gamma",
"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": {
"attributes": {
"location": [
3124.053466796875,
2243.151123046875
]
},
"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": {
"attributes": {
"location": [
3746.147216796875,
2351.958984375
]
},
"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": {
"attributes": {
"location": [
3515.259033203125,
2335.318603515625
]
},
"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": {
"attributes": {
"location": [
3327.146240234375,
2062.710205078125
]
},
"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"
},
"Plane.002": {
"attributes": {
"location": [
2336.243408203125,
2305.556640625
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"center": true,
"sizex": 3.4700000286102295,
"sizey": 2.0
},
"inputs": {
"Size X": {
"bl_idname": "SvStringsSocket",
"name": "Size X",
"properties": {
"prop_name": "sizex",
"custom_draw": "draw_prop_socket",
"label": "Size X"
}
},
"Size Y": {
"bl_idname": "SvStringsSocket",
"name": "Size Y",
"properties": {
"prop_name": "sizey",
"custom_draw": "draw_prop_socket",
"label": "Size Y"
}
},
"Num X": {
"bl_idname": "SvStringsSocket",
"name": "Num X",
"properties": {
"prop_name": "numx",
"custom_draw": "draw_prop_socket",
"label": "Num X"
}
},
"Num Y": {
"bl_idname": "SvStringsSocket",
"name": "Num Y",
"properties": {
"prop_name": "numy",
"custom_draw": "draw_prop_socket",
"label": "Num Y"
}
},
"Step X": {
"bl_idname": "SvStringsSocket",
"name": "Step X",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "stepx",
"custom_draw": "draw_prop_socket",
"label": "Step X"
}
},
"Step Y": {
"bl_idname": "SvStringsSocket",
"name": "Step Y",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "stepy",
"custom_draw": "draw_prop_socket",
"label": "Step Y"
}
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvPlaneNodeMk3"
}
},
"links": [
{
"from_node": "Vector Sort",
"from_socket": "Vertices",
"to_node": "Polyline",
"to_socket": "Vertices"
},
{
"from_node": "Polyline",
"from_socket": "Curve",
"to_node": "Extrude Curve Along Vector",
"to_socket": "Profile"
},
{
"from_node": "Vector In",
"from_socket": "Vectors",
"to_node": "Extrude Curve Along Vector",
"to_socket": "Vector"
},
{
"from_node": "A Number",
"from_socket": "Float",
"to_node": "Vector In",
"to_socket": "Z"
},
{
"from_node": "Scalar Math",
"from_socket": "Out",
"to_node": "Vector In.001",
"to_socket": "Z"
},
{
"from_node": "A Number",
"from_socket": "Float",
"to_node": "Scalar Math",
"to_socket": "x"
},
{
"from_node": "Plane.002",
"from_socket": "Vertices",
"to_node": "Vector Sort",
"to_socket": "Vertices"
},
{
"from_node": "Plane.002",
"from_socket": "Edges",
"to_node": "Vector Sort",
"to_socket": "PolyEdge"
},
{
"from_node": "Scalar Math.003",
"from_socket": "Out",
"to_node": "A Number",
"to_socket": "Float"
},
{
"from_node": "A Number.004",
"from_socket": "Float",
"to_node": "Formula",
"to_socket": "segment"
},
{
"from_node": "Scalar Math.001",
"from_socket": "Out",
"to_node": "Formula",
"to_socket": "x"
},
{
"from_node": "Scalar Math.002",
"from_socket": "Out",
"to_node": "Formula",
"to_socket": "y"
},
{
"from_node": "A Number.001",
"from_socket": "Int",
"to_node": "Scalar Math.001",
"to_socket": "x"
},
{
"from_node": "A Number.004",
"from_socket": "Float",
"to_node": "Scalar Math.001",
"to_socket": "y"
},
{
"from_node": "A Number.002",
"from_socket": "Int",
"to_node": "Scalar Math.002",
"to_socket": "x"
},
{
"from_node": "A Number.004",
"from_socket": "Float",
"to_node": "Scalar Math.002",
"to_socket": "y"
},
{
"from_node": "A Number.003",
"from_socket": "Int",
"to_node": "Scalar Math.003",
"to_socket": "x"
},
{
"from_node": "A Number.004",
"from_socket": "Float",
"to_node": "Scalar Math.003",
"to_socket": "y"
},
{
"from_node": "Formula",
"from_socket": "Result",
"to_node": "Float to Integer",
"to_socket": "float"
},
{
"from_node": "Wireframe",
"from_socket": "vertices",
"to_node": "Mesh Viewer",
"to_socket": "vertices"
},
{
"from_node": "Wireframe",
"from_socket": "edges",
"to_node": "Mesh Viewer",
"to_socket": "edges"
},
{
"from_node": "Wireframe",
"from_socket": "polygons",
"to_node": "Mesh Viewer",
"to_socket": "faces"
},
{
"from_node": "Extrude Curve Along Vector",
"from_socket": "Surface",
"to_node": "Evaluate Surface",
"to_socket": "Surface"
},
{
"from_node": "Float to Integer",
"from_socket": "int",
"to_node": "Evaluate Surface",
"to_socket": "SamplesU"
},
{
"from_node": "A Number.003",
"from_socket": "Int",
"to_node": "Evaluate Surface",
"to_socket": "SamplesV"
},
{
"from_node": "Merge by Distance",
"from_socket": "Vertices",
"to_node": "Wireframe",
"to_socket": "vertices"
},
{
"from_node": "Merge by Distance",
"from_socket": "Polygons",
"to_node": "Wireframe",
"to_socket": "polygons"
},
{
"from_node": "Move",
"from_socket": "Vertices",
"to_node": "Merge by Distance",
"to_socket": "Vertices"
},
{
"from_node": "Evaluate Surface",
"from_socket": "Faces",
"to_node": "Merge by Distance",
"to_socket": "PolyEdge"
},
{
"from_node": "Evaluate Surface",
"from_socket": "Vertices",
"to_node": "Move",
"to_socket": "Vertices"
},
{
"from_node": "Vector In.001",
"from_socket": "Vectors",
"to_node": "Move",
"to_socket": "Movement Vectors"
},
{
"from_node": "Scalar Math.001",
"from_socket": "Out",
"to_node": "Plane.002",
"to_socket": "Size X"
},
{
"from_node": "Scalar Math.002",
"from_socket": "Out",
"to_node": "Plane.002",
"to_socket": "Size Y"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment