Most gerber formats can actually be exported to STL format (Stereolithrography) for 3D printing. You can use programs like ACE 3000 converter for this, but you can probably find more alternatives for gerber to stl conversion. Sometimes you will have to use a specific gerber format, for example gbr.
Open GERBER file Open STL fileA CAD and Gerber conversion software