Skip to content

Instantly share code, notes, and snippets.

@nortikin
Created August 1, 2024 11:02
Show Gist options
  • Save nortikin/13750fb3d986f0da600fe8f79d5776e8 to your computer and use it in GitHub Desktop.
Save nortikin/13750fb3d986f0da600fe8f79d5776e8 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0-alpha (e1bd458) | Blender.4.2.0 | shapely | 2024.08.01 | 14:02 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Component Analyzer.005": {
"attributes": {
"location": [
1800.0,
200.0
]
},
"properties": {
"mode": "Verts",
"edge_mode": "Connected_Edges_Num",
"vertex_mode": "Adjacent_edges_num"
},
"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",
"attributes": {
"hide": true
},
"properties": {
"nesting_level": 3
}
}
},
"outputs": {
"Number": {
"bl_idname": "SvStringsSocket",
"name": "Number"
},
"Faces": {
"bl_idname": "SvVerticesSocket",
"name": "Faces",
"attributes": {
"hide": true
}
},
"Mask": {
"bl_idname": "SvVerticesSocket",
"name": "Mask",
"attributes": {
"hide": true
}
}
},
"bl_idname": "SvComponentAnalyzerNode"
},
"Logic Functions": {
"attributes": {
"location": [
1980.0,
200.0
]
},
"properties": {
"function_name": "BIG"
},
"inputs": {
"A": {
"bl_idname": "SvStringsSocket",
"name": "A",
"properties": {
"use_prop": true,
"show_property_type": true,
"default_property_type": "int"
}
},
"B": {
"bl_idname": "SvStringsSocket",
"name": "B",
"properties": {
"use_prop": true,
"show_property_type": true,
"default_property_type": "int",
"default_int_property": 1
}
}
},
"outputs": {
"Result": {
"bl_idname": "SvStringsSocket",
"name": "Result"
}
},
"bl_idname": "SvLogicNodeMK2"
},
"Float to Integer": {
"attributes": {
"location": [
1980.0,
60.0
]
},
"inputs": {
"float": {
"bl_idname": "SvStringsSocket",
"name": "float"
}
},
"outputs": {
"int": {
"bl_idname": "SvStringsSocket",
"name": "int"
}
},
"bl_idname": "Float2IntNode"
},
"Offset Line.001": {
"attributes": {
"location": [
2780.0,
340.0
]
},
"inputs": {
"Vers": {
"bl_idname": "SvVerticesSocket",
"name": "Vers"
},
"Edgs": {
"bl_idname": "SvStringsSocket",
"name": "Edgs"
},
"Offset": {
"bl_idname": "SvStringsSocket",
"name": "Offset",
"properties": {
"prop_name": "offset"
}
}
},
"outputs": {
"Vers": {
"bl_idname": "SvVerticesSocket",
"name": "Vers"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"OuterEdges": {
"bl_idname": "SvStringsSocket",
"name": "OuterEdges"
},
"VersMask": {
"bl_idname": "SvStringsSocket",
"name": "VersMask"
}
},
"bl_idname": "SvOffsetLineNode"
},
"Viewer Draw.006": {
"attributes": {
"location": [
3820.0,
520.0
]
},
"properties": {
"polygon_color": [
0.14000000059604645,
0.5400000214576721,
0.8100000023841858,
0.6227601766586304
]
},
"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"
},
"Scalar Math": {
"attributes": {
"location": [
2160.0,
140.0
]
},
"properties": {
"y_": 0.5899999737739563
},
"inputs": {
"x": {
"bl_idname": "SvStringsSocket",
"name": "x",
"properties": {
"prop_name": "x_"
}
},
"y": {
"bl_idname": "SvStringsSocket",
"name": "y",
"properties": {
"prop_name": "y_"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvScalarMathNodeMK4"
},
"Smooth Numbers": {
"attributes": {
"location": [
2360.0,
140.0
]
},
"properties": {
"factor": 0.14100000262260437,
"iterations": 4
},
"inputs": {
"Values": {
"bl_idname": "SvStringsSocket",
"name": "Values"
},
"Iterations": {
"bl_idname": "SvStringsSocket",
"name": "Iterations",
"properties": {
"prop_name": "iterations"
}
},
"Factor": {
"bl_idname": "SvStringsSocket",
"name": "Factor",
"properties": {
"prop_name": "factor"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvSmoothNumbersNode"
},
"Scalar Math.001": {
"attributes": {
"location": [
2560.0,
140.0
]
},
"properties": {
"y_": 0.5899999737739563
},
"inputs": {
"x": {
"bl_idname": "SvStringsSocket",
"name": "x",
"properties": {
"prop_name": "x_"
}
},
"y": {
"bl_idname": "SvStringsSocket",
"name": "y",
"properties": {
"prop_name": "y_"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvScalarMathNodeMK4"
},
"A Number.001": {
"attributes": {
"location": [
2160.0,
-20.0
],
"label": "Factor"
},
"properties": {
"float_": 0.3399999737739563,
"float_min": 0.0,
"float_max": 1.0
},
"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"
},
"Move": {
"attributes": {
"location": [
3500.0,
20.0
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Movement Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Movement Vectors",
"properties": {
"prop_name": "movement_vectors"
}
},
"Strength": {
"bl_idname": "SvStringsSocket",
"name": "Strength",
"properties": {
"prop_name": "strength"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
}
},
"bl_idname": "SvMoveNodeMk3"
},
"Vector In.001": {
"attributes": {
"location": [
3280.0,
-60.0
],
"width": 100.0
},
"properties": {
"z_": -0.5699999928474426
},
"inputs": {
"X": {
"bl_idname": "SvStringsSocket",
"name": "X",
"properties": {
"prop_name": "x_"
}
},
"Y": {
"bl_idname": "SvStringsSocket",
"name": "Y",
"properties": {
"prop_name": "y_"
}
},
"Z": {
"bl_idname": "SvStringsSocket",
"name": "Z",
"properties": {
"prop_name": "z_"
}
}
},
"outputs": {
"Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Vectors"
}
},
"bl_idname": "GenVectorsNode"
},
"Mesh Clean": {
"attributes": {
"location": [
3060.0,
480.0
]
},
"properties": {
"remove_loose_verts": true
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"nesting_level": 3
}
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces",
"properties": {
"nesting_level": 3
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"Removed Vertices Idx": {
"bl_idname": "SvStringsSocket",
"name": "Removed Vertices Idx"
},
"Removed Edges Idx": {
"bl_idname": "SvStringsSocket",
"name": "Removed Edges Idx"
},
"Removed Faces Idx": {
"bl_idname": "SvStringsSocket",
"name": "Removed Faces Idx"
}
},
"bl_idname": "SvMeshCleanNode"
},
"UV Connection": {
"attributes": {
"location": [
3620.0,
480.0
]
},
"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"
},
"Vector Sort": {
"attributes": {
"location": [
3260.0,
460.0
]
},
"properties": {
"mode": "CONNEX"
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"PolyEdge": {
"bl_idname": "SvStringsSocket",
"name": "PolyEdge"
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"PolyEdge": {
"bl_idname": "SvStringsSocket",
"name": "PolyEdge"
},
"Item order": {
"bl_idname": "SvStringsSocket",
"name": "Item order"
}
},
"bl_idname": "SvVertSortNode"
},
"List Reverse": {
"attributes": {
"location": [
3439.999267578125,
400.0
]
},
"inputs": {
"data": {
"bl_idname": "SvStringsSocket",
"name": "data"
}
},
"outputs": {
"data_001": {
"bl_idname": "SvVerticesSocket",
"name": "data"
}
},
"bl_idname": "ListReverseNode"
},
"Reroute": {
"attributes": {
"location": [
1726.953857421875,
138.6705780029297
],
"width": 16.0
},
"inputs": {
"Input": {
"bl_idname": "NodeSocketColor",
"name": "Input"
}
},
"outputs": {
"Output": {
"bl_idname": "NodeSocketColor",
"name": "Output"
}
},
"bl_idname": "NodeReroute"
},
"Reroute.001": {
"attributes": {
"location": [
1726.953857421875,
116.67057800292969
],
"width": 16.0
},
"inputs": {
"Input": {
"bl_idname": "NodeSocketColor",
"name": "Input"
}
},
"outputs": {
"Output": {
"bl_idname": "NodeSocketColor",
"name": "Output"
}
},
"bl_idname": "NodeReroute"
},
"Viewer Draw.007": {
"attributes": {
"location": [
3800.0,
60.0
]
},
"properties": {
"edge_color": [
0.8999813795089722,
0.25539353489875793,
0.05920922011137009,
1.0
],
"line_width": 2,
"vector_color": [
0.4546832740306854,
0.1331154704093933,
0.032861776649951935,
1.0
],
"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"
},
"Get Objects Data.001": {
"attributes": {
"location": [
1400.0,
387.98052978515625
],
"width": 225.0,
"color": [
0.7882353067398071,
1.0,
0.872941255569458
],
"use_custom_color": true
},
"properties": {
"object_names": [
{
"name": "Plane.003",
"icon": "OUTLINER_OB_MESH"
}
]
},
"inputs": {
"objects": {
"bl_idname": "SvObjectSocket",
"name": "objects",
"properties": {
"label": "Objects"
}
}
},
"outputs": {
"vertices": {
"bl_idname": "SvVerticesSocket",
"name": "vertices",
"properties": {
"label": "Vertices",
"custom_draw": "draw_vertices_out_socket"
}
},
"edges": {
"bl_idname": "SvStringsSocket",
"name": "edges",
"properties": {
"label": "Edges",
"custom_draw": "draw_edges_out_socket"
}
},
"polygons": {
"bl_idname": "SvStringsSocket",
"name": "polygons",
"properties": {
"label": "Polygons",
"custom_draw": "draw_polygons_out_socket"
}
},
"vertices_select": {
"bl_idname": "SvStringsSocket",
"name": "vertices_select",
"attributes": {
"hide": true
},
"properties": {
"label": "(*) Vertices Select"
}
},
"vertices_crease": {
"bl_idname": "SvStringsSocket",
"name": "vertices_crease",
"attributes": {
"hide": true
},
"properties": {
"label": "(*) Vertices Crease"
}
},
"vertices_bevel_weight": {
"bl_idname": "SvStringsSocket",
"name": "vertices_bevel_weight",
"attributes": {
"hide": true
},
"properties": {
"label": "(*) Vertices Bevel Weight"
}
},
"edges_select": {
"bl_idname": "SvStringsSocket",
"name": "edges_select",
"attributes": {
"hide": true
},
"properties": {
"label": "(|) Edges Select"
}
},
"edges_crease": {
"bl_idname": "SvStringsSocket",
"name": "edges_crease",
"attributes": {
"hide": true
},
"properties": {
"label": "(|) Edges Crease"
}
},
"edges_seams": {
"bl_idname": "SvStringsSocket",
"name": "edges_seams",
"attributes": {
"hide": true
},
"properties": {
"label": "(|) Edges Seam"
}
},
"edges_sharps": {
"bl_idname": "SvStringsSocket",
"name": "edges_sharps",
"attributes": {
"hide": true
},
"properties": {
"label": "(|) Edges Sharp"
}
},
"edges_bevel_weight": {
"bl_idname": "SvStringsSocket",
"name": "edges_bevel_weight",
"attributes": {
"hide": true
},
"properties": {
"label": "(|) Edges Bevel Weight"
}
},
"polygon_selects": {
"bl_idname": "SvStringsSocket",
"name": "polygon_selects",
"attributes": {
"hide": true
},
"properties": {
"label": "(+) Polygons Select"
}
},
"polygon_smooth": {
"bl_idname": "SvStringsSocket",
"name": "polygon_smooth",
"attributes": {
"hide": true
},
"properties": {
"label": "(+) Polygons Smooth"
}
},
"vertex_normals": {
"bl_idname": "SvVerticesSocket",
"name": "vertex_normals",
"properties": {
"label": "Vertex Normals"
}
},
"material_idx": {
"bl_idname": "SvStringsSocket",
"name": "material_idx",
"properties": {
"label": "Material Idx"
}
},
"polygon_areas": {
"bl_idname": "SvStringsSocket",
"name": "polygon_areas",
"properties": {
"label": "Polygon Areas"
}
},
"polygon_centers": {
"bl_idname": "SvVerticesSocket",
"name": "polygon_centers",
"properties": {
"label": "Polygon Centers"
}
},
"polygon_normals": {
"bl_idname": "SvVerticesSocket",
"name": "polygon_normals",
"properties": {
"label": "Polygon Normals"
}
},
"matrix": {
"bl_idname": "SvMatrixSocket",
"name": "matrix",
"properties": {
"label": "Matrix"
}
},
"object": {
"bl_idname": "SvObjectSocket",
"name": "object",
"properties": {
"label": "Object"
}
}
},
"bl_idname": "SvGetObjectsDataMK3"
},
"Embed Mesh.001": {
"attributes": {
"location": [
4120.0,
320.0
],
"color": [
0.800000011920929,
0.0,
0.0
],
"use_custom_color": true
},
"inputs": {
"VertsA": {
"bl_idname": "SvVerticesSocket",
"name": "VertsA"
},
"EdgesA": {
"bl_idname": "SvStringsSocket",
"name": "EdgesA"
},
"FacesA": {
"bl_idname": "SvStringsSocket",
"name": "FacesA"
},
"VertsB": {
"bl_idname": "SvVerticesSocket",
"name": "VertsB"
},
"EdgesB": {
"bl_idname": "SvStringsSocket",
"name": "EdgesB"
},
"FacesB": {
"bl_idname": "SvStringsSocket",
"name": "FacesB"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index"
}
},
"outputs": {
"Verts": {
"bl_idname": "SvVerticesSocket",
"name": "Verts"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Faces": {
"bl_idname": "SvStringsSocket",
"name": "Faces"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index"
}
},
"bl_idname": "SvEmbedMesh"
},
"Scalar Math.002": {
"attributes": {
"location": [
3120.0,
-60.0
]
},
"properties": {
"current_op": "NEG"
},
"inputs": {
"x": {
"bl_idname": "SvStringsSocket",
"name": "x",
"properties": {
"prop_name": "x_"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvScalarMathNodeMK4"
}
},
"links": [
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "Component Analyzer.005",
"to_socket": "Vertices"
},
{
"from_node": "Reroute.001",
"from_socket": "Output",
"to_node": "Component Analyzer.005",
"to_socket": "Edges"
},
{
"from_node": "Component Analyzer.005",
"from_socket": "Number",
"to_node": "Logic Functions",
"to_socket": "A"
},
{
"from_node": "Logic Functions",
"from_socket": "Result",
"to_node": "Float to Integer",
"to_socket": "float"
},
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "Offset Line.001",
"to_socket": "Vers"
},
{
"from_node": "Reroute.001",
"from_socket": "Output",
"to_node": "Offset Line.001",
"to_socket": "Edgs"
},
{
"from_node": "Scalar Math.001",
"from_socket": "Out",
"to_node": "Offset Line.001",
"to_socket": "Offset"
},
{
"from_node": "UV Connection",
"from_socket": "vertices",
"to_node": "Viewer Draw.006",
"to_socket": "Vertices"
},
{
"from_node": "UV Connection",
"from_socket": "data",
"to_node": "Viewer Draw.006",
"to_socket": "Polygons"
},
{
"from_node": "Float to Integer",
"from_socket": "int",
"to_node": "Scalar Math",
"to_socket": "x"
},
{
"from_node": "Scalar Math",
"from_socket": "Out",
"to_node": "Smooth Numbers",
"to_socket": "Values"
},
{
"from_node": "A Number.001",
"from_socket": "Float_001",
"to_node": "Smooth Numbers",
"to_socket": "Factor"
},
{
"from_node": "Smooth Numbers",
"from_socket": "Out",
"to_node": "Scalar Math.001",
"to_socket": "x"
},
{
"from_node": "Float to Integer",
"from_socket": "int",
"to_node": "Scalar Math.001",
"to_socket": "y"
},
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "Move",
"to_socket": "Vertices"
},
{
"from_node": "Vector In.001",
"from_socket": "Vectors",
"to_node": "Move",
"to_socket": "Movement Vectors"
},
{
"from_node": "Float to Integer",
"from_socket": "int",
"to_node": "Move",
"to_socket": "Strength"
},
{
"from_node": "Scalar Math.002",
"from_socket": "Out",
"to_node": "Vector In.001",
"to_socket": "Z"
},
{
"from_node": "Offset Line.001",
"from_socket": "Vers",
"to_node": "Mesh Clean",
"to_socket": "Vertices"
},
{
"from_node": "Offset Line.001",
"from_socket": "OuterEdges",
"to_node": "Mesh Clean",
"to_socket": "Edges"
},
{
"from_node": "List Reverse",
"from_socket": "data_001",
"to_node": "UV Connection",
"to_socket": "vertices"
},
{
"from_node": "Mesh Clean",
"from_socket": "Vertices",
"to_node": "Vector Sort",
"to_socket": "Vertices"
},
{
"from_node": "Mesh Clean",
"from_socket": "Edges",
"to_node": "Vector Sort",
"to_socket": "PolyEdge"
},
{
"from_node": "Vector Sort",
"from_socket": "Vertices",
"to_node": "List Reverse",
"to_socket": "data"
},
{
"from_node": "Get Objects Data.001",
"from_socket": "vertices",
"to_node": "Reroute",
"to_socket": "Input"
},
{
"from_node": "Get Objects Data.001",
"from_socket": "edges",
"to_node": "Reroute.001",
"to_socket": "Input"
},
{
"from_node": "Move",
"from_socket": "Vertices",
"to_node": "Viewer Draw.007",
"to_socket": "Vertices"
},
{
"from_node": "Reroute.001",
"from_socket": "Output",
"to_node": "Viewer Draw.007",
"to_socket": "Edges"
},
{
"from_node": "UV Connection",
"from_socket": "vertices",
"to_node": "Embed Mesh.001",
"to_socket": "VertsA"
},
{
"from_node": "UV Connection",
"from_socket": "data",
"to_node": "Embed Mesh.001",
"to_socket": "FacesA"
},
{
"from_node": "Move",
"from_socket": "Vertices",
"to_node": "Embed Mesh.001",
"to_socket": "VertsB"
},
{
"from_node": "Reroute.001",
"from_socket": "Output",
"to_node": "Embed Mesh.001",
"to_socket": "EdgesB"
},
{
"from_node": "Scalar Math.001",
"from_socket": "Out",
"to_node": "Scalar Math.002",
"to_socket": "x"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment