21#ifndef COMMAND_EXPORT_PCB_BASE_H
22#define COMMAND_EXPORT_PCB_BASE_H
28#define ARG_BLACKANDWHITE "--black-and-white"
29#define ARG_BLACKANDWHITE_DESC "Black and white only"
31#define ARG_SKETCH_PADS_ON_FAB_LAYERS "--sketch-pads-on-fab-layers"
32#define ARG_SKETCH_PADS_ON_FAB_LAYERS_DESC "Draw pad outlines on front and back fab layers"
34#define ARG_SKETCH_PAD_NUMBERS "--sketch-pad-numbers"
35#define ARG_SKETCH_PAD_NUMBERS_DESC "Plot pad numbers on top of sketched pads on fab layers"
37#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS "--hide-DNP-footprints-on-fab-layers"
38#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS_DESC "Don't plot text & graphics of DNP footprints on fab layers"
39#define ARG_SKETCH_DNP_FPS_ON_FAB_LAYERS "--sketch-DNP-footprints-on-fab-layers"
40#define ARG_SKETCH_DNP_FPS_ON_FAB_LAYERS_DESC "Plot graphics of DNP footprints in sketch mode on fab layers"
41#define ARG_CROSSOUT_DNP_FPS_ON_FAB_LAYERS "--crossout-DNP-footprints-on-fab-layers"
42#define ARG_CROSSOUT_DNP_FPS_ON_FAB_LAYERS_DESC "Plot an 'X' over the courtyard of DNP footprints on fab layers, and strikeout their reference designators"
44#define ARG_DRILL_SHAPE_OPTION "--drill-shape-opt"
45#define ARG_DRILL_SHAPE_OPTION_DESC "Set pad/via drill shape option (0 = no shape, 1 = small shape, 2 = actual shape)"
47#define ARG_NEGATIVE "--negative"
48#define ARG_NEGATIVE_SHORT "-n"
49#define ARG_NEGATIVE_DESC "Plot as negative (useful for directly etching from the export)"
51#define ARG_LAYERS "--layers"
52#define ARG_EXCLUDE_REFDES "--exclude-refdes"
53#define ARG_EXCLUDE_VALUE "--exclude-value"
54#define ARG_THEME "--theme"
55#define ARG_INCLUDE_BORDER_TITLE "--include-border-title"
56#define ARG_SUBTRACT_SOLDERMASK "--subtract-soldermask"
57#define ARG_MIRROR "--mirror"
59#define ARG_FLIP_BOTTOM_PADS "--flip-bottom-pads"
60#define ARG_UNIQUE_PINS "--unique-pins"
61#define ARG_UNIQUE_FOOTPRINTS "--unique-footprints"
62#define ARG_USE_DRILL_ORIGIN "--use-drill-origin"
63#define ARG_STORE_ORIGIN_COORD "--store-origin-coord"
65#define ARG_COMMON_LAYERS "--common-layers"
67#define ARG_SCALE "--scale"
68#define ARG_SCALE_DESC "Scale for the PCB, not for the border and title. Use 0 for autoscale"
70#define ARG_BACKGROUND_COLOR "--bg-color"
71#define ARG_BACKGROUND_COLOR_DESC "Background color, can be in hex #rrggbb, #rrggbbaa; or css rgb(r,g,b), rgba(r,g,b,a) format"
73#define ARG_CHECK_ZONES "--check-zones"
74#define ARG_CHECK_ZONES_DESC "Check and refill zones if required"
COMMAND(const std::string &aName)
Define a new COMMAND instance.
PCB_EXPORT_BASE_COMMAND(const std::string &aName, IO_TYPE aInputType=IO_TYPE::FILE, IO_TYPE aOutputType=IO_TYPE::FILE)
void addCommonLayersArg()