The end caps can be attached to square tube with dimensions 30 x 30 x 3 mm (edge radius 5.5 mm).
I have drawn two versions, one with a flat end and one with a pocket for inserting a slider pad (diameter 26 mm).