May 1, 2018
Description
WIP! My 2nd OpenSCAD file ever! Expect a lot of changes to happen.
This attempts to create a hood for any lens out there. Well, at least one I can get my hands on.
There are three hood types you can choose from.
There are various lens manufacturer bayonets listed. I'll be adding more as time goes, but the Canon one works pretty well so it's time to publish.
0) Friction fit. The universal one.
The formula used for Angle Of View (AOV) is
Unfortunately, lenses and optics are filled with mystical unicorns and are incomprehensible to me.
So, I added in a way to move the AOV generated features in the Fudge Factor tab.
The one that "should" get the most use is the Bayonet_Hood_Distance. On my Canon 17-40mm F4, -41.5 looked really promising. On my Sigma 70-200mm F2.8, it was more like -150.
The Angle_of_view_Fudge value is there for you to play with. However, a 0 value is probably just fine as the problem isn't so much the shape of the feature, but how big the feature is. Not sure that makes sense... Again, voodoo.
License:
Creative Commons - Attribution - Non-Commercial - Share Alike