I have designed a custom part that I need, but it is so simple I'm sure there must be off-the-shelf versions available. However I don't know what it's called to search for it.
The image on the left is the custom part I designed, it's basically a short threaded tube with a flange at one end. The tube is 10mm long and 8mm outer diameter, with an M7x0.75 thread. Note that although it's quite dark inside the tube in the picture and difficult to see, the tube is open at both ends.
The image on the right is a kind of flanged nut type thing I found in a leather strap binding, it's similar to what I need only smaller and also too short, so I know I'm not the only person to want a part like this.
I have searched for "flanged nut", and "threaded insert", among other terms, but I can't seem to find anything like this. Is it a thing? What's it called?