Skip to content

Instantly share code, notes, and snippets.

@satabol
Created November 20, 2022 11:34
Show Gist options
  • Save satabol/141bd9d14a7f1c03f9548b20f35fe4d3 to your computer and use it in GitHub Desktop.
Save satabol/141bd9d14a7f1c03f9548b20f35fe4d3 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.3.1 | NodeTree | 2022.11.20 | 14:34 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Vector Field Math": {
"attributes": {
"location": [
451.98138427734375,
290.159423828125
]
},
"properties": {
"operation": "MUL"
},
"inputs": {
"VFieldA": {
"bl_idname": "SvVectorFieldSocket",
"name": "VField"
},
"VFieldB": {
"bl_idname": "SvVectorFieldSocket",
"name": "B",
"attributes": {
"hide": true
}
},
"SFieldB": {
"bl_idname": "SvScalarFieldSocket",
"name": "Scalar"
}
},
"outputs": {
"VFieldC": {
"bl_idname": "SvVectorFieldSocket",
"name": "Product"
},
"SFieldC": {
"bl_idname": "SvScalarFieldSocket",
"name": "SFieldC",
"attributes": {
"hide": true
}
},
"VFieldD": {
"bl_idname": "SvVectorFieldSocket",
"name": "VFieldD",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvExVectorFieldMathNode"
},
"Plane (Surface)": {
"attributes": {
"location": [
451.98138427734375,
133.13803100585938
]
},
"properties": {
"u_min": -5.0,
"u_max": 5.0,
"v_min": -5.0,
"v_max": 5.0
},
"inputs": {
"Point1": {
"bl_idname": "SvVerticesSocket",
"name": "Point1",
"properties": {
"use_prop": true
}
},
"Point2": {
"bl_idname": "SvVerticesSocket",
"name": "Point2",
"properties": {
"use_prop": true,
"prop": [
1.0,
0.0,
0.0
]
}
},
"Point3": {
"bl_idname": "SvVerticesSocket",
"name": "Point3",
"properties": {
"use_prop": true,
"prop": [
0.0,
1.0,
0.0
]
}
},
"Normal": {
"bl_idname": "SvVerticesSocket",
"name": "Normal",
"attributes": {
"hide": true
},
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.0
]
}
},
"UMin": {
"bl_idname": "SvStringsSocket",
"name": "UMin",
"properties": {
"prop_name": "u_min"
}
},
"UMax": {
"bl_idname": "SvStringsSocket",
"name": "UMax",
"properties": {
"prop_name": "u_max"
}
},
"VMin": {
"bl_idname": "SvStringsSocket",
"name": "VMin",
"properties": {
"prop_name": "v_min"
}
},
"VMax": {
"bl_idname": "SvStringsSocket",
"name": "VMax",
"properties": {
"prop_name": "v_max"
}
}
},
"outputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
}
},
"bl_idname": "SvExPlaneSurfaceNode"
},
"Apply Field to Surface": {
"attributes": {
"location": [
681.6532592773438,
269.01800537109375
]
},
"inputs": {
"Field": {
"bl_idname": "SvVectorFieldSocket",
"name": "Field"
},
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
},
"Coefficient": {
"bl_idname": "SvStringsSocket",
"name": "Coefficient",
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
}
},
"bl_idname": "SvExApplyFieldToSurfaceNode"
},
"Evaluate Surface": {
"attributes": {
"location": [
877.1383666992188,
286.63421630859375
]
},
"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"
},
"Viewer Draw": {
"attributes": {
"location": [
1084.59619140625,
283.0924377441406
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.14000000059604645,
0.5400000214576721,
0.8100000023841858,
1.0
],
"selected_draw_mode": "smooth",
"display_verts": 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"
},
"Coordinate Scalar Field": {
"attributes": {
"location": [
-232.15988159179688,
95.45909118652344
],
"width": 168.28961181640625
},
"properties": {
"coordinate": "CYL_RHO"
},
"outputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
}
},
"bl_idname": "SvCoordScalarFieldNode"
},
"Scalar Field Math": {
"attributes": {
"location": [
18.910797119140625,
122.61318969726562
],
"width": 184.7919921875
},
"properties": {
"operation": "GAUSS"
},
"inputs": {
"FieldA": {
"bl_idname": "SvScalarFieldSocket",
"name": "FieldA"
},
"FieldB": {
"bl_idname": "SvScalarFieldSocket",
"name": "FieldB",
"attributes": {
"hide": true
}
}
},
"outputs": {
"FieldC": {
"bl_idname": "SvScalarFieldSocket",
"name": "FieldC"
}
},
"bl_idname": "SvExScalarFieldMathNode"
},
"Attractor Field": {
"attributes": {
"location": [
-73.22903442382812,
-19.225555419921875
],
"width": 251.9805908203125
},
"properties": {
"falloff_type": "gauss",
"amplitude": 24.43600082397461,
"coefficient": 1.0
},
"inputs": {
"Center": {
"bl_idname": "SvVerticesSocket",
"name": "Center",
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.0
]
}
},
"Direction": {
"bl_idname": "SvVerticesSocket",
"name": "Direction",
"attributes": {
"hide": true
},
"properties": {
"use_prop": true,
"prop": [
0.0,
0.0,
1.0
]
}
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "radius"
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"attributes": {
"hide": true
}
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"attributes": {
"hide": true
}
},
"Amplitude": {
"bl_idname": "SvStringsSocket",
"name": "Amplitude",
"properties": {
"prop_name": "amplitude"
}
},
"Coefficient": {
"bl_idname": "SvStringsSocket",
"name": "Coefficient",
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"VField": {
"bl_idname": "SvVectorFieldSocket",
"name": "VField"
},
"SField": {
"bl_idname": "SvScalarFieldSocket",
"name": "SField"
}
},
"bl_idname": "SvAttractorFieldNodeMk2"
},
"List Input.001": {
"attributes": {
"location": [
-691.0823974609375,
-109.05645751953125
],
"width": 236.4344482421875
},
"properties": {
"int_": 2,
"mode": "vector",
"vector_list": [
-2.0,
-2.0,
2.0,
2.0,
2.0,
2.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"v_int": 2
},
"outputs": {
"Vector List": {
"bl_idname": "SvVerticesSocket",
"name": "Vector List"
}
},
"bl_idname": "SvListInputNode"
},
"Rotate": {
"attributes": {
"location": [
-322.67706298828125,
-104.52938842773438
]
},
"properties": {
"angle_": -505.7699890136719
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Centers": {
"bl_idname": "SvVerticesSocket",
"name": "Centers",
"properties": {
"prop_name": "centers_"
}
},
"Axis": {
"bl_idname": "SvVerticesSocket",
"name": "Axis",
"properties": {
"prop_name": "axis_",
"expanded": true
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle_"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvRotationNodeMk3"
},
"UV Connection": {
"attributes": {
"location": [
-115.3253173828125,
-344.90289306640625
]
},
"properties": {
"polygons": "Edges"
},
"inputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"vertices 1": {
"bl_idname": "SvVerticesSocket",
"name": "vertices 1"
}
},
"outputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices"
},
"data": {
"bl_idname": "SvStringsSocket",
"name": "data"
}
},
"bl_idname": "LineConnectNodeMK2"
},
"Viewer Draw.001": {
"attributes": {
"location": [
72.66165161132812,
-340.3760986328125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.46222227811813354,
0.7874122262001038,
0.031042395159602165,
1.0
],
"vector_color": [
0.5849884748458862,
1.0,
0.03788261488080025,
1.0
],
"point_size": 3
},
"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"
},
"List Input": {
"attributes": {
"location": [
168.59634399414062,
315.7515563964844
],
"width": 236.4344482421875
},
"properties": {
"int_": 2,
"mode": "vector",
"vector_list": [
0.0,
0.0,
1.0,
2.0,
2.0,
1.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
"outputs": {
"Vector List": {
"bl_idname": "SvVerticesSocket",
"name": "Vector List"
}
},
"bl_idname": "SvListInputNode"
}
},
"links": [
{
"from_node": "List Input",
"from_socket": "Vector List",
"to_node": "Vector Field Math",
"to_socket": "VFieldA"
},
{
"from_node": "Attractor Field",
"from_socket": "SField",
"to_node": "Vector Field Math",
"to_socket": "SFieldB"
},
{
"from_node": "Vector Field Math",
"from_socket": "VFieldC",
"to_node": "Apply Field to Surface",
"to_socket": "Field"
},
{
"from_node": "Plane (Surface)",
"from_socket": "Surface",
"to_node": "Apply Field to Surface",
"to_socket": "Surface"
},
{
"from_node": "Apply Field to Surface",
"from_socket": "Surface",
"to_node": "Evaluate Surface",
"to_socket": "Surface"
},
{
"from_node": "Evaluate Surface",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "Evaluate Surface",
"from_socket": "Edges",
"to_node": "Viewer Draw",
"to_socket": "Edges"
},
{
"from_node": "Evaluate Surface",
"from_socket": "Faces",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "Coordinate Scalar Field",
"from_socket": "Field",
"to_node": "Scalar Field Math",
"to_socket": "FieldA"
},
{
"from_node": "Rotate",
"from_socket": "Vertices",
"to_node": "Attractor Field",
"to_socket": "Center"
},
{
"from_node": "List Input.001",
"from_socket": "Vector List",
"to_node": "Rotate",
"to_socket": "Vertices"
},
{
"from_node": "Rotate",
"from_socket": "Vertices",
"to_node": "UV Connection",
"to_socket": "vertices"
},
{
"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