blender python add-on for converting curve object to polyline mesh by giving a vertex count.