For the past few days I’ve been working on a 3-D printable footpedal potentiometer to be used in a guitar pedal. It is a parametric model in FreeCAD. It has a top and bottom that hinge together, with a potentiometer that is coaxial with the hinge so that when the pedal is pressed, the potentiometer is rotated.
Very cool! Adafruit posted a foot pedal project that had a potentiometer but I definitely like to see other options.