Diamond micromachining of photonic materials: dynamics and the limits of precision