38 bool Plot(
const wxString& aOutputPath,
const LSEQ& aLayersToPlot,
const LSEQ& aCommonLayers,
39 bool aUseGerberFileExtensions,
40 bool aOutputPathIsSingle =
false,
41 std::optional<wxString> aLayerName = std::nullopt,
42 std::optional<wxString> aSheetName = std::nullopt,
43 std::optional<wxString> aSheetPath = std::nullopt,
44 std::vector<wxString>* aOutputFiles =
nullptr );
68 static void BuildPlotFileName( wxFileName* aFilename,
const wxString& aOutputDir,
const wxString& aSuffix,
69 const wxString& aExtension );
107 const std::map<wxString, wxString>* aVarOverrides,
PCB_PLOT_PARAMS& aPlotOpts,
108 const LSEQ& aLayersToPlot,
const LSEQ& aLayersOnAll,
const wxString& aFileName,
Information pertinent to a Pcbnew printed circuit board.
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
LSEQ getPlotSequence(PCB_LAYER_ID aLayerToPlot, LSEQ aPlotWithAllLayersSeq)
Generates a final LSEQ for plotting by removing duplicates.
static void PlotJobToPlotOpts(PCB_PLOT_PARAMS &aOpts, JOB_EXPORT_PCB_PLOT *aJob, REPORTER &aReporter)
True when the board's out-of-date-chart policy regenerated charts during the last Plot().
PCB_PLOTTER(BOARD *aBoard, REPORTER *aReporter, PCB_PLOT_PARAMS &aParams)
PCB_PLOT_PARAMS m_plotOpts
bool Plot(const wxString &aOutputPath, const LSEQ &aLayersToPlot, const LSEQ &aCommonLayers, bool aUseGerberFileExtensions, bool aOutputPathIsSingle=false, std::optional< wxString > aLayerName=std::nullopt, std::optional< wxString > aSheetName=std::nullopt, std::optional< wxString > aSheetPath=std::nullopt, std::vector< wxString > *aOutputFiles=nullptr)
bool copperLayerShouldBeSkipped(PCB_LAYER_ID aLayerToPlot)
All copper layers that are disabled are actually selected This is due to wonkyness in automatically s...
static void BuildPlotFileName(wxFileName *aFilename, const wxString &aOutputDir, const wxString &aSuffix, const wxString &aExtension)
Complete a plot filename.
Parameters and options when plotting/printing a board.
Container for project specific data.
A pure virtual class used to derive REPORTER objects from.
PCB_LAYER_ID
A quick note on layer IDs:
bool PlotFootprintToSVG(const FOOTPRINT &aFootprint, PROJECT &aProject, const std::map< wxString, wxString > *aVarOverrides, PCB_PLOT_PARAMS &aPlotOpts, const LSEQ &aLayersToPlot, const LSEQ &aLayersOnAll, const wxString &aFileName, REPORTER *aReporter=nullptr)
Plot a footprint to an SVG file, with the footprint origin at the SVG origin and the page/viewBox siz...