Linear rails for 3D printers