This is a knob for the cheap rotary encoders (eg KY-040) with 6mm diameter, D shaped.
Depending on your printer, settings, tolerances etc you can add a drop of hot glue for better fixation.
The cross on the bottom is to help with bed adhesion, so a brim is usually not needed. Remove it after printing with pliers or knife.
I printed with PLA.
Category: ElectronicsThe author hasn't provided the model origin yet.