Thingiverse is full of fruit fly traps. But I haven't been able to find any that would match the jar I have. So I created one design, which is fully customizable. The most important parameter is of course the diameter, but you can change also the cone options if you wish.
Easy print without supports.