We have a built in button called "snap layer", which will use whatever camera you select to take an image everytime a new layer is announced in the gcode, and label each one as layernumber.jpg in a folder with the gcode file as the name. I don't know if other software has this feature.