Skip to content

Instantly share code, notes, and snippets.

@portnov
Created January 13, 2023 16:09
Show Gist options
  • Save portnov/0ab3b4882dd62cb37a8f62d4b10a58f9 to your computer and use it in GitHub Desktop.
Save portnov/0ab3b4882dd62cb37a8f62d4b10a58f9 to your computer and use it in GitHub Desktop.
Sverchok.v1.2.0-alpha | Blender.3.4.0 | NodeTree | 2023.01.13 | 21:09 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"A Number": {
"attributes": {
"location": [
-113.16841125488281,
215.54180908203125
],
"label": "Value"
},
"properties": {
"float_": 0.4300000071525574
},
"inputs": {
"Float": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"prop_name": "float_"
}
}
},
"outputs": {
"Float_001": {
"bl_idname": "SvStringsSocket",
"name": "Float",
"properties": {
"custom_draw": "mode_custom_draw"
}
}
},
"bl_idname": "SvNumberNode"
},
"NGon": {
"attributes": {
"location": [
-317.2138671875,
68.55603790283203
]
},
"properties": {
"rad_": 1.1700000762939453
},
"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"
},
"Attractor Field": {
"attributes": {
"location": [
-90.88567352294922,
110.45148468017578
]
},
"properties": {
"falloff_type": "inverse_square"
},
"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"
},
"Marching Cubes": {
"attributes": {
"location": [
185.3665008544922,
462.5158996582031
]
},
"properties": {
"iso_value": 0.4000000059604645
},
"inputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
},
"Bounds": {
"bl_idname": "SvVerticesSocket",
"name": "Bounds",
"properties": {
"link_menu_handler": "BoundsMenuHandler"
}
},
"Value": {
"bl_idname": "SvStringsSocket",
"name": "Value",
"properties": {
"prop_name": "iso_value"
}
},
"Samples": {
"bl_idname": "SvStringsSocket",
"name": "Samples",
"properties": {
"prop_name": "sample_size"
}
},
"SamplesX": {
"bl_idname": "SvStringsSocket",
"name": "SamplesX",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "samples_x"
}
},
"SamplesY": {
"bl_idname": "SvStringsSocket",
"name": "SamplesY",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "samples_y"
}
},
"SamplesZ": {
"bl_idname": "SvStringsSocket",
"name": "SamplesZ",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "samples_z"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"VertexNormals": {
"bl_idname": "SvVerticesSocket",
"name": "VertexNormals"
}
},
"bl_idname": "SvExMarchingCubesNode"
},
"Viewer Draw": {
"attributes": {
"location": [
429.1028137207031,
548.641845703125
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.0,
0.5516777038574219,
0.6358377933502197,
1.0
],
"selected_draw_mode": "facet",
"display_verts": false,
"activate": false,
"display_edges": 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"
},
"Viewer Draw.001": {
"attributes": {
"location": [
296.7448425292969,
-343.2180480957031
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.20188450813293457,
0.05592173710465431,
0.34567737579345703,
1.0
],
"selected_draw_mode": "facet",
"display_faces": false,
"display_verts": false,
"vector_color": [
0.6794177889823914,
0.13499195873737335,
0.11435295641422272,
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"
},
"Torus": {
"attributes": {
"location": [
-113.6541976928711,
-157.81369018554688
],
"width": 175.0
},
"properties": {
"torus_r": 0.7899998426437378,
"torus_eR": 1.9199998378753662,
"torus_iR": 0.3400001525878906,
"torus_n1": 120,
"torus_n2": 50,
"torus_R": 1.1299999952316284
},
"inputs": {
"R": {
"bl_idname": "SvStringsSocket",
"name": "R",
"properties": {
"prop_name": "torus_R"
}
},
"r": {
"bl_idname": "SvStringsSocket",
"name": "r",
"properties": {
"prop_name": "torus_r"
}
},
"n1": {
"bl_idname": "SvStringsSocket",
"name": "n1",
"properties": {
"prop_name": "torus_n1"
}
},
"n2": {
"bl_idname": "SvStringsSocket",
"name": "n2",
"properties": {
"prop_name": "torus_n2"
}
},
"rP": {
"bl_idname": "SvStringsSocket",
"name": "rP",
"properties": {
"prop_name": "torus_rP"
}
},
"sP": {
"bl_idname": "SvStringsSocket",
"name": "sP",
"properties": {
"prop_name": "torus_sP"
}
},
"rE": {
"bl_idname": "SvStringsSocket",
"name": "rE",
"properties": {
"prop_name": "torus_rE"
}
},
"sE": {
"bl_idname": "SvStringsSocket",
"name": "sE",
"properties": {
"prop_name": "torus_sE"
}
},
"sT": {
"bl_idname": "SvStringsSocket",
"name": "sT",
"properties": {
"prop_name": "torus_sT"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
},
"Normals": {
"bl_idname": "SvVerticesSocket",
"name": "Normals"
}
},
"bl_idname": "SvTorusNodeMK2"
},
"Viewer Draw.002": {
"attributes": {
"location": [
456.6208801269531,
13.700102806091309
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"edge_color": [
0.34567737579345703,
0.05857487767934799,
0.03564987704157829,
1.0
],
"selected_draw_mode": "facet",
"vector_color": [
0.6794177889823914,
0.13499195873737335,
0.11435295641422272,
1.0
],
"polygon_color": [
0.8100003600120544,
0.45305779576301575,
0.6328801512718201,
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"
},
"Implicit Surface Wrap": {
"attributes": {
"location": [
229.24349975585938,
113.75674438476562
],
"width": 190.21273803710938
},
"properties": {
"step": 0.5,
"maxiter": 72,
"accuracy": 3
},
"inputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
},
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"use_prop": true
}
},
"IsoValue": {
"bl_idname": "SvStringsSocket",
"name": "IsoValue",
"properties": {
"prop_name": "iso_value"
}
},
"Step": {
"bl_idname": "SvStringsSocket",
"name": "Step",
"properties": {
"prop_name": "step"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvExImplSurfaceSolverNode"
}
},
"links": [
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Attractor Field",
"to_socket": "Center"
},
{
"from_node": "Attractor Field",
"from_socket": "SField",
"to_node": "Marching Cubes",
"to_socket": "Field"
},
{
"from_node": "Torus",
"from_socket": "Vertices",
"to_node": "Marching Cubes",
"to_socket": "Bounds"
},
{
"from_node": "A Number",
"from_socket": "Float_001",
"to_node": "Marching Cubes",
"to_socket": "Value"
},
{
"from_node": "Marching Cubes",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "Marching Cubes",
"from_socket": "Faces",
"to_node": "Viewer Draw",
"to_socket": "Polygons"
},
{
"from_node": "Torus",
"from_socket": "Vertices",
"to_node": "Viewer Draw.001",
"to_socket": "Vertices"
},
{
"from_node": "Torus",
"from_socket": "Edges",
"to_node": "Viewer Draw.001",
"to_socket": "Edges"
},
{
"from_node": "Torus",
"from_socket": "Polygons",
"to_node": "Viewer Draw.001",
"to_socket": "Polygons"
},
{
"from_node": "Implicit Surface Wrap",
"from_socket": "Vertices",
"to_node": "Viewer Draw.002",
"to_socket": "Vertices"
},
{
"from_node": "Torus",
"from_socket": "Polygons",
"to_node": "Viewer Draw.002",
"to_socket": "Polygons"
},
{
"from_node": "Attractor Field",
"from_socket": "SField",
"to_node": "Implicit Surface Wrap",
"to_socket": "Field"
},
{
"from_node": "Torus",
"from_socket": "Vertices",
"to_node": "Implicit Surface Wrap",
"to_socket": "Vertices"
},
{
"from_node": "A Number",
"from_socket": "Float_001",
"to_node": "Implicit Surface Wrap",
"to_socket": "IsoValue"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment