Steinar has a simple solution (and it might be easier) - but if you are set up with stepper motors, and no feedback, then you need to write a simple Macro and instead of using the simple G1 or G0 command, use the Macro instead.
If you are familiar with visual basic, then the logic would be (something) like this.
We will assume that the bracket starts in the vertical position (0). Two UserDRO's should be set up, one showing the current position and one in which to enter the desired position. The macro can be then placed on a button at the side of the second DRO. The axis should, as far as Mach is concened, still be in linear dimensions.
Start:
Enter desired position in 2nd DRO.
Press button
get desired position from DRO2
position = armlength*tan(new angle)
code "G0 x"&position
set DRO1 to equal DRO2
That is fairly simple, since Mach 3 will keep the present position of the pinion in linear form in it's DRO so you don't jave to recalculate it all the time.
The only problem is I have just remembered that I think vis basic uses radiams and not degrees in it's calculations.
You will have to work in some logic to reverse the arm to bring it the other way.