The main contribution of this thesis is the implementation of manufacturing constraints in shape and topology optimization. Fabrication limitations related to the casting process are formulated as mathematical constraints and introduced in the optimization algorithm. In addition, based on the same theoretical and modelization tools, we propose a novel formulation for multi-phase optimization problems, which can be extended to the optimization of structures with functionally-graded properties. A key ingredient for the mathematical formulation of most problems throughout our work is the notion of the signed distance function to a domain. This work is divided into three parts. The rst part is bibliographical and contains the necessary backgrou...