CAD-based design for welding (DFW) method