An Intelligent Framework For Computer-Aided Automation And Optimization Of Light-Frame Building Manufacturing Process