You will need:
3D printed mount
1mm x 35mm x 15mm piece of rubber silicone
2 x M4 Hex Screws (Length ~20mm and ~12mm)
2 x M4 Hex Nuts
Attach the piece of rubber silicone between the barrel and 3D-model to isolate the heat.
The screws and nuts will tight up everything in place.