KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_gerbers.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 (C) 2023 Mark Roszko <
[email protected]
>
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation, either version 3 of the License, or (at your
10
* option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License along
18
* with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#include <
jobs/job_export_pcb_gerbers.h
>
22
#include <
jobs/job_registry.h
>
23
#include <
i18n_utility.h
>
24
25
JOB_EXPORT_PCB_GERBERS::JOB_EXPORT_PCB_GERBERS
() :
26
JOB_EXPORT_PCB_GERBER
(
"gerbers"
),
27
m_useBoardPlotParams( false ),
28
m_createJobsFile( true )
29
{
30
m_params
.emplace_back(
new
JOB_PARAM<bool>
(
"create_gerber_job_file"
, &
m_createJobsFile
,
31
m_createJobsFile
) );
32
}
33
34
35
wxString
JOB_EXPORT_PCB_GERBERS::GetDefaultDescription
()
const
36
{
37
return
_
(
"Export Gerbers"
);
38
}
39
40
41
wxString
JOB_EXPORT_PCB_GERBERS::GetSettingsDialogTitle
()
const
42
{
43
return
_
(
"Export Gerbers Job Settings"
);
44
}
45
46
47
REGISTER_JOB
( pcb_export_gerbers,
_HKI
(
"PCB: Export Gerbers"
),
KIWAY::FACE_PCB
,
48
JOB_EXPORT_PCB_GERBERS
);
JOB_EXPORT_PCB_GERBERS
Definition:
job_export_pcb_gerbers.h:31
JOB_EXPORT_PCB_GERBERS::m_createJobsFile
bool m_createJobsFile
Definition:
job_export_pcb_gerbers.h:39
JOB_EXPORT_PCB_GERBERS::GetDefaultDescription
wxString GetDefaultDescription() const override
Definition:
job_export_pcb_gerbers.cpp:35
JOB_EXPORT_PCB_GERBERS::JOB_EXPORT_PCB_GERBERS
JOB_EXPORT_PCB_GERBERS()
Definition:
job_export_pcb_gerbers.cpp:25
JOB_EXPORT_PCB_GERBERS::GetSettingsDialogTitle
wxString GetSettingsDialogTitle() const override
Definition:
job_export_pcb_gerbers.cpp:41
JOB_EXPORT_PCB_GERBER
Definition:
job_export_pcb_gerber.h:30
JOB_PARAM
Definition:
job.h:51
JOB::m_params
std::vector< JOB_PARAM_BASE * > m_params
Definition:
job.h:262
KIWAY::FACE_PCB
@ FACE_PCB
pcbnew DSO
Definition:
kiway.h:294
_HKI
#define _HKI(x)
Definition:
dialog_page_settings.cpp:60
_
#define _(s)
Definition:
eda_3d_actions.cpp:36
i18n_utility.h
Some functions to handle hotkeys in KiCad.
job_export_pcb_gerbers.h
job_registry.h
REGISTER_JOB
#define REGISTER_JOB(job_name, title, face, T)
Definition:
job_registry.h:64
src
common
jobs
job_export_pcb_gerbers.cpp
Generated on Tue Jul 15 2025 00:06:01 for KiCad PCB EDA Suite by
1.9.6