Skip to content

Instantly share code, notes, and snippets.

@satabol
Created December 25, 2022 19:02
Show Gist options
  • Save satabol/f177b018f8871cad33dab532cbcd9ac3 to your computer and use it in GitHub Desktop.
Save satabol/f177b018f8871cad33dab532cbcd9ac3 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.4.1 | NodeTree | 2022.12.25 | 22:02 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Frame.001": {
"attributes": {
"location": [
0.0,
-391.0445556640625
],
"height": 322.0,
"width": 269.443115234375,
"color": [
0.9669048190116882,
1.0,
0.9338096380233765
],
"use_custom_color": true
},
"bl_idname": "NodeFrame"
},
"Viewer Draw.005": {
"attributes": {
"location": [
3137.936767578125,
-1670.3883056640625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"display_verts": false,
"edge_color": [
0.8999999761581421,
0.8999999761581421,
0.949999988079071,
1.0
]
},
"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"
},
"Tessellate & Trim Surface": {
"attributes": {
"location": [
2884.3623046875,
-1666.324462890625
],
"width": 187.978759765625
},
"inputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
},
"TrimCurve": {
"bl_idname": "SvCurveSocket",
"name": "TrimCurve"
},
"SamplesU": {
"bl_idname": "SvStringsSocket",
"name": "SamplesU",
"properties": {
"prop_name": "samples_u"
}
},
"SamplesV": {
"bl_idname": "SvStringsSocket",
"name": "SamplesV",
"properties": {
"prop_name": "samples_v"
}
},
"CurveSamples": {
"bl_idname": "SvStringsSocket",
"name": "CurveSamples",
"properties": {
"prop_name": "samples_t"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"bl_idname": "SvExTessellateTrimSurfaceNode"
},
"Extrude Curve Along Vector.001": {
"attributes": {
"location": [
2121.170166015625,
-1793.7884521484375
]
},
"inputs": {
"Profile": {
"bl_idname": "SvCurveSocket",
"name": "Profile"
},
"Vector": {
"bl_idname": "SvVerticesSocket",
"name": "Vector",
"properties": {
"use_prop": true,
"prop": [
0.0,
4.0,
0.0
],
"expanded": true
}
}
},
"outputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
}
},
"bl_idname": "SvExExtrudeCurveVectorNode"
},
"Viewer Draw.004": {
"attributes": {
"location": [
2708.1689453125,
-1853.2861328125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.9000002145767212,
0.49056825041770935,
0.027892837300896645,
1.0
],
"display_verts": false,
"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"
},
"Surface's Boundary": {
"attributes": {
"location": [
2330.70654296875,
-1853.2861328125
],
"width": 156.413818359375
},
"inputs": {
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
}
},
"outputs": {
"Boundary": {
"bl_idname": "SvCurveSocket",
"name": "Boundary"
}
},
"bl_idname": "SvExSurfaceBoundaryNode"
},
"Evaluate Curve": {
"attributes": {
"location": [
2531.4599609375,
-1853.2861328125
]
},
"inputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"T": {
"bl_idname": "SvStringsSocket",
"name": "T",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "t_value"
}
},
"Samples": {
"bl_idname": "SvStringsSocket",
"name": "Samples",
"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"
},
"Matrix In.005": {
"attributes": {
"location": [
1726.3284912109375,
-1793.7884521484375
]
},
"properties": {
"scale": [
1.0,
1.149999976158142,
1.0
],
"axis": [
1.0,
0.0,
0.0
],
"angle": 90.0
},
"inputs": {
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location",
"properties": {
"prop_name": "location_",
"expanded": true
}
},
"Scale": {
"bl_idname": "SvVerticesSocket",
"name": "Scale",
"properties": {
"prop_name": "scale",
"expanded": true
}
},
"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",
"expanded": true
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle"
}
}
},
"outputs": {
"Matrices": {
"bl_idname": "SvMatrixSocket",
"name": "Matrices"
}
},
"bl_idname": "SvMatrixInNodeMK4"
},
"Segment": {
"attributes": {
"location": [
1538.5408935546875,
-1793.7884521484375
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"a": [
1.309999942779541,
-2.0,
0.0
],
"b": [
-4.0,
-2.0,
0.0
],
"cuts_number": 8
},
"inputs": {
"A": {
"bl_idname": "SvVerticesSocket",
"name": "A",
"properties": {
"prop_name": "a",
"expanded": true
}
},
"B": {
"bl_idname": "SvVerticesSocket",
"name": "B",
"properties": {
"prop_name": "b",
"expanded": true
}
},
"Cuts": {
"bl_idname": "SvStringsSocket",
"name": "Cuts",
"properties": {
"prop_name": "cuts_number"
}
},
"Steps": {
"bl_idname": "SvStringsSocket",
"name": "Steps",
"attributes": {
"hide": true
}
}
},
"outputs": {
"Verts": {
"bl_idname": "SvVerticesSocket",
"name": "Verts"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
}
},
"bl_idname": "SvSegmentGenerator"
},
"Attractor Field.003": {
"attributes": {
"location": [
2070.4287109375,
-1495.7962646484375
],
"width": 222.069091796875
},
"properties": {
"falloff_type": "inverse_cubic",
"amplitude": 0.5989999771118164
},
"inputs": {
"Center": {
"bl_idname": "SvVerticesSocket",
"name": "Center",
"properties": {
"use_prop": true
}
},
"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",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "coefficient"
}
}
},
"outputs": {
"VField": {
"bl_idname": "SvVectorFieldSocket",
"name": "VField"
},
"SField": {
"bl_idname": "SvScalarFieldSocket",
"name": "SField"
}
},
"bl_idname": "SvAttractorFieldNodeMk2"
},
"Viewer Draw.007": {
"attributes": {
"location": [
2073.744140625,
-1243.2103271484375
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"vector_color": [
0.9500002264976501,
0.0,
0.0028323789592832327,
1.0
],
"point_size": 10
},
"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.001": {
"attributes": {
"location": [
1795.335205078125,
-1335.40771484375
],
"width": 235.957763671875
},
"properties": {
"mode": "vector",
"v_int": 2,
"vector_list": [
-2.0,
0.0,
0.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,
0.0,
0.0
]
},
"outputs": {
"Vector List": {
"bl_idname": "SvVerticesSocket",
"name": "Vector List"
}
},
"bl_idname": "SvListInputNode"
},
"Viewer Draw.006": {
"attributes": {
"location": [
1790.4361572265625,
-1545.1744384765625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"point_size": 5
},
"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"
},
"Circle (Curve).001": {
"attributes": {
"location": [
1899.3046875,
-1793.7884521484375
],
"width": 182.9287109375
},
"properties": {
"radius": 1.399999976158142,
"t_min": -1.5700000524520874,
"t_max": 1.5700000524520874
},
"inputs": {
"Center": {
"bl_idname": "SvMatrixSocket",
"name": "Center"
},
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "radius"
}
},
"TMin": {
"bl_idname": "SvStringsSocket",
"name": "TMin",
"properties": {
"prop_name": "t_min"
}
},
"TMax": {
"bl_idname": "SvStringsSocket",
"name": "TMax",
"properties": {
"prop_name": "t_max"
}
},
"NPoints": {
"bl_idname": "SvStringsSocket",
"name": "NPoints",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "n_points"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvCircleCurveMk2Node"
},
"Marching Squares on Surface.001": {
"attributes": {
"location": [
2437.834228515625,
-1523.384765625
],
"width": 209.443115234375,
"parent": {
"type": "NODE",
"value": "Frame.001"
}
},
"properties": {
"connect_bounds": false,
"iso_value": 0.12999999523162842,
"join": false
},
"inputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
},
"Surface": {
"bl_idname": "SvSurfaceSocket",
"name": "Surface"
},
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value",
"properties": {
"prop_name": "iso_value"
}
},
"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"
},
"UVVertices": {
"bl_idname": "SvVerticesSocket",
"name": "UVVertices"
}
},
"bl_idname": "SvExMSquaresOnSurfaceNode"
},
"Cubic Spline": {
"attributes": {
"location": [
2711.4287109375,
-1620.3697509765625
]
},
"properties": {
"is_cyclic": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvExCubicSplineNode"
}
},
"links": [
{
"from_node": "Tessellate & Trim Surface",
"from_socket": "Vertices",
"to_node": "Viewer Draw.005",
"to_socket": "Vertices"
},
{
"from_node": "Tessellate & Trim Surface",
"from_socket": "Faces",
"to_node": "Viewer Draw.005",
"to_socket": "Polygons"
},
{
"from_node": "Extrude Curve Along Vector.001",
"from_socket": "Surface",
"to_node": "Tessellate & Trim Surface",
"to_socket": "Surface"
},
{
"from_node": "Cubic Spline",
"from_socket": "Curve",
"to_node": "Tessellate & Trim Surface",
"to_socket": "TrimCurve"
},
{
"from_node": "Circle (Curve).001",
"from_socket": "Curve",
"to_node": "Extrude Curve Along Vector.001",
"to_socket": "Profile"
},
{
"from_node": "Evaluate Curve",
"from_socket": "Vertices",
"to_node": "Viewer Draw.004",
"to_socket": "Vertices"
},
{
"from_node": "Evaluate Curve",
"from_socket": "Edges",
"to_node": "Viewer Draw.004",
"to_socket": "Edges"
},
{
"from_node": "Extrude Curve Along Vector.001",
"from_socket": "Surface",
"to_node": "Surface's Boundary",
"to_socket": "Surface"
},
{
"from_node": "Surface's Boundary",
"from_socket": "Boundary",
"to_node": "Evaluate Curve",
"to_socket": "Curve"
},
{
"from_node": "Segment",
"from_socket": "Verts",
"to_node": "Matrix In.005",
"to_socket": "Location"
},
{
"from_node": "List Input.001",
"from_socket": "Vector List",
"to_node": "Attractor Field.003",
"to_socket": "Center"
},
{
"from_node": "List Input.001",
"from_socket": "Vector List",
"to_node": "Viewer Draw.007",
"to_socket": "Vertices"
},
{
"from_node": "Segment",
"from_socket": "Verts",
"to_node": "Viewer Draw.006",
"to_socket": "Vertices"
},
{
"from_node": "Segment",
"from_socket": "Edges",
"to_node": "Viewer Draw.006",
"to_socket": "Edges"
},
{
"from_node": "Matrix In.005",
"from_socket": "Matrices",
"to_node": "Circle (Curve).001",
"to_socket": "Center"
},
{
"from_node": "Attractor Field.003",
"from_socket": "SField",
"to_node": "Marching Squares on Surface.001",
"to_socket": "Field"
},
{
"from_node": "Extrude Curve Along Vector.001",
"from_socket": "Surface",
"to_node": "Marching Squares on Surface.001",
"to_socket": "Surface"
},
{
"from_node": "Marching Squares on Surface.001",
"from_socket": "UVVertices",
"to_node": "Cubic Spline",
"to_socket": "Vertices"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment