How do I create a peritrochoid in CATIA V5

I've been trying to create a peritrochoid using CATIA V5 using the law and formula function. I first created the necessary laws using the parametric equation for the peritrochoid. I then used "Curve from equations" in GSD workbench and assigned the laws to each coordinate. The varying parameter here is the angle "a". For some reason the generated curve varies only from a=0 to around a=57 degrees instead of till 360. How do I fix this. I've attached the file for reference.

Answer
 
Comments 0