That's exacly those kind of shapes that can be modeled mathematically... there are several programs for that.. and I'm sure there are a lot of scripts/plugins for Maya aswell.