If your enclosure has ~8mm rods like this one, you can snap this onto one of the rods, then attach a webcam using a 1/4" - 20 UNC screw (I recommend the 10mm length to ensure it can tighten against the arm). If it doesn't quite fit, try resizing slightly or message me for the original Tinkercad model.
The author marked this model as their own original creation.