KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_gerber_info.h
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
20
#ifndef JOB_GERBER_INFO_H
21
#define JOB_GERBER_INFO_H
22
23
#include <
kicommon.h
>
24
#include "
job.h
"
25
32
class
KICOMMON_API
JOB_GERBER_INFO
:
public
JOB
33
{
34
public
:
35
JOB_GERBER_INFO
();
36
37
wxString
GetDefaultDescription
()
const override
;
38
wxString
GetSettingsDialogTitle
()
const override
;
39
40
enum class
OUTPUT_FORMAT
41
{
42
TEXT
,
43
JSON
44
};
45
46
enum class
UNITS
47
{
48
MM
,
49
INCH
,
50
MILS
51
};
52
53
wxString
m_inputFile
;
54
OUTPUT_FORMAT
m_outputFormat
=
OUTPUT_FORMAT::TEXT
;
55
UNITS
m_units
=
UNITS::MM
;
56
bool
m_calculateArea
=
false
;
57
bool
m_strict
=
false
;
58
};
59
60
#endif
JOB_GERBER_INFO::m_strict
bool m_strict
Definition
job_gerber_info.h:57
JOB_GERBER_INFO::m_units
UNITS m_units
Definition
job_gerber_info.h:55
JOB_GERBER_INFO::OUTPUT_FORMAT
OUTPUT_FORMAT
Definition
job_gerber_info.h:41
JOB_GERBER_INFO::OUTPUT_FORMAT::JSON
@ JSON
Definition
job_gerber_info.h:43
JOB_GERBER_INFO::OUTPUT_FORMAT::TEXT
@ TEXT
Definition
job_gerber_info.h:42
JOB_GERBER_INFO::m_inputFile
wxString m_inputFile
Definition
job_gerber_info.h:53
JOB_GERBER_INFO::JOB_GERBER_INFO
JOB_GERBER_INFO()
JOB_GERBER_INFO::m_outputFormat
OUTPUT_FORMAT m_outputFormat
Definition
job_gerber_info.h:54
JOB_GERBER_INFO::m_calculateArea
bool m_calculateArea
Definition
job_gerber_info.h:56
JOB_GERBER_INFO::UNITS
UNITS
Definition
job_gerber_info.h:47
JOB_GERBER_INFO::UNITS::INCH
@ INCH
Definition
job_gerber_info.h:49
JOB_GERBER_INFO::UNITS::MILS
@ MILS
Definition
job_gerber_info.h:50
JOB_GERBER_INFO::UNITS::MM
@ MM
Definition
job_gerber_info.h:48
JOB::JOB
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition
job.cpp:26
JOB::GetDefaultDescription
virtual wxString GetDefaultDescription() const
Definition
job.cpp:74
JOB::GetSettingsDialogTitle
virtual wxString GetSettingsDialogTitle() const
Definition
job.cpp:80
job.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:27
src
common
jobs
job_gerber_info.h
Generated on Tue Apr 14 2026 00:07:47 for KiCad PCB EDA Suite by
1.13.2