--array with arrays items (Radius, Horizontal_Ange, Vertical_Angle) --try to change values in my_array items to understand it my_array=#( #(100,45,45) , #(50,0,30) , #(30,30,0) , #(300,90,-90) ) ------------------------------------------------------------------- --Creat an empty splineshape empty_spline=splineshape pos:[xi,yi,zi] name:"sachou" --loop the the creation of line until my_array count for i=1 to (my_array.count) do ( --Sphere function x_pos=my_array[i][1]*cos(my_array[i][2])*sin(my_array[i][3]) y_pos=my_array[i][1]*sin(my_array[i][2])*sin(my_array[i][3]) z_pos=my_array[i][1]*cos(my_array[i][3]) my_pos=[x_pos,y_pos,z_pos] --creat line for each items from my_Array my_new_spline=copy empty_spline my_new_spline.wirecolor=blue addnewspline my_new_spline addknot my_new_spline 1 #corner #curve [0,0,0] addknot my_new_spline 1 #corner #curve my_pos --update the line updateshape my_new_spline )--end