31#define ARG_DPI "--dpi"
32#define ARG_NO_ANTIALIAS "--no-antialias"
45 .help(
UTF8STDSTR(
_(
"Subtract soldermask from silkscreen" ) ) )
49 .help(
UTF8STDSTR(
_(
"Mirror the board (useful for trying to show bottom layers)" ) ) )
53 .default_value( std::string() )
54 .help(
UTF8STDSTR(
_(
"Color theme to use (will default to PCB editor settings)" ) ) )
55 .metavar(
"THEME_NAME" );
82 .help(
UTF8STDSTR(
_(
"Include the border and title block" ) ) )
89 .metavar(
"SHAPE_OPTION" );
98 .help(
UTF8STDSTR( wxString::Format(
_(
"Resolution in dots per inch (default %d)" ),
105 .help(
UTF8STDSTR(
_(
"Disable anti-aliasing" ) ) )
125 if( pngJob->m_sketchPadsOnFabLayers )
126 pngJob->m_plotPadNumbers =
true;
132 pngJob->m_drillShapeOption =
static_cast<DRILL_MARKS>( drillShape );
153 pngJob->m_plotDrawingSheet =
true;
163 if( !wxFile::Exists( pngJob->m_filename ) )
165 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.
void addVariantsArg()
Set up the list of variants to output arguement.
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.
std::vector< wxString > m_argVariantNames
The list of variant names to output.
void addDrawingSheetArg()
Set up the drawing sheet arg used by many of the export commands.
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_BLACKANDWHITE_DESC
#define ARG_NEGATIVE_SHORT
#define ARG_BLACKANDWHITE
#define ARG_CROSSOUT_DNP_FPS_ON_FAB_LAYERS
#define ARG_HIDE_DNP_FPS_ON_FAB_LAYERS
#define ARG_SUBTRACT_SOLDERMASK
#define ARG_DRILL_SHAPE_OPTION_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
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:
constexpr int DEFAULT_PNG_DPI
constexpr int MIN_PNG_DPI
constexpr int MAX_PNG_DPI
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()
int doPerform(KIWAY &aKiway) override
The internal handler that should be overloaded to implement command specific processing and work.