Small Rotation -> Linear Technic tip
NXT Repository/Projects/Technic/

Here is what I believe to be the smallest set of NXT-set parts that converts rotation to linear motion. Turning the blue axle jointer moves the yellow 1/2 bush along the worm gear, pushing the axle and the bent beam on it. Due to the properties of the worm gear, this is one-directional - pushing on the beam does not rotate the worm gear or move the beam itself.