I misplaced the OEM pin thing from my bed and designing it was much more efficient and frugal than ordering it. It does the job well, and I've seen many of this kind of pins around IKEA furniture, so it might be useful for someone. The fit is tight, might need some lube.
The author marked this model as their own original creation.