Uses the Z limit switch and needs a ball bearing of a printed ball. Uses a 6608 bearing for the roller.The basic idea for the sensor is from here.
https://www.thingiverse.com/thing:4864395