KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_plot.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
21
22JOB_EXPORT_PCB_PLOT::JOB_EXPORT_PCB_PLOT( PLOT_FORMAT aFormat, const std::string& aType,
23 bool aOutputIsDirectory )
24 : JOB( aType, aOutputIsDirectory ),
25 m_plotFormat( aFormat ),
26 m_filename(),
27 m_colorTheme(),
28 m_drawingSheet(),
29 m_mirror( false ),
30 m_blackAndWhite( false ),
31 m_negative( false ),
32 m_sketchPadsOnFabLayers( false ),
33 m_hideDNPFPsOnFabLayers( false ),
34 m_sketchDNPFPsOnFabLayers( true ),
35 m_crossoutDNPFPsOnFabLayers( true ),
36 m_plotFootprintValues( true ),
37 m_plotRefDes( true ),
38 m_plotDrawingSheet( true ),
39 m_plotPadNumbers( false ),
40 m_plotInvisibleText( false ),
41 m_printMaskLayer(),
42 m_printMaskLayersToIncludeOnAllLayers(),
43 m_drillShapeOption( DRILL_MARKS::FULL_DRILL_SHAPE ),
44 m_useDrillOrigin( false )
45{
46 m_params.emplace_back( new JOB_PARAM_LSEQ( "layers", &m_printMaskLayer, m_printMaskLayer ) );
47 m_params.emplace_back( new JOB_PARAM_LSEQ( "layers_to_include_on_all_layers",
50
51
52 m_params.emplace_back(
53 new JOB_PARAM<bool>( "plot_pad_numbers", &m_plotPadNumbers, m_plotPadNumbers ) );
54 m_params.emplace_back( new JOB_PARAM<bool>( "plot_invisible_text", &m_plotInvisibleText,
56
57 m_params.emplace_back(
58 new JOB_PARAM<bool>( "plot_drawing_sheet", &m_plotDrawingSheet, m_plotDrawingSheet ) );
59
60 m_params.emplace_back( new JOB_PARAM<bool>( "plot_ref_des", &m_plotRefDes, m_plotRefDes ) );
61
62 m_params.emplace_back(
63 new JOB_PARAM<bool>( "use_drill_origin", &m_useDrillOrigin, m_useDrillOrigin ) );
64
65 m_params.emplace_back(
66 new JOB_PARAM<wxString>( "drawing_sheet", &m_drawingSheet, m_drawingSheet ) );
67}
JOB_EXPORT_PCB_PLOT(PLOT_FORMAT aFormat, const std::string &aType, bool aOutputIsDirectory)
LSEQ m_printMaskLayer
Layers to include on all individual layer prints.
Definition: job.h:50
An simple container class that lets us dispatch output jobs to kifaces.
Definition: job.h:182
std::vector< JOB_PARAM_BASE * > m_params
Definition: job.h:261