This is a curtain rod bracket that is sized to comfortably fit an 18mm rod, aka a curtain rod made from 1/2" metal electrical conduit painted black. The screw holes are 4mm, with 9mm recess which is countersunk.
I only put a screw in the top one and left the bottom one empty as it was plenty strong enough even when tugging on the curtains. The screw holes are quite big, but printed in matte black PLA, they are less visible than what the close up photos depict.
I derived inspiration from the following design but created from scratch: https://www.thingiverse.com/thing:4798619/files
The author hasn't provided the model origin yet.