This model extends the 90 degree bracket from https://www.thingiverse.com/thing:3210401 to 138mm and provides parts to mount Logitech 9000 web camera to the Prusa Mk3S printer.
To be mounted, the camera's clip/foot has to be removed - for this, you will have to undo the bolts around the clip, and then undo 4 screws inside the clip body. After this, the camera's metal mounting brackets can be screwed to the mount in the mix with M2x5mm bolts or similar.
As pictured, the camera is mounted to the long mount and uses the 7mm bushing between the mount and the 90 degree bracket (M3x25mm bolt). This provides a view slightly atop the bed.
Alternatively, you can use the long bushing together with the original 'MK3-MK3s_Extended_Strengthened_v4_fixed' from https://www.thingiverse.com/thing:2949538 - that will put the camera level with the bed.
Note that 9000 comes with an autofocus feature. You can adjust the focus manually.
Install software:
sudo apt install uvcdynctrl
sudo apt-get install guvcview
Reboot your Pi.
Find your device number:
v4l2-ctl --list-devices
Verify the 'focus' control has been enabled for the camera :
uvcdynctrl -d /dev/video0 -c
If not, install the driver:
wget https://raw.githubusercontent.com/cshorler/webcam-tools/master/uvcdynctrl/data/046d/logitech.xml
sudo uvcdynctrl -v -d /dev/video0 -i logitech.xml
At this point, you should have the focus feature. You can issue the following command in the terminal to change the focus (you should see the picture change in real time in Octoprint):
v4l2-ctl -d /dev/video0 --set-ctrl=focus=115
Once you find a suitable value, add your final focus setting command to /etc/rc.local to persist on reboots.
モデルソース
