2 #include "gerber_writer.hpp"
3 #include "excellon_writer.hpp"
9 friend class CanvasGerber;
12 GerberExporter(
const class Board &b,
const class FabOutputSettings &s);
14 std::string get_log();
17 const class Board &brd;
18 const class FabOutputSettings &settings;
19 std::map<int, GerberWriter> writers;
20 GerberWriter *get_writer_for_layer(
int l);
21 ExcellonWriter *get_drill_writer(
bool pth);
22 std::unique_ptr<ExcellonWriter> drill_writer_pth;
23 std::unique_ptr<ExcellonWriter> drill_writer_npth;
24 std::stringstream log;