Voder,
Your excellent example gave me an idea. Wouldn't it be great to have a ruby to do the first part of your example. It seems logical enough. Two shapes: divide the first one in sections. Create a scaled slice with the second shape... Could this be done. It could even skin it for you afterwards.
Peter