Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created October 10, 2024 13:19
Show Gist options
  • Save nortikin/7d0a4baf42991ebd03f98801f9effdea to your computer and use it in GitHub Desktop.
Save nortikin/7d0a4baf42991ebd03f98801f9effdea to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0 (ff02e7d) | Blender.4.2.0 | Sverchok Nodes | 2024.10.10 | 16:19 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"NGon": {
"attributes": {
"location": [
1780.0,
180.0
]
},
"properties": {
"sides_": 36
},
"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"
},
"Move": {
"attributes": {
"location": [
2320.0,
80.0
]
},
"properties": {
"movement_vectors": [
-1.679999828338623,
0.0,
0.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Movement Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Movement Vectors",
"properties": {
"prop_name": "movement_vectors",
"expanded": true
}
},
"Strength": {
"bl_idname": "SvStringsSocket",
"name": "Strength",
"properties": {
"prop_name": "strength"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvMoveNodeMk3"
},
"Viewer Draw.001": {
"attributes": {
"location": [
1780.0,
260.0
],
"hide": true
},
"properties": {
"display_faces": false,
"display_verts": false,
"activate": false,
"line_width": 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"
},
"Viewer Draw.002": {
"attributes": {
"location": [
2320.0,
140.0
],
"hide": true
},
"properties": {
"display_verts": false,
"display_faces": false,
"activate": false,
"line_width": 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"
},
"Viewer Draw.005": {
"attributes": {
"location": [
3900.0,
300.0
]
},
"properties": {
"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"
},
"2D Boolean": {
"attributes": {
"location": [
3040.0,
260.0
]
},
"inputs": {
"Geometry1": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry1"
},
"Geometry2": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry2"
},
"Geometries": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometries",
"attributes": {
"hide": true
}
}
},
"outputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry"
}
},
"bl_idname": "SvExShapelyBooleanNode"
},
"Mesh to 2D Geometry": {
"attributes": {
"location": [
2820.0,
320.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"outputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry"
}
},
"bl_idname": "SvExShapelyFromMeshNode"
},
"Mesh to 2D Geometry.001": {
"attributes": {
"location": [
2800.0,
140.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"outputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry"
}
},
"bl_idname": "SvExShapelyFromMeshNode"
},
"2D Geometry to Mesh": {
"attributes": {
"location": [
3300.0,
280.0
]
},
"inputs": {
"Geometry": {
"bl_idname": "SvGeom2DSocket",
"name": "Geometry"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"bl_idname": "SvExShapelyTriangulateNode"
},
"NGon.001": {
"attributes": {
"location": [
1780.0,
-140.0
]
},
"properties": {
"sides_": 3,
"rad_": 1.3900001049041748
},
"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"
},
"Component Analyzer": {
"attributes": {
"location": [
3500.0,
300.0
]
},
"properties": {
"mode": "Edges",
"edge_mode": "Is_Boundary"
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"nesting_level": 3,
"is_mandatory": true
}
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"properties": {
"nesting_level": 3,
"is_mandatory": true
}
}
},
"outputs": {
"Mask_001": {
"bl_idname": "SvStringsSocket",
"name": "Mask"
},
"True Edges": {
"bl_idname": "SvStringsSocket",
"name": "True Edges"
},
"False Edges": {
"bl_idname": "SvStringsSocket",
"name": "False Edges"
}
},
"bl_idname": "SvComponentAnalyzerNode"
},
"Planar Edgenet to Polygons": {
"attributes": {
"location": [
3700.0,
180.0
]
},
"inputs": {
"Vers": {
"bl_idname": "SvVerticesSocket",
"name": "Vers"
},
"Edgs": {
"bl_idname": "SvStringsSocket",
"name": "Edgs"
}
},
"outputs": {
"Vers": {
"bl_idname": "SvVerticesSocket",
"name": "Vers"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
}
},
"bl_idname": "SvPlanarEdgenetToPolygons"
}
},
"links": [
{
"from_node": "NGon.001",
"from_socket": "Vertices",
"to_node": "Move",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Viewer Draw.001",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Viewer Draw.001",
"to_socket": "Edges"
},
{
"from_node": "Move",
"from_socket": "Vertices",
"to_node": "Viewer Draw.002",
"to_socket": "Vertices"
},
{
"from_node": "NGon.001",
"from_socket": "Edges",
"to_node": "Viewer Draw.002",
"to_socket": "Edges"
},
{
"from_node": "Planar Edgenet to Polygons",
"from_socket": "Vers",
"to_node": "Viewer Draw.005",
"to_socket": "Vertices"
},
{
"from_node": "Component Analyzer",
"from_socket": "True Edges",
"to_node": "Viewer Draw.005",
"to_socket": "Edges"
},
{
"from_node": "Planar Edgenet to Polygons",
"from_socket": "Faces",
"to_node": "Viewer Draw.005",
"to_socket": "Polygons"
},
{
"from_node": "Mesh to 2D Geometry",
"from_socket": "Geometry",
"to_node": "2D Boolean",
"to_socket": "Geometry1"
},
{
"from_node": "Mesh to 2D Geometry.001",
"from_socket": "Geometry",
"to_node": "2D Boolean",
"to_socket": "Geometry2"
},
{
"from_node": "NGon",
"from_socket": "Vertices",
"to_node": "Mesh to 2D Geometry",
"to_socket": "Vertices"
},
{
"from_node": "NGon",
"from_socket": "Edges",
"to_node": "Mesh to 2D Geometry",
"to_socket": "Edges"
},
{
"from_node": "NGon",
"from_socket": "Polygons",
"to_node": "Mesh to 2D Geometry",
"to_socket": "Faces"
},
{
"from_node": "Move",
"from_socket": "Vertices",
"to_node": "Mesh to 2D Geometry.001",
"to_socket": "Vertices"
},
{
"from_node": "NGon.001",
"from_socket": "Edges",
"to_node": "Mesh to 2D Geometry.001",
"to_socket": "Edges"
},
{
"from_node": "NGon.001",
"from_socket": "Polygons",
"to_node": "Mesh to 2D Geometry.001",
"to_socket": "Faces"
},
{
"from_node": "2D Boolean",
"from_socket": "Geometry",
"to_node": "2D Geometry to Mesh",
"to_socket": "Geometry"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Vertices",
"to_node": "Component Analyzer",
"to_socket": "Vertices"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Edges",
"to_node": "Component Analyzer",
"to_socket": "Edges"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Faces",
"to_node": "Component Analyzer",
"to_socket": "Faces"
},
{
"from_node": "2D Geometry to Mesh",
"from_socket": "Vertices",
"to_node": "Planar Edgenet to Polygons",
"to_socket": "Vers"
},
{
"from_node": "Component Analyzer",
"from_socket": "True Edges",
"to_node": "Planar Edgenet to Polygons",
"to_socket": "Edgs"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment