This fan adapter is intended to fully cover a rectangular/square fan and mount to the wall around it. It has a round opening on the other end.
It is fully configurable using OpenSCAD, but does require BOSL2 for its cuboid definition.
Here's some examples of custom configurations you can make with this, as long as you're trying to adapt something rectangular to something round, you should be able to make it work using this model.



You can also find the files for this model on GitHub: kiliankoe/openscad-models/fan-adapter
The author marked this model as their own original creation.