A CAD-based design for manufacturing method for casted components