44            .help( 
UTF8STDSTR( 
_( 
"Exclude the reference designator text" ) ) )
 
   48            .help( 
UTF8STDSTR( 
_( 
"Exclude the value text" ) ) )
 
   52            .help( 
UTF8STDSTR( 
_( 
"Include the border and title block" ) ) )
 
   72            .help( 
UTF8STDSTR( 
_( 
"Do not use the extended X2 format" ) ) )
 
   76            .help( 
UTF8STDSTR( 
_( 
"Do not generate netlist attributes" ) ) )
 
   80            .help( 
UTF8STDSTR( 
_( 
"Subtract soldermask from silkscreen" ) ) )
 
   84            .help( 
UTF8STDSTR( 
_( 
"Disable aperture macros" ) ) )
 
   88            .help( 
UTF8STDSTR( 
_( 
"Use drill/place file origin" ) ) )
 
   92            .help( 
UTF8STDSTR( 
_( 
"Precision of Gerber coordinates, valid options: 5 or 6" ) ) )
 
   95            .metavar( 
"PRECISION" );
 
   98            .help( 
UTF8STDSTR( 
_( 
"Use KiCad Gerber file extension" ) ) )
 
 
  148        wxFprintf( stderr, 
_( 
"Board file does not exist or is not accessible\n" ) );
 
  154        wxFprintf( stderr, 
_( 
"Gerber coordinate precision should be either 5 or 6\n" ) );
 
 
  164    wxFprintf( stdout, wxT( 
"\033[33;1m%s\033[0m\n" ),
 
  165               _( 
"This command is deprecated as of KiCad 9.0, please use \"gerbers\" instead\n" ) );
 
 
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.
 
PCB_EXPORT_GERBER_COMMAND(const std::string &aName, bool aOutputIsDir=false)
 
int populateJob(JOB_EXPORT_PCB_GERBER *aJob)
 
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
 
PCB_EXPORT_GERBER_COMMAND()
 
bool m_useProtelFileExtension
 
bool m_includeNetlistAttributes
 
bool m_disableApertureMacros
 
bool m_sketchDNPFPsOnFabLayers
 
bool m_plotFootprintValues
 
bool m_checkZonesBeforePlot
 
bool m_sketchPadsOnFabLayers
 
std::optional< wxString > m_argLayers
 
bool m_crossoutDNPFPsOnFabLayers
 
bool m_hideDNPFPsOnFabLayers
 
std::optional< wxString > m_argCommonLayers
 
bool m_subtractSolderMaskFromSilk
 
void SetConfiguredOutputPath(const wxString &aPath)
Sets the configured output path for the job, this path is always saved to file.
 
void SetVarOverrides(const std::map< wxString, wxString > &aVarOverrides)
 
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)
 
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
 
#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_EXCLUDE_VALUE
 
#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 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_DISABLE_APERTURE_MACROS
 
#define ARG_USE_DRILL_FILE_ORIGIN
 
#define ARG_NO_PROTEL_EXTENSION
 
This file contains miscellaneous commonly used macros and functions.
 
static const int ERR_ARGS
 
static const int ERR_INVALID_INPUT_FILE
 
std::vector< FAB_LAYER_COLOR > dummy
 
wxString From_UTF8(const char *cstring)
 
PCB_EXPORT_BASE_COMMAND(const std::string &aName, bool aInputCanBeDir=false, bool aOutputIsDir=false)
 
void addCommonLayersArg()