Shelf brackets and Supports

So ... I bought a 3D printer. Now I need a shelf to put in on. Hmmm ... Better print some up!

It's a reasonable sized shelf, so I couldn't print brackets any near big enough. So I had some old 30mm diameter aluminium tubing and designed some brackets, and supports (angled at 30deg and 60deg) to suit the tubing.

The scad source files are attached. The dimensions are parameters and you may need to play with the dimensions to get the shape right.

I printed mine in PLA, but they probably would be better in ABS.