I have an idea for a 3d print I want to make to ‘adapt’ my wyze cams to various windows.
Basically there will be three “parts” that are digitally merged into one part to be 3d printed based on the angle I desire to put the camera at:
- a flat plate that i double-side-tape to the glass.
- a tight fitting box that holds the camera
- a connecting tunnel ‘link’ between them.
1&2 are easy.
And I could cheat for 3 and just make it way bigger than I need. But I don’t want to cheat.
I want the connection between the plate and the cam box to be as compact as possible. At first I thought this would mean a literal cone, but the camera sensor is rectangular, not round, so it would be a 4 sided pyramid.
How do I go about calculating this?
I assume there’s some angle up and down, and some angle left and right, beyond which the cam can not see.
I would assume the up angle = the down angle, and the left angle = the right angle.
But I already had an interesting prior experience with a cam mounted directly face on into a window. There is a sticker on the outside of the window, and I cut a hole in the sticker with an exacto knife to clear the view for the cam.
What I found then was that while the top and bottom were flat edges, the sides ended up being curved inward. I watched on cam and cut at the same time with the exacto until the whole screen was clear. What came out at the end was not a flat rectangle.
WHY?
Is there a name for the phenomenon? I imagine hollywood uses camera sun visors or something to reduce glare and those have to be calculated the same way.
What I’d ideally create is an OpenSCAD script that you input the horizontal and vertical angles you want for your cam and it pumps out an STL file of the mount. These mounts would make the cameras look cleaner outside the house, and would let you easily remove the camera to program and change SD cards without loosing the angle you carefully adjusted motion zones for. So I really want to design it right!
I might also consider building in ‘light traps’. beveled edges inside the cone to capture unwanted light, for a clearer picture. But I’m not entirely sure the fidelity of 3d printers is good enough for that.