converting parametic equation using python
I figured it out here's a snippet
#loop_pos = 0 # not enabled yet look at eq_2 in other python script 1 gives  full connection
n = loop_num #is the number of turns per winding.
m = loop_windings #is the number of helical windings.
u = 2*math.pi*(i/(num_x-1-(loop_pos*(num_x+1))))  #loop_pos = 1  eq_2 in other python script 1 gives ou full connection
lamda = 1 #-1 or +1 for winding directions right +1, left -1

x = math.cos(u)*(uval_R_bg - uval_r_sm * math.cos(2*math.pi*helix_offset/m + (lamda*n*u)))    
y = math.sin(u)*(uval_R_bg - uval_r_sm * math.cos(2*math.pi*helix_offset/m + (lamda*n*u)))    
z = uval_r_sm*math.sin(2*math.pi*helix_offset/m + (lamda*n*u))