def METHOD_NAME(spline, resolu, calc_radii=False):
    verts, edges, radii = [], [], []
    coord_array = nurb_make_curve(spline, resolu, stride=3)
    verts = [coord_array[i: i + 3] for i in range(0, len(coord_array), 3)]
    edges = generate_edges(n_verts=len(verts), cyclic=spline.use_cyclic_u)
    return verts, edges, radii