This is my Chainring model done with SolidWorks and also been done with parameters.
The Excel document is within the zip file all you have to do it change input parameters and SolidWorks will generate 3d model for You.