42 .help(
UTF8STDSTR(
_(
"Exclude the reference designator text" ) ) )
46 .help(
UTF8STDSTR(
_(
"Exclude the value text" ) ) )
50 .help(
UTF8STDSTR(
_(
"Include the border and title block" ) ) )
70 .help(
UTF8STDSTR(
_(
"Do not use the extended X2 format" ) ) )
74 .help(
UTF8STDSTR(
_(
"Do not generate netlist attributes" ) ) )
78 .help(
UTF8STDSTR(
_(
"Subtract soldermask from silkscreen" ) ) )
82 .help(
UTF8STDSTR(
_(
"Disable aperture macros" ) ) )
86 .help(
UTF8STDSTR(
_(
"Use drill/place file origin" ) ) )
90 .help(
UTF8STDSTR(
_(
"Precision of Gerber coordinates, valid options: 5 or 6" ) ) )
93 .metavar(
"PRECISION" );
96 .help(
UTF8STDSTR(
_(
"Use KiCad Gerber file extension" ) ) )
135 wxFprintf( stderr,
_(
"Board file does not exist or is not accessible\n" ) );
141 wxFprintf( stderr,
_(
"Gerber coordinate precision should be either 5 or 6\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.
int populateJob(JOB_EXPORT_PCB_GERBER *aJob)
PCB_EXPORT_GERBER_COMMAND(const std::string &aName, IO_TYPE aOutputType)
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)
#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 ARG_HIDE_DNP_FPS_ON_FAB_LAYERS
#define ARG_SUBTRACT_SOLDERMASK
#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
wxString From_UTF8(const char *cstring)
PCB_EXPORT_BASE_COMMAND(const std::string &aName, IO_TYPE aInputType=IO_TYPE::FILE, IO_TYPE aOutputType=IO_TYPE::FILE)
void addCommonLayersArg()