37 .default_value(
false )
38 .help(
UTF8STDSTR(
_(
"Flip bottom footprint padstacks" ) ) )
42 .default_value(
false )
43 .help(
UTF8STDSTR(
_(
"Generate unique pin names" ) ) )
47 .default_value(
false )
49 "Generate a new shape for each footprint instance (do not reuse shapes)" ) ) )
53 .default_value(
false )
54 .help(
UTF8STDSTR(
_(
"Use drill/place file origin as origin" ) ) )
58 .default_value(
false )
59 .help(
UTF8STDSTR(
_(
"Save the origin coordinates in the file" ) ) )
78 if( !wxFile::Exists( gencadJob->m_filename ) )
80 wxFprintf( stderr,
_(
"Board file does not exist or is not accessible\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_argOutput
Value of the output arg if configured.
wxString m_argInput
Value of the common input arg if configured.
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.
PCB_EXPORT_GENCAD_COMMAND()
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_FLIP_BOTTOM_PADS
#define ARG_UNIQUE_FOOTPRINTS
#define ARG_USE_DRILL_ORIGIN
#define ARG_STORE_ORIGIN_COORD
static const int ERR_INVALID_INPUT_FILE
PCB_EXPORT_BASE_COMMAND(const std::string &aName, bool aInputCanBeDir=false, bool aOutputIsDir=false)