Analysis and Design of Lattice Structures for Rapid-Investment Casting