{
  "export_version": "0.072",
  "framed_nodes": {},
  "groups": {},
  "nodes": {
    "Bmesh Viewer Draw": {
      "bl_idname": "SvBmeshViewerNodeMK2",
      "color": [
        1.0,
        0.30000001192092896,
        0.0
      ],
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        1259.767578125,
        683.3355712890625
      ],
      "params": {
        "activate": 1,
        "autosmooth": 1,
        "basemesh_name": "Beta",
        "hide": 0,
        "lp": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "Bmesh Viewer Draw.001": {
      "bl_idname": "SvBmeshViewerNodeMK2",
      "color": [
        1.0,
        0.30000001192092896,
        0.0
      ],
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        866.324462890625,
        940.6449584960938
      ],
      "params": {
        "activate": 1,
        "autosmooth": 1,
        "basemesh_name": "Theta",
        "hide": 0
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "Circle": {
      "bl_idname": "SvCircleNode",
      "color": [
        0.0,
        0.5,
        0.5
      ],
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        73.36659240722656,
        435.3722839355469
      ],
      "params": {
        "degr_": 6.2831854820251465,
        "rad_": 2.440000057220459
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "Circle.001": {
      "bl_idname": "SvCircleNode",
      "color": [
        0.0,
        0.5,
        0.5
      ],
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        51.55242919921875,
        687.5572509765625
      ],
      "params": {
        "degr_": 6.2831854820251465,
        "rad_": 1.0
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "Float": {
      "bl_idname": "FloatNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        89.28596496582031,
        871.6251831054688
      ],
      "params": {},
      "width": 140.0
    },
    "Float Series": {
      "bl_idname": "SvGenFloatRange",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        508.210693359375,
        551.4186401367188
      ],
      "params": {
        "count_": 12,
        "mode": "FRANGE_COUNT",
        "stop_": 1.0
      },
      "width": 140.0
    },
    "List Flip Node": {
      "bl_idname": "ListFlipNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        488.83392333984375,
        711.1985473632812
      ],
      "params": {
        "level": 1
      },
      "width": 140.0
    },
    "List Join": {
      "bl_idname": "ListJoinNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        312.3375244140625,
        738.9984741210938
      ],
      "params": {},
      "width": 140.0
    },
    "List Length": {
      "bl_idname": "ListLengthNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        -109.90770721435547,
        378.78363037109375
      ],
      "params": {},
      "width": 140.0
    },
    "Matrix in": {
      "bl_idname": "SvMatrixGenNodeMK2",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        594.3806762695312,
        378.27886962890625
      ],
      "params": {},
      "width": 140.0
    },
    "Script Generator": {
      "bl_idname": "SvScriptNode",
      "color": [
        0.0,
        0.800000011920929,
        0.949999988079071
      ],
      "height": 100.0,
      "hide": false,
      "label": "length",
      "location": [
        -446.04864501953125,
        369.94342041015625
      ],
      "params": {
        "button_names": "",
        "files_popup": "sv_lang_template.sn",
        "float_list": [
          0.0,
          1.0,
          1.100000023841858,
          1.0,
          4.0,
          5.0,
          6.0,
          7.0,
          8.0,
          9.0,
          10.0,
          11.0,
          12.0,
          13.0,
          14.0,
          15.0,
          16.0,
          17.0,
          18.0,
          19.0,
          20.0,
          21.0,
          22.0,
          23.0,
          24.0,
          25.0,
          26.0,
          27.0,
          28.0,
          29.0,
          30.0,
          31.0
        ],
        "has_buttons": 0,
        "script_name": "length",
        "script_str": "def sv_main(vecs=[]):\n\n    in_sockets = [\n        ['v', 'Vectors',  vecs]\n    ]\n    \n    from mathutils import Vector\n\n    total_l = []\n    \n    for v_own in vecs:\n        if type(v_own) == list:\n            for v in v_own:\n                total_l.append(Vector(v).length)\n        else:\n            total_l.append(Vector(v_own).length)\n\n    out_sockets = [\n        ['s', 'Total length', [total_l]]\n    ]\n\n    return in_sockets, out_sockets\n",
        "user_name": "templates"
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "Script Generator.001": {
      "bl_idname": "SvScriptNode",
      "color": [
        0.0,
        0.800000011920929,
        0.949999988079071
      ],
      "height": 100.0,
      "hide": false,
      "label": "petal_sine.py",
      "location": [
        -630.9722290039062,
        397.07220458984375
      ],
      "params": {
        "button_names": "",
        "files_popup": "petal_sine.py",
        "float_list": [
          0.0,
          1.0,
          1.100000023841858,
          3.0,
          0.2799999713897705,
          5.0,
          6.0,
          7.0,
          8.0,
          9.0,
          10.0,
          11.0,
          12.0,
          13.0,
          14.0,
          15.0,
          16.0,
          17.0,
          18.0,
          19.0,
          20.0,
          21.0,
          22.0,
          23.0,
          24.0,
          25.0,
          26.0,
          27.0,
          28.0,
          29.0,
          30.0,
          31.0
        ],
        "has_buttons": 0,
        "int_list": [
          0,
          12,
          24,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31
        ],
        "script_name": "petal_sine.py",
        "script_str": "from math import sin, cos, radians, pi\nfrom mathutils import Vector, Euler\n# creates flower\n\ndef sv_main(n_petals=8, vp_petal=20, profile_radius=1.3, amp=1.0):\n\n    in_sockets = [\n        ['s', 'Nm Petals',  n_petals],\n        ['s', 'herts per Petal',  vp_petal],\n        ['s', 'Profile Radius', profile_radius],\n        ['s', 'Amp',  amp],\n    ]\n\n    # variables\n    z_float = 0.0\n    n_verts = n_petals * vp_petal\n    section_angle = 360.0 / n_verts\n    position = (2 * (pi / (n_verts / n_petals)))\n\n    # consumables\n    Verts = []\n    Edges = []\n\n    # makes vertex coordinates\n    for i in range(n_verts):\n        # difference is a function of the position on the circumference\n        difference = amp * cos(i * position)\n        arm = profile_radius + difference\n        ampline = Vector((arm, 0.0, 0.0))\n\n        rad_angle = radians(section_angle * i)\n        myEuler = Euler((0.0, 0.0, rad_angle), 'XYZ')\n\n        # changes the vector in place, successive calls are accumulative\n        # we reset at the start of the loop.\n        ampline.rotate(myEuler)\n        x_float = ampline.x\n        y_float = ampline.y\n        Verts.append((x_float, y_float, z_float))\n\n    # makes edge keys, ensure cyclic\n    if Verts:\n        i = 0\n        Edges.extend([[i, i + 1] for i in range(n_verts - 1)])\n        Edges.append([i, 0])\n\n    out_sockets = [\n        ['v', 'Verts', [Verts]],\n        ['s', 'Edges', [Edges]],\n    ]\n\n    return in_sockets, out_sockets\n",
        "user_name": "templates"
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "Sphere": {
      "bl_idname": "SphereNode",
      "color": [
        0.0,
        0.5,
        0.5
      ],
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        683.74609375,
        865.2297973632812
      ],
      "params": {
        "V_": 12
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "UV Connect": {
      "bl_idname": "LineConnectNodeMK2",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        1027.240478515625,
        631.9574584960938
      ],
      "params": {
        "dir_check": "U_dir",
        "polygons": "Pols",
        "slice_check": 0
      },
      "width": 140.0
    },
    "Vector Interpolation": {
      "bl_idname": "SvInterpolationNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        823.7384643554688,
        506.036865234375
      ],
      "params": {
        "mode": "SPL"
      },
      "width": 140.0
    },
    "Vectors in": {
      "bl_idname": "GenVectorsNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        -617.1549072265625,
        193.79965209960938
      ],
      "params": {},
      "width": 100.0
    },
    "Vectors in.001": {
      "bl_idname": "GenVectorsNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        -111.0054931640625,
        511.557861328125
      ],
      "params": {},
      "width": 100.0
    },
    "Vectors in.002": {
      "bl_idname": "GenVectorsNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        398.0532531738281,
        358.4217834472656
      ],
      "params": {
        "x_": 1.0,
        "y_": 1.0,
        "z_": 0.5
      },
      "width": 100.0
    },
    "Vectors out": {
      "bl_idname": "VectorsOutNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        -443.8984375,
        492.52276611328125
      ],
      "params": {},
      "width": 140.0
    },
    "Viewer text mk3": {
      "bl_idname": "ViewerNodeTextMK3",
      "color": [
        0.5,
        0.5,
        1.0
      ],
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        208.2982635498047,
        194.11724853515625
      ],
      "params": {
        "frame": 0
      },
      "use_custom_color": true,
      "width": 140.0
    },
    "function": {
      "bl_idname": "ScalarMathNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        -282.251953125,
        370.2432861328125
      ],
      "params": {},
      "width": 140.0
    },
    "function.001": {
      "bl_idname": "ScalarMathNode",
      "height": 100.0,
      "hide": false,
      "label": "",
      "location": [
        -132.93406677246094,
        246.21475219726562
      ],
      "params": {
        "items_": "NEG"
      },
      "width": 140.0
    }
  },
  "update_lists": [
    [
      "Script Generator.001",
      0,
      "Script Generator",
      0
    ],
    [
      "Script Generator",
      0,
      "function",
      0
    ],
    [
      "Vectors in.002",
      0,
      "Matrix in",
      1
    ],
    [
      "function",
      0,
      "List Length",
      0
    ],
    [
      "List Length",
      0,
      "Circle",
      1
    ],
    [
      "Script Generator.001",
      0,
      "Vectors out",
      0
    ],
    [
      "Float",
      0,
      "Circle.001",
      0
    ],
    [
      "List Length",
      0,
      "Circle.001",
      1
    ],
    [
      "Float",
      0,
      "Sphere",
      0
    ],
    [
      "List Length",
      0,
      "Sphere",
      1
    ],
    [
      "function",
      0,
      "function.001",
      0
    ],
    [
      "Vectors out",
      0,
      "Vectors in.001",
      0
    ],
    [
      "Vectors out",
      1,
      "Vectors in.001",
      1
    ],
    [
      "function.001",
      0,
      "Vectors in.001",
      2
    ],
    [
      "Vectors in.001",
      0,
      "List Join",
      0
    ],
    [
      "Circle",
      0,
      "List Join",
      1
    ],
    [
      "Circle.001",
      0,
      "List Join",
      2
    ],
    [
      "List Join",
      0,
      "List Flip Node",
      0
    ],
    [
      "List Flip Node",
      0,
      "Vector Interpolation",
      0
    ],
    [
      "Float Series",
      0,
      "Vector Interpolation",
      1
    ],
    [
      "List Length",
      0,
      "Viewer text mk3",
      0
    ],
    [
      "Vector Interpolation",
      0,
      "UV Connect",
      0
    ],
    [
      "UV Connect",
      0,
      "Bmesh Viewer Draw",
      0
    ],
    [
      "UV Connect",
      1,
      "Bmesh Viewer Draw",
      2
    ],
    [
      "Sphere",
      0,
      "Bmesh Viewer Draw.001",
      0
    ],
    [
      "Sphere",
      2,
      "Bmesh Viewer Draw.001",
      2
    ],
    [
      "Matrix in",
      0,
      "Bmesh Viewer Draw.001",
      3
    ]
  ]
}