Topology optimization of structures sometimes gives designs that cannot be economically manufactured without postprocessing. Because post-processing of topology solutions might lead to suboptimal designs, it is useful to include manufacturing constraints at the outset. In this work, we present a method for the topology optimization of micromachined devices by including surface micromachining co...