Great work!
I tried doing this back in 2003 using an early GenerativeComponents but it was really hard work and required a lot of custom code. In the end I abandoned the GC version and got something half working in RhinoScript a few years later.
The real catch is to find a way to simulate the elasticity and "springyness" of an actual material for it to be applicable to any physical manufacturing.