This webcam mount can be stood on any flat surface or affixed to any ferrous surface (for webcams, not heavy cameras.) It has a hole for a 1/4-20 screw with a beveled head.
I set my slicer to pause at layer 21 to insert the magnets, and then the print encloses them fully.
6 magnets, 10mm diameter x 3mm height
1 1/4-20 screw (I used a 1/2" Philips flat w/ an undercut, but use whatever works)
Webcam of your choice (with a 1/4-20 thread!)
Monoprice Maker Pro Mk. 1
Pause at layer 21 (.2mm layer height) to place magnets in recesses. My printer has a magnetic bed; without one this may be problematic.