I added some custom Gcode to my Marlin firmware and Slic3r config. M250 takes a photo on every layer change.Made at Hive76