In this paper we describe a novel tool for modeling the fabrication of MEMS and semiconductor devices, and show some examples of its application in the MEMS foundry business. The tool allows an accurate visualization of the step-by step creation of the final 3-D device geometry by using the 2-D layout and a description of the fabrication process.