This is a bracket to mount a door jam switch on bi-fold closet door.
I used this bracket to make the light in the hall closet automatic. No more dark closet!
Here is a link to the switch I used, Gardner Bender GSW-SK:
The OpenSCAD code is editable and included. There is also an STL, ready to slice and print.
The beautiful print was done by my son on his Prusa i3 MK3.