RESUMO
In femtosecond laser machining, spatial beam shaping can be achieved with wavefront modulators. The wavefront modulator displays a pre-calculated phase mask that modulates the laser wavefront to generate a target intensity distribution in the processing plane. Due to the non-perfect optical response of wavefront modulators, the experimental distribution may significantly differ from the target, especially for continuous shapes. We propose an alternative phase mask calculation method that can be adapted to the phase modulator optical performance. From an adjustable number of Zernike polynomials according to this performance, a least square fitting algorithm numerically determines their coefficients to obtain the desired wavefront modulation. We illustrate the technique with an optically addressed liquid-crystal light valve to produce continuous intensity distributions matching a desired ablation profile, without the need of a wavefront sensor. The projection of the experimental laser distribution shows a 5% RMS error compared to the calculated one. Ablation of steel is achieved following user-defined micro-dimples and micro-grooves targets on mold surfaces. The profiles of the microgrooves and the injected polycarbonate closely match the target (RMS below 4%).