Automatic 3d Mask Machine