KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_plot.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 (C) 1992-2023 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
#pragma once
22
23
#include <
kicommon.h
>
24
#include <
kicommon.h
>
25
#include <
layer_ids.h
>
26
#include <
lseq.h
>
27
#include <wx/string.h>
28
#include "
job.h
"
29
30
class
KICOMMON_API
JOB_EXPORT_PCB_PLOT
:
public
JOB
31
{
32
public
:
33
enum class
PLOT_FORMAT
34
{
35
HPGL
,
36
GERBER
,
37
POST
,
38
DXF
,
39
PDF
,
40
SVG
41
};
42
43
JOB_EXPORT_PCB_PLOT
(
PLOT_FORMAT
aFormat,
const
std::string& aType,
bool
aOutputIsDirectory );
44
45
PLOT_FORMAT
m_plotFormat
;
46
47
wxString
m_filename
;
48
wxString
m_colorTheme
;
49
wxString
m_drawingSheet
;
50
54
bool
m_mirror
;
55
bool
m_blackAndWhite
;
56
bool
m_negative
;
57
58
bool
m_sketchPadsOnFabLayers
;
59
bool
m_hideDNPFPsOnFabLayers
;
60
bool
m_sketchDNPFPsOnFabLayers
;
61
bool
m_crossoutDNPFPsOnFabLayers
;
62
63
bool
m_plotFootprintValues
;
64
bool
m_plotRefDes
;
65
bool
m_plotDrawingSheet
;
66
67
LSEQ
m_printMaskLayer
;
68
69
// How holes in pads/vias are plotted:
70
// 0 = no hole, 1 = small shape, 2 = actual shape
71
int
m_drillShapeOption
;
72
};
JOB_EXPORT_PCB_PLOT
Definition:
job_export_pcb_plot.h:31
JOB_EXPORT_PCB_PLOT::m_plotDrawingSheet
bool m_plotDrawingSheet
Definition:
job_export_pcb_plot.h:65
JOB_EXPORT_PCB_PLOT::m_sketchDNPFPsOnFabLayers
bool m_sketchDNPFPsOnFabLayers
Definition:
job_export_pcb_plot.h:60
JOB_EXPORT_PCB_PLOT::m_plotFootprintValues
bool m_plotFootprintValues
Definition:
job_export_pcb_plot.h:63
JOB_EXPORT_PCB_PLOT::m_colorTheme
wxString m_colorTheme
Definition:
job_export_pcb_plot.h:48
JOB_EXPORT_PCB_PLOT::m_sketchPadsOnFabLayers
bool m_sketchPadsOnFabLayers
Definition:
job_export_pcb_plot.h:58
JOB_EXPORT_PCB_PLOT::m_plotFormat
PLOT_FORMAT m_plotFormat
Definition:
job_export_pcb_plot.h:45
JOB_EXPORT_PCB_PLOT::PLOT_FORMAT
PLOT_FORMAT
Definition:
job_export_pcb_plot.h:34
JOB_EXPORT_PCB_PLOT::m_filename
wxString m_filename
Definition:
job_export_pcb_plot.h:47
JOB_EXPORT_PCB_PLOT::m_drawingSheet
wxString m_drawingSheet
Definition:
job_export_pcb_plot.h:49
JOB_EXPORT_PCB_PLOT::m_plotRefDes
bool m_plotRefDes
Definition:
job_export_pcb_plot.h:64
JOB_EXPORT_PCB_PLOT::m_crossoutDNPFPsOnFabLayers
bool m_crossoutDNPFPsOnFabLayers
Definition:
job_export_pcb_plot.h:61
JOB_EXPORT_PCB_PLOT::m_hideDNPFPsOnFabLayers
bool m_hideDNPFPsOnFabLayers
Definition:
job_export_pcb_plot.h:59
JOB_EXPORT_PCB_PLOT::m_printMaskLayer
LSEQ m_printMaskLayer
Definition:
job_export_pcb_plot.h:67
JOB_EXPORT_PCB_PLOT::m_blackAndWhite
bool m_blackAndWhite
Definition:
job_export_pcb_plot.h:55
JOB_EXPORT_PCB_PLOT::m_negative
bool m_negative
Definition:
job_export_pcb_plot.h:56
JOB_EXPORT_PCB_PLOT::m_drillShapeOption
int m_drillShapeOption
Definition:
job_export_pcb_plot.h:71
JOB_EXPORT_PCB_PLOT::m_mirror
bool m_mirror
Common Options.
Definition:
job_export_pcb_plot.h:54
JOB
An simple container class that lets us dispatch output jobs to kifaces.
Definition:
job.h:79
LSEQ
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
Definition:
lseq.h:47
job.h
SCH_PLOT_FORMAT::HPGL
@ HPGL
SCH_PLOT_FORMAT::DXF
@ DXF
SCH_PLOT_FORMAT::POST
@ POST
SCH_PLOT_FORMAT::PDF
@ PDF
SCH_PLOT_FORMAT::GERBER
@ GERBER
SCH_PLOT_FORMAT::SVG
@ SVG
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition:
kicommon.h:28
layer_ids.h
lseq.h
PLOT_FORMAT
PLOT_FORMAT
The set of supported output plot formats.
Definition:
plotter.h:65
src
common
jobs
job_export_pcb_plot.h
Generated on Thu Nov 21 2024 00:06:37 for KiCad PCB EDA Suite by
1.9.6