Skip to content

Instantly share code, notes, and snippets.

@portnov
Created November 15, 2024 09:01
Show Gist options
  • Save portnov/6018c87b0d9e901c03784c8fd6116b04 to your computer and use it in GitHub Desktop.
Save portnov/6018c87b0d9e901c03784c8fd6116b04 to your computer and use it in GitHub Desktop.
Sverchok.v1.3.0 | Blender.4.2.3LTS | NodeTree | 2024.11.15 | 14:01 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Circle (Curve)": {
"attributes": {
"location": [
-437.3045654296875,
123.40998840332031
],
"width": 158.62164306640625
},
"properties": {
"curve_mode": "NURBS",
"radius": 3.0
},
"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",
"properties": {
"prop_name": "n_points"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve",
"properties": {
"reparametrize": true
}
}
},
"bl_idname": "SvCircleCurveMk2Node"
},
"Move NURBS Curve Point": {
"attributes": {
"location": [
-89.46279907226562,
61.826393127441406
],
"width": 216.751220703125
},
"properties": {
"t_value": 0.0,
"method": "MOVE_CPTS",
"vector_mode": "ABS"
},
"inputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"T": {
"bl_idname": "SvStringsSocket",
"name": "T",
"properties": {
"prop_name": "t_value"
}
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "idx"
}
},
"Distance": {
"bl_idname": "SvStringsSocket",
"name": "Distance",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "distance"
}
},
"Vector": {
"bl_idname": "SvVerticesSocket",
"name": "Vector",
"properties": {
"use_prop": true,
"prop": [
1.0,
0.0,
0.0
],
"label": "Point"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvNurbsCurveMovePointNode"
},
"Get Objects Data": {
"attributes": {
"location": [
-824.0426025390625,
52.315582275390625
],
"width": 225.0,
"color": [
0.0,
0.5,
0.20000000298023224
],
"use_custom_color": true
},
"properties": {
"object_names": [
{
"name": "Empty",
"icon": "OUTLINER_OB_EMPTY"
}
]
},
"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"
},
"Get Objects Data.001": {
"attributes": {
"location": [
-535.6727294921875,
-156.12228393554688
],
"width": 225.0,
"color": [
0.0,
0.5,
0.20000000298023224
],
"use_custom_color": true
},
"properties": {
"object_names": [
{
"name": "Empty.001",
"icon": "OUTLINER_OB_EMPTY"
}
]
},
"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"
},
"Move NURBS Curve Point.001": {
"attributes": {
"location": [
266.5108642578125,
40.40357971191406
],
"width": 216.751220703125
},
"properties": {
"t_value": 1.0,
"method": "MOVE_CPTS",
"vector_mode": "ABS"
},
"inputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"T": {
"bl_idname": "SvStringsSocket",
"name": "T",
"properties": {
"prop_name": "t_value"
}
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "idx"
}
},
"Distance": {
"bl_idname": "SvStringsSocket",
"name": "Distance",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "distance"
}
},
"Vector": {
"bl_idname": "SvVerticesSocket",
"name": "Vector",
"properties": {
"use_prop": true,
"prop": [
1.0,
0.0,
0.0
],
"label": "Point"
}
}
},
"outputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
}
},
"bl_idname": "SvNurbsCurveMovePointNode"
},
"Viewer Draw Curve": {
"attributes": {
"location": [
543.2620849609375,
40.40357971191406
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"properties": {
"line_color": [
0.0,
0.06277695298194885,
1.0,
1.0
],
"comb_color": [
0.7445480227470398,
0.43838220834732056,
0.0,
0.7405171394348145
],
"control_polygon_color": [
0.023192498832941055,
0.6177791357040405,
0.41069942712783813,
1.0
],
"verts_color": [
0.0,
0.8049903512001038,
0.7719917297363281,
1.0
],
"arrows_color": [
0.04119928926229477,
0.6374202370643616,
0.48610028624534607,
1.0
],
"resolution": 100,
"control_points_color": [
0.015343744307756424,
0.3374054431915283,
0.025069717317819595,
1.0
]
},
"inputs": {
"Curve": {
"bl_idname": "SvCurveSocket",
"name": "Curve"
},
"Resolution": {
"bl_idname": "SvStringsSocket",
"name": "Resolution",
"properties": {
"prop_name": "resolution"
}
}
},
"bl_idname": "SvCurveViewerDrawNode"
}
},
"links": [
{
"from_node": "Circle (Curve)",
"from_socket": "Curve",
"to_node": "Move NURBS Curve Point",
"to_socket": "Curve"
},
{
"from_node": "Get Objects Data",
"from_socket": "matrix",
"to_node": "Move NURBS Curve Point",
"to_socket": "Vector"
},
{
"from_node": "Move NURBS Curve Point",
"from_socket": "Curve",
"to_node": "Move NURBS Curve Point.001",
"to_socket": "Curve"
},
{
"from_node": "Get Objects Data.001",
"from_socket": "matrix",
"to_node": "Move NURBS Curve Point.001",
"to_socket": "Vector"
},
{
"from_node": "Move NURBS Curve Point.001",
"from_socket": "Curve",
"to_node": "Viewer Draw Curve",
"to_socket": "Curve"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment