Vacuum-cast housing with an integrated mechanism