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
17
* along with this program. If not, see <https://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
enum class
OUTPUT_FORMAT
38
{
39
TEXT
,
40
JSON
41
};
42
43
enum class
UNITS
44
{
45
MM
,
46
INCH
,
47
MILS
48
};
49
50
wxString
m_inputFile
;
51
OUTPUT_FORMAT
m_outputFormat
=
OUTPUT_FORMAT::TEXT
;
52
UNITS
m_units
=
UNITS::MM
;
53
bool
m_calculateArea
=
false
;
54
bool
m_strict
=
false
;
55
};
56
57
#endif
JOB_GERBER_INFO::m_strict
bool m_strict
Definition
job_gerber_info.h:54
JOB_GERBER_INFO::m_units
UNITS m_units
Definition
job_gerber_info.h:52
JOB_GERBER_INFO::OUTPUT_FORMAT
OUTPUT_FORMAT
Definition
job_gerber_info.h:38
JOB_GERBER_INFO::OUTPUT_FORMAT::JSON
@ JSON
Definition
job_gerber_info.h:40
JOB_GERBER_INFO::OUTPUT_FORMAT::TEXT
@ TEXT
Definition
job_gerber_info.h:39
JOB_GERBER_INFO::m_inputFile
wxString m_inputFile
Definition
job_gerber_info.h:50
JOB_GERBER_INFO::JOB_GERBER_INFO
JOB_GERBER_INFO()
JOB_GERBER_INFO::m_outputFormat
OUTPUT_FORMAT m_outputFormat
Definition
job_gerber_info.h:51
JOB_GERBER_INFO::m_calculateArea
bool m_calculateArea
Definition
job_gerber_info.h:53
JOB_GERBER_INFO::UNITS
UNITS
Definition
job_gerber_info.h:44
JOB_GERBER_INFO::UNITS::INCH
@ INCH
Definition
job_gerber_info.h:46
JOB_GERBER_INFO::UNITS::MILS
@ MILS
Definition
job_gerber_info.h:47
JOB_GERBER_INFO::UNITS::MM
@ MM
Definition
job_gerber_info.h:45
JOB::JOB
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition
job.cpp:26
job.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:27
src
common
jobs
job_gerber_info.h
Generated on Tue Nov 17 2026 00:06:09 for KiCad PCB EDA Suite by
1.13.2