I haven't heard of a tool that does anything like that. It sounds like you're looking for a wood-working cam package..
What exactly are you trying to optimize? Exporting what file type, for what purpose, to be imported into what program?
Need a lot more specifics before we can give you an answer to your question.