notnilc20,
It sounds like you want to mount the switches on the moving gear of the motor drive. I would mount them on a non-moving support that is fixed to the motor drive base and have the gear or a bendable metal tab welded to the drive that trips the switch. Mounting solidly to the motor base will assure a constant positioning of the switch to the tripper. Using a bendable metal tab will allow you to fine tune the stopping point.
If you got the bigger size switch, use the mounting holes to put screws through to secure the switch. If you got the subminiature switch, you could do what I did and use coat hanger wire through the holes and weld the wire to a base with a tab screwed to the base to keep the switch in place on the wires.
The subminiature switches require soldering the wires to tabs. I cut thin pieces of plastic sheet, such as those sample credit cards we all get in the mail, as insulators to make sure the wires don't short out on the metal mounting. Just put matching holes in them and slip them over the mounting wires.
RT