You can use a straight model edge as a reference to apply restraints. You can prescribe the translation in the direction of the edge. For shell meshes, you can also specify rotation about the edge.
The following table summarizes the attributes of this restraint type:
Example
The selected face of the screw (shown in green) is to move a distance of 0.5 cm in the direction specified by the selected edge (shown in green). Use Preview to identify the direction. Use a negative value -0.5 cm to reverse it.