How to model a parameterised helical gear in proe?

Been stuck with a model for some time.I have got the parameters.Any help is deeply appreciated.
M_N=2.0 - module
Z = 24 - no. of teeth
alpha=17.5 - pressure angle
beta=28 - helx angle
cx=0.25 - bottom clearence coef.
hax=1.1 - addendum coef.
M_T=M_N/cos(beta)
A_T=ATAN(tan(alpha)/cos(beta))
d=z*M_T
db=d*cos(A_T)
da=d+2*hax*M_N
df=d-2*(hax+cx)*M_N

r=db/2
theta=t*60
x=r*cos(theta)+r*sin(theta)*theta*pi/180
y=r*sin(theta)-r*cos(theta)*theta*pi/180
z=0

Developed the curve but not able to porceed further.

Answer
 
Comments 1