Product Family – Jewelry

I attempted two methods of creating a grasshopper definition to create the base for my product family. The second definition appears to have more variability but it has some kinks that I need help with :) I am looking forward to creating a web structure form the most appropriate definition. I created the first by modifying a definition I found online. I created the second by modifying a definition I learned in the Parametrics Reading.