The programm will have a huge database of all parts, be it mechanical, electrical, computer chips or materials so it will be able to calculate precise cost of manufacturing as well... It will be so, no second thoughts, only matter of time.
Now, what worries me...what will all the people do? Such a production can be owned and operated by 1 man so either he or those who make programms like that will be super-rich?
I also suspect the programm like that will be made by another programm (like Matrix Architect) which will be actualy a powerfull AI (even though not necessery true AI, just a huge database and physical modeling engine)... Imagine all this is real - we'll have to re-think our economy..
Well, just a flow of thoughts i hade for a long time