Sounds interesting, eh? Well it just so happens that Mike Swanson has created a tool to do this very thing. It is not perfect, but it does do a fairly good job. For instance, there is no support for animations as of yet but it does a credible job on shapes.
Give it a shot and let Mike know what you think.