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 and their numbers on front and back fab layers" 
   34#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS "--hide-DNP-footprints-on-fab-layers" 
   35#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS_DESC "Don't plot text & graphics of DNP footprints on fab layers" 
   36#define ARG_SKETCH_DNP_FPS_ON_FAB_LAYERS "--sketch-DNP-footprints-on-fab-layers" 
   37#define ARG_SKETCH_DNP_FPS_ON_FAB_LAYERS_DESC "Plot graphics of DNP footprints in sketch mode on fab layers" 
   38#define ARG_CROSSOUT_DNP_FPS_ON_FAB_LAYERS "--crossout-DNP-footprints-on-fab-layers" 
   39#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" 
   41#define ARG_DRILL_SHAPE_OPTION "--drill-shape-opt" 
   42#define ARG_DRILL_SHAPE_OPTION_DESC "Set pad/via drill shape option (0 = no shape, 1 = small shape, 2 = actual shape)" 
   44#define ARG_NEGATIVE "--negative" 
   45#define ARG_NEGATIVE_SHORT "-n" 
   46#define ARG_NEGATIVE_DESC "Plot as negative (useful for directly etching from the export)" 
   48#define ARG_LAYERS "--layers" 
   49#define ARG_EXCLUDE_REFDES "--exclude-refdes" 
   50#define ARG_EXCLUDE_VALUE "--exclude-value" 
   51#define ARG_THEME "--theme" 
   52#define ARG_INCLUDE_BORDER_TITLE "--include-border-title" 
   53#define ARG_SUBTRACT_SOLDERMASK "--subtract-soldermask" 
   54#define ARG_MIRROR "--mirror" 
   56#define DEPRECATED_ARG_PLOT_INVISIBLE_TEXT "--plot-invisible-text" 
   57#define DEPRECATED_ARG_PLOT_INVISIBLE_TEXT_DESC "Deprecated.  Has no effect." 
   58#define DEPRECATED_ARG_PLOT_INVISIBLE_TEXT_WARNING "--plot-invisible-text has been deprecated as of KiCad 9.0.1.  It will have no effect." 
   60#define ARG_FLIP_BOTTOM_PADS "--flip-bottom-pads" 
   61#define ARG_UNIQUE_PINS "--unique-pins" 
   62#define ARG_UNIQUE_FOOTPRINTS "--unique-footprints" 
   63#define ARG_USE_DRILL_ORIGIN "--use-drill-origin" 
   64#define ARG_STORE_ORIGIN_COORD "--store-origin-coord" 
   66#define ARG_COMMON_LAYERS "--common-layers" 
   68#define ARG_SCALE "--scale" 
   69#define ARG_SCALE_DESC "Scale for the PCB, not for the border and title. Use 0 for autoscale" 
   71#define ARG_BACKGROUND_COLOR "--bg-color" 
   72#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" 
   74#define ARG_CHECK_ZONES "--check-zones" 
   75#define ARG_CHECK_ZONES_DESC "Check and refill zones if required" 
   80                             bool aOutputIsDir = 
false );
 
 
COMMAND(const std::string &aName)
Define a new COMMAND instance.
 
PCB_EXPORT_BASE_COMMAND(const std::string &aName, bool aInputCanBeDir=false, bool aOutputIsDir=false)
 
void addCommonLayersArg()