Skip to content

Instantly share code, notes, and snippets.

@ken26u
Created May 9, 2020 00:14
Show Gist options
  • Save ken26u/72c12a4cd6b48b9c3921d49d0b33b856 to your computer and use it in GitHub Desktop.
Save ken26u/72c12a4cd6b48b9c3921d49d0b33b856 to your computer and use it in GitHub Desktop.
Sverchok.0.6.0.0 (d8dc099) | Blender.2.82(sub7) | AnimationGear | 2020.05.09 | 09:14
{
"export_version": "0.079",
"framed_nodes": {
"Vector in": "Frame"
},
"groups": {
"Monad": "{\"nodes\": {\"A Number\": {\"params\": {\"float_\": 0.0, \"int_\": 2, \"float_draft_\": 0.0, \"int_draft_\": 0, \"selected_mode\": \"int\"}, \"bl_idname\": \"SvNumberNode\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [-508.5470275878906, 37.139060974121094]}, \"Cylinder\": {\"params\": {\"radius_t\": 0.15000000596046448, \"radius_b\": 0.15000000596046448, \"height\": 0.699999988079071, \"cap_bottom\": 0, \"cap_top\": 0, \"center\": 0}, \"bl_idname\": \"SvCylinderNodeMK2\", \"height\": 0.699999988079071, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [417.9903564453125, 212.4816436767578], \"color\": [0.0, 0.5, 0.5], \"use_custom_color\": true}, \"Extrude Region\": {\"mask_out_type\": [\"in\"], \"params\": {}, \"bl_idname\": \"SvExtrudeRegionNode\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [644.9403686523438, 227.26361083984375]}, \"Extrude Separate Faces\": {\"mask_out_type\": [\"out\"], \"params\": {\"height_\": 0.25}, \"bl_idname\": \"SvExtrudeSeparateNode\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [1657.1185302734375, 282.2445983886719]}, \"Float to Int\": {\"params\": {}, \"bl_idname\": \"Float2IntNode\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [185.4759979248047, 58.26289749145508]}, \"Frame\": {\"params\": {}, \"bl_idname\": \"NodeFrame\", \"height\": 311.2488098144531, \"width\": 406.92755126953125, \"label\": \"Thooth Height\", \"hide\": false, \"location\": [-30.0, 10.0]}, \"Frame.001\": {\"params\": {}, \"bl_idname\": \"NodeFrame\", \"height\": 229.64675903320312, \"width\": 770.9050903320312, \"label\": \"Checker Select\", \"hide\": false, \"location\": [-30.0, 10.0]}, \"Group Inputs Exp\": {\"params\": {\"node_kind\": \"outputs\"}, \"bl_idname\": \"SvGroupInputsNodeExp\", \"outputs\": [[\"GearSize\", \"SvStringsSocket\"]], \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [-773.17724609375, -27.801977157592773], \"color\": [0.8308190107345581, 0.911391019821167, 0.7545620203018188], \"use_custom_color\": true}, \"Group Outputs Exp\": {\"params\": {\"node_kind\": \"inputs\"}, \"bl_idname\": \"SvGroupOutputsNodeExp\", \"inputs\": [[\"Vertices\", \"SvVerticesSocket\"], [\"Edges\", \"SvStringsSocket\"], [\"Polygons\", \"SvStringsSocket\"]], \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [2280.540283203125, 206.81097412109375], \"color\": [0.8308190107345581, 0.911391019821167, 0.7545620203018188], \"use_custom_color\": true}, \"List Length\": {\"params\": {}, \"bl_idname\": \"ListLengthNode\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [864.3488159179688, 66.6568603515625]}, \"Logic functions\": {\"params\": {}, \"bl_idname\": \"SvLogicNode\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [1435.25390625, 53.253787994384766]}, \"Matrix In\": {\"params\": {}, \"custom_socket_props\": {\"1\": {\"expanded\": true}}, \"bl_idname\": \"SvMatrixInNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [220.0, -60.0]}, \"Number Range\": {\"params\": {\"number_mode\": \"int\", \"range_mode\": \"RANGE_STEP\"}, \"bl_idname\": \"SvGenNumberRange\", \"height\": 100.0, \"width\": 154.5699920654297, \"label\": \"\", \"hide\": false, \"location\": [1059.6409912109375, 78.98011016845703]}, \"Scalar Math\": {\"params\": {\"x_\": 20.0}, \"bl_idname\": \"SvScalarMathNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [-38.65461349487305, 84.30779266357422]}, \"Scalar Math.001\": {\"params\": {\"y_\": 1.0, \"x_\": 10.0}, \"bl_idname\": \"SvScalarMathNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [-282.0208740234375, -64.88750457763672]}, \"Scalar Math.002\": {\"params\": {\"current_op\": \"MODULO\", \"y_\": 2.0}, \"bl_idname\": \"SvScalarMathNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [1259.373779296875, 45.95952224731445]}, \"Scalar Math.003\": {\"params\": {\"y_\": 0.05000000074505806}, \"bl_idname\": \"SvScalarMathNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [951.7639770507812, -213.4178466796875]}, \"Scalar Math.004\": {\"params\": {\"current_op\": \"DIV\", \"x_\": 0.30000001192092896}, \"bl_idname\": \"SvScalarMathNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [960.0, -340.0]}, \"Scalar Math.005\": {\"params\": {\"y_\": 0.05000000074505806, \"current_op\": \"ADD\"}, \"bl_idname\": \"SvScalarMathNodeMK4\", \"height\": 100.0, \"width\": 140.0, \"label\": \"\", \"hide\": false, \"location\": [1158.6915283203125, -222.9028778076172]}, \"Vector in\": {\"params\": {\"z_\": 1.0}, \"bl_idname\": \"GenVectorsNode\", \"height\": 100.0, \"width\": 100.0, \"label\": \"\", \"hide\": false, \"location\": [42.39017105102539, -109.2254409790039]}}, \"groups\": {}, \"framed_nodes\": {\"List Length\": \"Frame.001\", \"Logic functions\": \"Frame.001\", \"Number Range\": \"Frame.001\", \"Scalar Math.002\": \"Frame.001\", \"Scalar Math.003\": \"Frame\", \"Scalar Math.004\": \"Frame\", \"Scalar Math.005\": \"Frame\"}, \"update_lists\": [[\"Group Inputs Exp\", 0, \"A Number\", 0], [\"A Number\", 0, \"Scalar Math.001\", 1], [\"Scalar Math.001\", 0, \"Vector in\", 0], [\"Scalar Math.001\", 0, \"Vector in\", 1], [\"Vector in\", 0, \"Matrix In\", 1], [\"A Number\", 0, \"Scalar Math\", 1], [\"Scalar Math\", 0, \"Float to Int\", 0], [\"Float to Int\", 0, \"Cylinder\", 3], [\"Cylinder\", 0, \"Extrude Region\", 0], [\"Cylinder\", 1, \"Extrude Region\", 1], [\"Cylinder\", 2, \"Extrude Region\", 2], [\"Matrix In\", 0, \"Extrude Region\", 4], [\"Extrude Region\", 6, \"List Length\", 0], [\"List Length\", 0, \"Number Range\", 2], [\"Number Range\", 0, \"Scalar Math.002\", 0], [\"A Number\", 0, \"Scalar Math.004\", 1], [\"A Number\", 0, \"Scalar Math.003\", 0], [\"Scalar Math.003\", 0, \"Scalar Math.005\", 0], [\"Scalar Math.004\", 0, \"Scalar Math.005\", 1], [\"Extrude Region\", 6, \"Logic functions\", 0], [\"Scalar Math.002\", 0, \"Logic functions\", 1], [\"Extrude Region\", 0, \"Extrude Separate Faces\", 0], [\"Extrude Region\", 1, \"Extrude Separate Faces\", 1], [\"Extrude Region\", 2, \"Extrude Separate Faces\", 2], [\"Logic functions\", 0, \"Extrude Separate Faces\", 3], [\"Scalar Math.005\", 0, \"Extrude Separate Faces\", 4], [\"Extrude Separate Faces\", 0, \"Group Outputs Exp\", 0], [\"Extrude Separate Faces\", 1, \"Group Outputs Exp\", 1], [\"Extrude Separate Faces\", 2, \"Group Outputs Exp\", 2]], \"export_version\": \"0.079\", \"bl_idname\": \"SverchGroupTreeType\", \"cls_bl_idname\": \"SvGroupNodeMonad_2919630076083\"}"
},
"nodes": {
"A Number": {
"bl_idname": "SvNumberNode",
"height": 100.0,
"hide": false,
"label": "",
"location": [
990.041015625,
192.9868927001953
],
"params": {
"float_": 0.0,
"float_draft_": 0.0,
"int_": 3,
"int_draft_": 0,
"selected_mode": "int"
},
"width": 140.0
},
"A Number.001": {
"bl_idname": "SvNumberNode",
"height": 100.0,
"hide": false,
"label": "",
"location": [
966.3623657226562,
-285.1941833496094
],
"params": {
"float_": 0.0,
"float_draft_": 0.0,
"int_": 2,
"int_draft_": 0,
"selected_mode": "int"
},
"width": 140.0
},
"Bounding box": {
"bl_idname": "SvBBoxNodeMk2",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1548.548828125,
320.4507141113281
],
"params": {
"dimensions": "2D",
"size_list": [
0,
1,
0
]
},
"width": 140.0
},
"Bounding box.001": {
"bl_idname": "SvBBoxNodeMk2",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1567.5399169921875,
58.05323791503906
],
"params": {
"dimensions": "2D",
"size_list": [
0,
1,
0
]
},
"width": 140.0
},
"Formula": {
"bl_idname": "SvFormulaNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1353.8680419921875,
-445.1684265136719
],
"params": {
"formula1": "1.5 if x % 2 == 1 else 0.5"
},
"width": 327.36328125
},
"Formula.001": {
"bl_idname": "SvFormulaNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1332.736572265625,
545.4161376953125
],
"params": {
"formula1": "0.5 if x % 2 == 1 else 1.5"
},
"width": 327.36328125
},
"Frame": {
"bl_idname": "NodeFrame",
"height": 187.71070861816406,
"hide": false,
"label": "Center of second gear",
"location": [
-43.6295280456543,
20.60597038269043
],
"params": {},
"width": 160.0
},
"Frame info": {
"bl_idname": "SvFrameInfoNodeMK2",
"color": [
0.0,
0.5,
0.20000000298023224
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2683.87451171875,
846.9891967773438
],
"params": {},
"use_custom_color": true,
"width": 140.0
},
"Map Range": {
"bl_idname": "SvMapRangeNode",
"height": 100.0,
"hide": false,
"label": "",
"location": [
3447.88671875,
728.265869140625
],
"params": {
"new_max": 10.0
},
"width": 140.0
},
"Map Range.001": {
"bl_idname": "SvMapRangeNode",
"height": 100.0,
"hide": false,
"label": "",
"location": [
3439.566162109375,
379.7520446777344
],
"params": {
"new_max": 10.0
},
"width": 140.0
},
"Monad": {
"bl_idname": "SvMonadGenericNode",
"color": [
0.8308190107345581,
0.911391019821167,
0.7545620203018188
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1294.5008544921875,
-32.46881866455078
],
"params": {
"all_props": {
"cls_bl_idname": "SvGroupNodeMonad_2919630076083",
"float_props": {},
"int_props": {
"ints_1_int_": {
"default": 2,
"description": "Integer value",
"max": 1024,
"min": -1024,
"name": "GearSize"
}
},
"name": "Monad"
},
"cls_dict": {
"cls_bl_idname": "SvGroupNodeMonad_2919630076083",
"input_template": [
[
"GearSize",
"SvStringsSocket",
{
"prop_name": "ints_1_int_"
}
]
],
"output_template": [
[
"Vertices",
"SvVerticesSocket"
],
[
"Edges",
"SvStringsSocket"
],
[
"Polygons",
"SvStringsSocket"
]
]
},
"ints_1_int_": 3,
"loops": 0,
"monad": "Monad"
},
"use_custom_color": true,
"width": 140.0
},
"Monad.001": {
"bl_idname": "SvMonadGenericNode",
"color": [
0.8308190107345581,
0.911391019821167,
0.7545620203018188
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1328.1068115234375,
250.479248046875
],
"params": {
"all_props": {
"cls_bl_idname": "SvGroupNodeMonad_2919630076083",
"float_props": {},
"int_props": {
"ints_1_int_": {
"default": 2,
"description": "Integer value",
"max": 1024,
"min": -1024,
"name": "GearSize"
}
},
"name": "Monad"
},
"cls_dict": {
"cls_bl_idname": "SvGroupNodeMonad_2919630076083",
"input_template": [
[
"GearSize",
"SvStringsSocket",
{
"prop_name": "ints_1_int_"
}
]
],
"output_template": [
[
"Vertices",
"SvVerticesSocket"
],
[
"Edges",
"SvStringsSocket"
],
[
"Polygons",
"SvStringsSocket"
]
]
},
"ints_1_int_": 2,
"loops": 0,
"monad": "Monad"
},
"use_custom_color": true,
"width": 140.0
},
"Move": {
"bl_idname": "SvMoveNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
2687.790771484375,
427.1123046875
],
"params": {},
"width": 140.0
},
"Rotate": {
"bl_idname": "SvRotationNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1926.677734375,
-282.7897033691406
],
"params": {},
"width": 140.0
},
"Rotate.001": {
"bl_idname": "SvRotationNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1898.63720703125,
712.0092163085938
],
"params": {
"angle_": 56.939998626708984
},
"width": 140.0
},
"Rotate.002": {
"bl_idname": "SvRotationNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
4074.30859375,
680.0145263671875
],
"params": {},
"width": 140.0
},
"Rotate.003": {
"bl_idname": "SvRotationNodeMk3",
"height": 100.0,
"hide": false,
"label": "",
"location": [
4078.5615234375,
202.23797607421875
],
"params": {},
"width": 140.0
},
"Scalar Math": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1820.9642333984375,
165.8884735107422
],
"params": {
"current_op": "ADD"
},
"width": 140.0
},
"Scalar Math.001": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1979.8896484375,
168.76165771484375
],
"params": {
"current_op": "DIV",
"y_": 2.0
},
"width": 140.0
},
"Scalar Math.002": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
2147.718505859375,
165.66873168945312
],
"params": {
"current_op": "ADD",
"y_": -0.18900002539157867
},
"width": 140.0
},
"Scalar Math.003": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1360.5650634765625,
-302.1093444824219
],
"params": {
"y_": 20.0
},
"width": 140.0
},
"Scalar Math.004": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1540.4683837890625,
-294.4184265136719
],
"params": {
"current_op": "DIV",
"x_": 360.0,
"y_": 20.0
},
"width": 140.0
},
"Scalar Math.005": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1735.2581787109375,
-292.19439697265625
],
"params": {
"current_op": "MUL",
"x_": 360.0,
"y_": 20.0
},
"width": 140.0
},
"Scalar Math.006": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1339.4337158203125,
688.4752807617188
],
"params": {
"y_": 20.0
},
"width": 140.0
},
"Scalar Math.007": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1519.3370361328125,
696.1661987304688
],
"params": {
"current_op": "DIV",
"x_": 360.0,
"y_": 20.0
},
"width": 140.0
},
"Scalar Math.008": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
1714.1268310546875,
698.39013671875
],
"params": {
"current_op": "MUL",
"x_": 360.0,
"y_": 20.0
},
"width": 129.796875
},
"Scalar Math.009": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
3041.533935546875,
628.5731811523438
],
"params": {
"x_": 360.0
},
"width": 140.0
},
"Scalar Math.010": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
3092.722412109375,
278.5517578125
],
"params": {
"x_": 360.0
},
"width": 140.0
},
"Scalar Math.011": {
"bl_idname": "SvScalarMathNodeMK4",
"height": 100.0,
"hide": false,
"label": "",
"location": [
3645.166015625,
686.535888671875
],
"params": {
"current_op": "NEG",
"input_mode_two": "Float"
},
"width": 140.0
},
"Vector in": {
"bl_idname": "GenVectorsNode",
"height": 100.0,
"hide": false,
"label": "",
"location": [
2387.3399543762207,
194.37737846374512
],
"params": {},
"width": 100.0
},
"Viewer BMesh": {
"bl_idname": "SvBmeshViewerNodeV28",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
4638.55908203125,
650.0348510742188
],
"params": {
"basedata_name": "Alpha"
},
"use_custom_color": true,
"width": 140.0
},
"Viewer BMesh.001": {
"bl_idname": "SvBmeshViewerNodeV28",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
4618.12451171875,
244.1326141357422
],
"params": {
"basedata_name": "Beta"
},
"use_custom_color": true,
"width": 140.0
}
},
"update_lists": [
[
"A Number.001",
0,
"Monad",
0
],
[
"Monad",
0,
"Bounding box.001",
0
],
[
"A Number",
0,
"Monad.001",
0
],
[
"Monad.001",
0,
"Bounding box",
0
],
[
"Bounding box",
11,
"Scalar Math",
0
],
[
"Bounding box.001",
11,
"Scalar Math",
1
],
[
"Scalar Math",
0,
"Scalar Math.001",
0
],
[
"Scalar Math.001",
0,
"Scalar Math.002",
0
],
[
"Scalar Math.002",
0,
"Vector in",
1
],
[
"A Number",
0,
"Scalar Math.006",
0
],
[
"Scalar Math.006",
0,
"Scalar Math.007",
1
],
[
"A Number",
0,
"Formula.001",
0
],
[
"Scalar Math.007",
0,
"Scalar Math.008",
0
],
[
"Formula.001",
0,
"Scalar Math.008",
1
],
[
"Monad.001",
0,
"Rotate.001",
0
],
[
"Scalar Math.008",
0,
"Rotate.001",
3
],
[
"Rotate.001",
0,
"Move",
0
],
[
"Vector in",
0,
"Move",
1
],
[
"A Number.001",
0,
"Scalar Math.010",
1
],
[
"Frame info",
3,
"Map Range.001",
0
],
[
"Scalar Math.010",
0,
"Map Range.001",
4
],
[
"Move",
0,
"Rotate.002",
0
],
[
"Vector in",
0,
"Rotate.002",
1
],
[
"Map Range.001",
0,
"Rotate.002",
3
],
[
"A Number.001",
0,
"Scalar Math.003",
0
],
[
"Scalar Math.003",
0,
"Scalar Math.004",
1
],
[
"A Number.001",
0,
"Formula",
0
],
[
"Scalar Math.004",
0,
"Scalar Math.005",
0
],
[
"Formula",
0,
"Scalar Math.005",
1
],
[
"Monad",
0,
"Rotate",
0
],
[
"Scalar Math.005",
0,
"Rotate",
3
],
[
"A Number",
0,
"Scalar Math.009",
1
],
[
"Frame info",
3,
"Map Range",
0
],
[
"Scalar Math.009",
0,
"Map Range",
4
],
[
"Map Range",
0,
"Scalar Math.011",
0
],
[
"Rotate",
0,
"Rotate.003",
0
],
[
"Scalar Math.011",
0,
"Rotate.003",
3
],
[
"Rotate.003",
0,
"Viewer BMesh.001",
0
],
[
"Monad",
1,
"Viewer BMesh.001",
1
],
[
"Monad",
2,
"Viewer BMesh.001",
2
],
[
"Rotate.002",
0,
"Viewer BMesh",
0
],
[
"Monad.001",
1,
"Viewer BMesh",
1
],
[
"Monad.001",
2,
"Viewer BMesh",
2
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment