Think perspex would be the better and cheaper option. Very quickly fabricated, better finish than 3d printed and can be remachined if the dimensions needed to be changed. Also probably ~$30 in cost too and ten minutes work.
Great idea about adding or replacing the shelf in a cupboard with a perspex one. So wish I had shelves or cupboards above my bathroom sink to do this.