KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_dxf.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 (C) 2022 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
#ifndef JOB_EXPORT_PCB_DXF_H
22
#define JOB_EXPORT_PCB_DXF_H
23
24
#include <
kicommon.h
>
25
#include <
layer_ids.h
>
26
#include <
lseq.h
>
27
#include <
jobs/job_export_pcb_plot.h
>
28
#include "
job.h
"
29
30
class
KICOMMON_API
JOB_EXPORT_PCB_DXF
:
public
JOB_EXPORT_PCB_PLOT
31
{
32
public
:
33
JOB_EXPORT_PCB_DXF
();
34
wxString
GetDefaultDescription
()
const override
;
35
wxString
GetSettingsDialogTitle
()
const override
;
36
37
enum class
DXF_UNITS
38
{
39
INCH
,
// Do not use IN: it conflicts with a Windows header
40
MM
41
};
42
43
enum class
GEN_MODE
44
{
45
SINGLE
,
46
MULTI
47
};
48
49
public
:
50
bool
m_plotGraphicItemsUsingContours
;
51
bool
m_polygonMode
;
52
DXF_UNITS
m_dxfUnits
;
53
54
GEN_MODE
m_genMode
;
55
};
56
57
#endif
JOB_EXPORT_PCB_DXF::JOB_EXPORT_PCB_DXF
JOB_EXPORT_PCB_DXF()
Definition
job_export_pcb_dxf.cpp:37
JOB_EXPORT_PCB_DXF::DXF_UNITS
DXF_UNITS
Definition
job_export_pcb_dxf.h:38
JOB_EXPORT_PCB_DXF::DXF_UNITS::INCH
@ INCH
Definition
job_export_pcb_dxf.h:39
JOB_EXPORT_PCB_DXF::DXF_UNITS::MM
@ MM
Definition
job_export_pcb_dxf.h:40
JOB_EXPORT_PCB_DXF::m_plotGraphicItemsUsingContours
bool m_plotGraphicItemsUsingContours
Definition
job_export_pcb_dxf.h:50
JOB_EXPORT_PCB_DXF::GEN_MODE
GEN_MODE
Definition
job_export_pcb_dxf.h:44
JOB_EXPORT_PCB_DXF::GEN_MODE::SINGLE
@ SINGLE
Definition
job_export_pcb_dxf.h:45
JOB_EXPORT_PCB_DXF::GEN_MODE::MULTI
@ MULTI
Definition
job_export_pcb_dxf.h:46
JOB_EXPORT_PCB_DXF::m_genMode
GEN_MODE m_genMode
Definition
job_export_pcb_dxf.h:54
JOB_EXPORT_PCB_DXF::m_polygonMode
bool m_polygonMode
Definition
job_export_pcb_dxf.h:51
JOB_EXPORT_PCB_DXF::m_dxfUnits
DXF_UNITS m_dxfUnits
Definition
job_export_pcb_dxf.h:52
JOB_EXPORT_PCB_PLOT::JOB_EXPORT_PCB_PLOT
JOB_EXPORT_PCB_PLOT(PLOT_FORMAT aFormat, const std::string &aType, bool aOutputIsDirectory)
JOB::GetDefaultDescription
virtual wxString GetDefaultDescription() const
Definition
job.cpp:74
JOB::GetSettingsDialogTitle
virtual wxString GetSettingsDialogTitle() const
Definition
job.cpp:80
job.h
job_export_pcb_plot.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:28
layer_ids.h
lseq.h
src
common
jobs
job_export_pcb_dxf.h
Generated on Sun Sep 21 2025 01:05:21 for KiCad PCB EDA Suite by
1.13.2