I bought a used Lumix 45-150 (H-FS45150) camera lens that did not come with a hood and being a 3d printing hobbyist I figured I'd go find an STL rather than paying for one. The only one I could find was a square lens hood by ChrisNupp. That's a fine model but I like to be able to put on and take off my lens cap without taking the hood off and I value having reversible hoods so I don't lose them when not in use. So… I decided I'll just make my own.
I very much admit that the model isn't perfect, you can rotate past the initial click into place (which is then stopped by a bump stop) since the notch wasn't deep enough (Version 7). Regardless, it does still click into place and hold relatively well. I would say the pressure to attach and detach feels quite similar to the OEM hood on my Lumix 12-60. I made sure to include some little ridges on the inside like with the OEM hoods to help mitigate reflections. There are also circle and line marks to help locate the hood onto the lens like with the OEM design.
Print it with the base/mounting interface side down and it should print fine without supports. I'd recommend a matte filament to further minimize reflections.
I may get around to re-doing this later since I don't like the low-poly appearance; I'd update the mounting lugs and fix some artifacts at the same time.
The author marked this model as their own original creation.