What does a gerber file contain? I consider that it is a generic file format produced by all PCB development softwares and has not been superseded yet.
What is a CAM file then? What is the relationship between the two?
The Gerber file contain a description of the PCB.
The description of the PCB for different layers are included separately.
(copper layers, soldeer mask. drilling...)
CAM is for manufacturing.
In simple form , CAM reads Gerberfile and gives command for each layer of the pcb to the machine.
A CAM has more features added for cost effective manufacturing also.
IN PCB , CAM requires Gerber file for making PCB.
CAM stands for computer aided manufacture.....
Gerber data only provides the artwork data for a PCB you also need to provide excellon data for the drilling information (Excellon is the most commonly used format).
Gerber data is similar to NC and plotter coding, its consists of instructions to draw paths (routes) of flash pads to create the desired artwork master for a particular PCB layer.
CAM file is creating from the GERBER file. Gerber files are available in different extension formats like .art, .glt etc depend on the Software for designing PCB.
CAM file is the communicating file to the PCB printing machine
You also need excellon drill data with Gerber data to read into a CAM system, use ODB++ instead its a newer and much better way of transmitting information....