Automatic 2d Mask Machine