28#define ARG_MODE_SEPARATE "--mode-separate" 
   29#define ARG_MODE_MULTIPAGE "--mode-multipage" 
   30#define ARG_MODE_SINGLE "--mode-single" 
   43            .help( 
UTF8STDSTR( 
_( 
"Mirror the board (useful for trying to show bottom layers)" ) ) )
 
   47            .help( 
UTF8STDSTR( 
_( 
"Exclude the reference designator text" ) ) )
 
   51            .help( 
UTF8STDSTR( 
_( 
"Exclude the value text" ) ) )
 
   55            .help( 
UTF8STDSTR( 
_( 
"Include the border and title block" ) ) )
 
   59            .help( 
UTF8STDSTR( 
_( 
"Subtract soldermask from silkscreen" ) ) )
 
   87            .default_value( std::string() )
 
   88            .help( 
UTF8STDSTR( 
_( 
"Color theme to use (will default to PCB Editor settings)" ) ) )
 
   89            .metavar( 
"THEME_NAME" );
 
  102                    _( 
"Generates a single file with the output arg path acting as the complete " 
  103                       "directory and filename path. COMMON_LAYER_LIST does not function in this " 
  104                       "mode. Instead LAYER_LIST controls all layers plotted." ) ) )
 
  108            .help( 
UTF8STDSTR( 
_( 
"Plot the layers to individual PDF files" ) ) )
 
  112            .help( 
UTF8STDSTR( 
_( 
"Plot the layers to a single PDF file with multiple pages" ) ) )
 
  118            .default_value( 1.0 )
 
  122            .default_value( std::string() )
 
 
  141    if( !wxFile::Exists( pdfJob->m_filename ) )
 
  143        wxFprintf( stderr, 
_( 
"Board file does not exist or is not accessible\n" ) );
 
  169    if( bgColor != wxEmptyString )
 
  170        pdfJob->m_pdfBackgroundColor = bgColor;
 
  173    pdfJob->m_drillShapeOption = 
static_cast<DRILL_MARKS>( drillShape );
 
  179    if( argModeMulti && argModeSeparate )
 
  181        wxFprintf( stderr, 
_( 
"Cannot use more than one mode flag\n" ) );
 
  191        pdfJob->m_pdfSingle = 
true;
 
  193    else if( argModeSeparate )
 
  195    else if( argModeSingle )
 
 
std::map< wxString, wxString > m_argDefineVars
Value of the drawing sheet arg if configured.
 
argparse::ArgumentParser m_argParser
 
void addDefineArg()
Set up the drawing sheet arg used by many of the export commands.
 
wxString m_argDrawingSheet
Value of the drawing sheet arg if configured.
 
wxString m_argOutput
Value of the output arg if configured.
 
wxString m_argInput
Value of the common input arg if configured.
 
void addDrawingSheetArg()
Set up the drawing sheet arg used by many of the export commands.
 
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
 
@ ALL_LAYERS_SEPARATE_FILE
 
@ ALL_LAYERS_ONE_FILE
DEPRECATED MODE.
 
@ ONE_PAGE_PER_LAYER_ONE_FILE
The most traditional output mode KiCad has had.
 
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
 
int ProcessJob(KIWAY::FACE_T aFace, JOB *aJob, REPORTER *aReporter=nullptr, PROGRESS_REPORTER *aProgressReporter=nullptr)
 
#define ARG_SKETCH_PADS_ON_FAB_LAYERS_DESC
 
#define ARG_INCLUDE_BORDER_TITLE
 
#define ARG_CROSSOUT_DNP_FPS_ON_FAB_LAYERS_DESC
 
#define ARG_CHECK_ZONES_DESC
 
#define ARG_SKETCH_PADS_ON_FAB_LAYERS
 
#define ARG_COMMON_LAYERS
 
#define ARG_SKETCH_DNP_FPS_ON_FAB_LAYERS_DESC
 
#define ARG_EXCLUDE_REFDES
 
#define ARG_BLACKANDWHITE_DESC
 
#define ARG_NEGATIVE_SHORT
 
#define ARG_EXCLUDE_VALUE
 
#define ARG_BACKGROUND_COLOR
 
#define ARG_BLACKANDWHITE
 
#define ARG_CROSSOUT_DNP_FPS_ON_FAB_LAYERS
 
#define DEPRECATED_ARG_PLOT_INVISIBLE_TEXT
 
#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS
 
#define DEPRECATED_ARG_PLOT_INVISIBLE_TEXT_WARNING
 
#define ARG_SUBTRACT_SOLDERMASK
 
#define ARG_BACKGROUND_COLOR_DESC
 
#define ARG_DRILL_SHAPE_OPTION_DESC
 
#define DEPRECATED_ARG_PLOT_INVISIBLE_TEXT_DESC
 
#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS_DESC
 
#define ARG_SKETCH_DNP_FPS_ON_FAB_LAYERS
 
#define ARG_DRILL_SHAPE_OPTION
 
#define ARG_NEGATIVE_DESC
 
#define ARG_MODE_MULTIPAGE
 
#define ARG_MODE_SEPARATE
 
static const int ERR_ARGS
 
static const int ERR_INVALID_INPUT_FILE
 
DRILL_MARKS
Plots and prints can show holes in pads and vias 3 options are available:
 
wxString From_UTF8(const char *cstring)
 
PCB_EXPORT_BASE_COMMAND(const std::string &aName, bool aInputCanBeDir=false, bool aOutputIsDir=false)
 
void addCommonLayersArg()