Skip to content

Instantly share code, notes, and snippets.

@ken26u
Created December 21, 2021 05:49
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 ken26u/c1eef25945cb8a4f8838804e913401c5 to your computer and use it in GitHub Desktop.
Save ken26u/c1eef25945cb8a4f8838804e913401c5 to your computer and use it in GitHub Desktop.
Sverchok.1.0.0 | Blender.3.0.0 | PlaceAlongCircle | 2021.12.21 | 14:49 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Temporal Viewer": {
"attributes": {
"location": [
846.067138671875,
666.530517578125
],
"label": "Temporal Viewer",
"color": [
0.6661409735679626,
0.20302200317382812,
0.0
],
"use_custom_color": true
},
"properties": {
"polygon_use_vertex_color": true
},
"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"
},
"Matrix In": {
"attributes": {
"location": [
673.5987548828125,
538.7312622070312
]
},
"properties": {
"angle": 90.0
},
"inputs": {
"Location": {
"bl_idname": "SvVerticesSocket",
"name": "Location",
"properties": {
"prop_name": "location_"
}
},
"Scale": {
"bl_idname": "SvVerticesSocket",
"name": "Scale",
"properties": {
"prop_name": "scale"
}
},
"Quaternion": {
"bl_idname": "SvQuaternionSocket",
"name": "Quaternion",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "quaternion"
}
},
"Angle X": {
"bl_idname": "SvStringsSocket",
"name": "Angle X",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "angle_x"
}
},
"Angle Y": {
"bl_idname": "SvStringsSocket",
"name": "Angle Y",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "angle_y"
}
},
"Angle Z": {
"bl_idname": "SvStringsSocket",
"name": "Angle Z",
"attributes": {
"hide": true
},
"properties": {
"prop_name": "angle_z"
}
},
"Axis": {
"bl_idname": "SvVerticesSocket",
"name": "Axis",
"properties": {
"prop_name": "axis",
"expanded": true
}
},
"Angle": {
"bl_idname": "SvStringsSocket",
"name": "Angle",
"properties": {
"prop_name": "angle"
}
}
},
"outputs": {
"Matrices": {
"bl_idname": "SvMatrixSocket",
"name": "Matrices"
}
},
"bl_idname": "SvMatrixInNodeMK4"
},
"Scalar Math.001": {
"attributes": {
"location": [
441.4851989746094,
371.15087890625
]
},
"properties": {
"current_op": "DEGREES"
},
"inputs": {
"x": {
"bl_idname": "SvStringsSocket",
"name": "x",
"properties": {
"prop_name": "x_"
}
}
},
"outputs": {
"Out": {
"bl_idname": "SvStringsSocket",
"name": "Out"
}
},
"bl_idname": "SvScalarMathNodeMK4"
},
"Scalar Math": {
"attributes": {
"location": [
67.7322998046875,
394.67340087890625
]
},
"properties": {
"current_op": "ATAN2"
},
"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"
},
"Scalar Math.002": {
"attributes": {
"location": [
233.25143432617188,
378.63531494140625
]
},
"properties": {
"current_op": "SUB",
"y_": -1.5707963705062866
},
"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"
},
"Vector out": {
"attributes": {
"location": [
-79.81689453125,
387.94482421875
],
"width": 100.0
},
"inputs": {
"Vectors": {
"bl_idname": "SvVerticesSocket",
"name": "Vectors"
}
},
"outputs": {
"X": {
"bl_idname": "SvStringsSocket",
"name": "X"
},
"Y": {
"bl_idname": "SvStringsSocket",
"name": "Y"
},
"Z": {
"bl_idname": "SvStringsSocket",
"name": "Z"
}
},
"bl_idname": "VectorsOutNode"
},
"Reroute": {
"attributes": {
"location": [
-131.86749267578125,
460.0767822265625
],
"width": 16.0
},
"inputs": {
"Input": {
"bl_idname": "NodeSocketColor",
"name": "Input"
}
},
"outputs": {
"Output": {
"bl_idname": "NodeSocketColor",
"name": "Output"
}
},
"bl_idname": "NodeReroute"
},
"Circle": {
"attributes": {
"location": [
-1120.6490478515625,
458.77581787109375
],
"color": [
0.0,
0.5,
0.5
],
"use_custom_color": true
},
"properties": {
"rad_": 6.529000282287598,
"vert_": 128
},
"inputs": {
"Radius": {
"bl_idname": "SvStringsSocket",
"name": "Radius",
"properties": {
"prop_name": "rad_"
}
},
"num Verts": {
"bl_idname": "SvStringsSocket",
"name": "num Verts",
"properties": {
"prop_name": "vert_"
}
},
"Degrees": {
"bl_idname": "SvStringsSocket",
"name": "Degrees",
"properties": {
"prop_name": "degr_"
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvCircleNode"
},
"A Number": {
"attributes": {
"location": [
-1011.1192016601562,
75.75752258300781
]
},
"properties": {
"int_": 10,
"selected_mode": "int"
},
"inputs": {
"Int": {
"bl_idname": "SvStringsSocket",
"name": "Int",
"properties": {
"prop_name": "int_"
}
}
},
"outputs": {
"Int": {
"bl_idname": "SvStringsSocket",
"name": "Int",
"properties": {
"custom_draw": "mode_custom_draw"
}
}
},
"bl_idname": "SvNumberNode"
},
"Mesh Join": {
"attributes": {
"location": [
440.811767578125,
670.0011596679688
]
},
"inputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices",
"properties": {
"is_mandatory": true,
"default_mode": "NONE"
}
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges",
"properties": {
"nesting_level": 3
}
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons",
"properties": {
"nesting_level": 3
}
}
},
"outputs": {
"Vertices": {
"bl_idname": "SvVerticesSocket",
"name": "Vertices"
},
"Edges": {
"bl_idname": "SvStringsSocket",
"name": "Edges"
},
"Polygons": {
"bl_idname": "SvStringsSocket",
"name": "Polygons"
}
},
"bl_idname": "SvMeshJoinNodeMk2"
},
"Object ID Selector+": {
"attributes": {
"location": [
185.879638671875,
728.2962036132812
],
"width": 210.0
},
"properties": {
"Type": "GPENCIL",
"Mode": "grease_pencils",
"gp_layer": "GP_Layer",
"gp_selected_frame_mode": "active_frame",
"frame_collection_name": [
{
"name": "0 | 1"
}
]
},
"inputs": {
"frame#": {
"bl_idname": "SvStringsSocket",
"name": "frame#"
}
},
"outputs": {
"Objects": {
"bl_idname": "SvStringsSocket",
"name": "Objects"
}
},
"bl_idname": "SvGetAssetPropertiesMK2"
},
"Viewer Draw": {
"attributes": {
"location": [
852.763671875,
403.7613830566406
],
"color": [
1.0,
0.5889999866485596,
0.21400000154972076
],
"use_custom_color": true
},
"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"
},
"Number Range": {
"attributes": {
"location": [
-545.5269165039062,
359.6835021972656
]
},
"properties": {
"range_mode": "RANGE_STEP",
"current_mode": "RANGE_STEP",
"number_mode": "int",
"step_int": 4
},
"inputs": {
"Start": {
"bl_idname": "SvStringsSocket",
"name": "Start",
"properties": {
"prop_name": "start_int"
}
},
"Step": {
"bl_idname": "SvStringsSocket",
"name": "Step",
"properties": {
"prop_name": "step_int",
"label": "step"
}
},
"Stop": {
"bl_idname": "SvStringsSocket",
"name": "Stop",
"properties": {
"prop_name": "count_",
"label": "count"
}
}
},
"outputs": {
"Range": {
"bl_idname": "SvStringsSocket",
"name": "Range"
}
},
"bl_idname": "SvGenNumberRange"
},
"Scalar Math.003": {
"attributes": {
"location": [
-741.4569091796875,
162.76776123046875
]
},
"properties": {
"current_op": "DIV",
"y_": 4.0
},
"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"
},
"List Length": {
"attributes": {
"location": [
-947.6827392578125,
225.82388305664062
]
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
}
},
"outputs": {
"Length": {
"bl_idname": "SvStringsSocket",
"name": "Length"
}
},
"bl_idname": "ListLengthNode"
},
"List Item.001": {
"attributes": {
"location": [
-347.633544921875,
562.1669311523438
]
},
"properties": {
"index": 1
},
"inputs": {
"Data": {
"bl_idname": "SvStringsSocket",
"name": "Data"
},
"Index": {
"bl_idname": "SvStringsSocket",
"name": "Index",
"properties": {
"prop_name": "index"
}
}
},
"outputs": {
"Item": {
"bl_idname": "SvVerticesSocket",
"name": "Item"
},
"Other": {
"bl_idname": "SvVerticesSocket",
"name": "Other"
}
},
"bl_idname": "SvListItemNode"
}
},
"links": [
{
"from_node": "Mesh Join",
"from_socket": "Vertices",
"to_node": "Temporal Viewer",
"to_socket": "Vertices"
},
{
"from_node": "Matrix In",
"from_socket": "Matrices",
"to_node": "Temporal Viewer",
"to_socket": "Matrix"
},
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "Matrix In",
"to_socket": "Location"
},
{
"from_node": "Scalar Math.001",
"from_socket": "Out",
"to_node": "Matrix In",
"to_socket": "Angle"
},
{
"from_node": "Scalar Math.002",
"from_socket": "Out",
"to_node": "Scalar Math.001",
"to_socket": "x"
},
{
"from_node": "Vector out",
"from_socket": "X",
"to_node": "Scalar Math",
"to_socket": "x"
},
{
"from_node": "Vector out",
"from_socket": "Y",
"to_node": "Scalar Math",
"to_socket": "y"
},
{
"from_node": "Scalar Math",
"from_socket": "Out",
"to_node": "Scalar Math.002",
"to_socket": "x"
},
{
"from_node": "Reroute",
"from_socket": "Output",
"to_node": "Vector out",
"to_socket": "Vectors"
},
{
"from_node": "List Item.001",
"from_socket": "Item",
"to_node": "Reroute",
"to_socket": "Input"
},
{
"from_node": "Object ID Selector+",
"from_socket": "Objects",
"to_node": "Mesh Join",
"to_socket": "Vertices"
},
{
"from_node": "Circle",
"from_socket": "Vertices",
"to_node": "Viewer Draw",
"to_socket": "Vertices"
},
{
"from_node": "A Number",
"from_socket": "Int",
"to_node": "Number Range",
"to_socket": "Step"
},
{
"from_node": "Scalar Math.003",
"from_socket": "Out",
"to_node": "Number Range",
"to_socket": "Stop"
},
{
"from_node": "List Length",
"from_socket": "Length",
"to_node": "Scalar Math.003",
"to_socket": "x"
},
{
"from_node": "A Number",
"from_socket": "Int",
"to_node": "Scalar Math.003",
"to_socket": "y"
},
{
"from_node": "Circle",
"from_socket": "Vertices",
"to_node": "List Length",
"to_socket": "Data"
},
{
"from_node": "Circle",
"from_socket": "Vertices",
"to_node": "List Item.001",
"to_socket": "Data"
},
{
"from_node": "Number Range",
"from_socket": "Range",
"to_node": "List Item.001",
"to_socket": "Index"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment