I made this a while ago to replace a missing knob on my kitchen gas hob. It's not very beautiful but I wanted it to match with the original ones, hence the bulky design.
It is fully parametric, so you can customize it in OpenScad. The stl has a 3mm inner diameter and 1mm notch, which fit my appliances.