What you need.
4x 1" drywall screws or similar.
1 8-32 threaded rod or screw to bolt on to the gate.
3d printing.
I 3d printed these using ABS with 1mm walls and 30% infill.
You need the following parts to assemble this gate.
2x body
2x spacer
1x gate.
Thants all. Have fun!