Milling depth calculation

Calculate the lever position for setting the milling depth (Z), the length (X) and the notch width (Y). The values are calculated from milling depth and milling angle.