probably an optical switch would be the most accurate but it would depend on the environment whether it would be the best. If there is a lot of dirt and dust then and optical would need to be enclosed and the flag operated by a plunger which exits from the side of the encosure so that dust isnt a problem.
You may be better with a prox switch if it is no magnetic material you will be cutting, they can be accurate as well.
Hood