Skip to content

Instantly share code, notes, and snippets.

@portnov
Created April 12, 2024 17:46
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 portnov/f765ab37e92ccdc8f0dbd9f8ded38f4a to your computer and use it in GitHub Desktop.
Save portnov/f765ab37e92ccdc8f0dbd9f8ded38f4a to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0-alpha | Blender.3.4.1 | NodeTree | 2024.04.12 | 22:46 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Marching Cubes": {
"attributes": {
"location": [
98.79039001464844,
172.26422119140625
]
},
"properties": {
"sample_size": 100,
"iso_value": 0.0
},
"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"
},
"Box": {
"attributes": {
"location": [
-308.49176025390625,
-8.79136848449707
],
"label": "Bounds",
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"Size": 8.0
},
"inputs": {
"Size": {
"bl_idname": "SvStringsSocket",
"name": "Size",
"properties": {
"prop_name": "Size"
}
},
"Divx": {
"bl_idname": "SvStringsSocket",
"name": "Divx",
"properties": {
"prop_name": "Divx"
}
},
"Divy": {
"bl_idname": "SvStringsSocket",
"name": "Divy",
"properties": {
"prop_name": "Divy"
}
},
"Divz": {
"bl_idname": "SvStringsSocket",
"name": "Divz",
"properties": {
"prop_name": "Divz"
}
},
"Matrix": {
"bl_idname": "SvMatrixSocket",
"name": "Matrix"
}
},
"outputs": {
"Vers": {
"bl_idname": "SvVerticesSocket",
"name": "Vers",
"properties": {
"description": "Box vertices"
}
},
"Edgs": {
"bl_idname": "SvStringsSocket",
"name": "Edgs"
},
"Pols": {
"bl_idname": "SvStringsSocket",
"name": "Pols"
}
},
"bl_idname": "SvBoxNodeMk2"
},
"Number Range": {
"attributes": {
"location": [
-92.64875030517578,
-68.76145935058594
]
},
"properties": {
"range_mode": "RANGE_COUNT",
"current_mode": "RANGE_COUNT",
"start_float": -0.699999988079071,
"stop_float": 0.699999988079071,
"count_": 5
},
"inputs": {
"Start": {
"bl_idname": "SvStringsSocket",
"name": "Start",
"properties": {
"prop_name": "start_float"
}
},
"Step": {
"bl_idname": "SvStringsSocket",
"name": "Step",
"properties": {
"prop_name": "stop_float",
"label": "stop"
}
},
"Stop": {
"bl_idname": "SvStringsSocket",
"name": "Stop",
"properties": {
"prop_name": "count_",
"label": "count"
}
}
},
"outputs": {
"Range": {
"bl_idname": "SvStringsSocket",
"name": "Range"
}
},
"bl_idname": "SvGenNumberRange"
},
"Mesh Viewer": {
"attributes": {
"location": [
298.7904052734375,
172.26422119140625
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"is_smooth_mesh": true
},
"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"
},
"Scalar Field Formula": {
"attributes": {
"location": [
-407.63104248046875,
168.5500030517578
],
"width": 390.1960754394531
},
"properties": {
"formula": "x*(x*cos(pi/3) + y*sin(pi/3))*(x*cos(2*pi/3) + y*sin(2*pi/3)) - cos(pi*z)"
},
"inputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
}
},
"outputs": {
"Field": {
"bl_idname": "SvScalarFieldSocket",
"name": "Field"
}
},
"bl_idname": "SvExScalarFieldFormulaNode"
}
},
"links": [
{
"from_node": "Scalar Field Formula",
"from_socket": "Field",
"to_node": "Marching Cubes",
"to_socket": "Field"
},
{
"from_node": "Box",
"from_socket": "Vers",
"to_node": "Marching Cubes",
"to_socket": "Bounds"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "Marching Cubes",
"to_socket": "Value"
},
{
"from_node": "Marching Cubes",
"from_socket": "Vertices",
"to_node": "Mesh Viewer",
"to_socket": "vertices"
},
{
"from_node": "Marching Cubes",
"from_socket": "Faces",
"to_node": "Mesh Viewer",
"to_socket": "faces"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment