29#include <wx/tokenzr.h>
40 .help(
UTF8STDSTR(
_(
"Exclude the reference designator text" ) ) )
41 .implicit_value(
true )
42 .default_value(
false );
45 .help(
UTF8STDSTR(
_(
"Exclude the value text" ) ) )
46 .implicit_value(
true )
47 .default_value(
false );
50 .help(
UTF8STDSTR(
_(
"Include the border and title block" ) ) )
51 .implicit_value(
true )
52 .default_value(
false );
55 .help(
UTF8STDSTR(
_(
"Do not use the extended X2 format" ) ) )
56 .implicit_value(
true )
57 .default_value(
false );
60 .help(
UTF8STDSTR(
_(
"Do not generate netlist attributes" ) ) )
61 .implicit_value(
true )
62 .default_value(
false );
65 .help(
UTF8STDSTR(
_(
"Subtract soldermask from silkscreen" ) ) )
66 .implicit_value(
true )
67 .default_value(
false );
70 .help(
UTF8STDSTR(
_(
"Disable aperture macros" ) ) )
71 .implicit_value(
true )
72 .default_value(
false );
75 .help(
UTF8STDSTR(
_(
"Precision of gerber coordinates, valid options: 5 or 6" ) ) )
103 wxFprintf( stderr,
_(
"Board file does not exist or is not accessible\n" ) );
109 wxFprintf( stderr,
_(
"Gerber coordinate precision should be either 5 or 6\n" ) );
125 exitCode = populateJob( gerberJob.get() );
argparse::ArgumentParser m_argParser
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
EXPORT_PCB_GERBER_COMMAND()
int populateJob(JOB_EXPORT_PCB_GERBER *aJob)
bool m_includeNetlistAttributes
bool m_disableApertureMacros
bool m_plotFootprintValues
bool m_plotBorderTitleBlocks
bool m_subtractSolderMaskFromSilk
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
int ProcessJob(KIWAY::FACE_T aFace, JOB *job)
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
#define ARG_INCLUDE_BORDER_TITLE
#define ARG_EXCLUDE_REFDES
#define ARG_EXCLUDE_VALUE
#define ARG_DISABLE_APERTURE_MACROS
#define ARG_SUBTRACT_SOLDERMASK
This file contains miscellaneous commonly used macros and functions.
static wxString FROM_UTF8(const char *cstring)
Convert a UTF8 encoded C string to a wxString for all wxWidgets build modes.
static const int ERR_ARGS
static const int ERR_INVALID_INPUT_FILE
std::vector< FAB_LAYER_COLOR > dummy
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
void addLayerArg(bool aRequire)