KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_step.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-2022 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_STEP_H
22
#define JOB_EXPORT_STEP_H
23
24
#include <wx/string.h>
25
#include "
job.h
"
26
27
class
JOB_EXPORT_PCB_STEP
:
public
JOB
28
{
29
public
:
30
JOB_EXPORT_PCB_STEP
(
bool
aIsCli ) :
31
JOB
(
"step"
, aIsCli ),
32
m_overwrite
( false ),
33
m_useGridOrigin
( false ),
34
m_useDrillOrigin
( false ),
35
m_boardOnly
( false ),
36
m_includeUnspecified
( false ),
37
m_includeDNP
( false ),
38
m_substModels
( false ),
39
m_filename
(),
40
m_outputFile
(),
41
m_xOrigin
( 0.0 ),
42
m_yOrigin
( 0.0 ),
43
// max dist to chain 2 items (lines or curves) to build the board outlines
44
m_BoardOutlinesChainingEpsilon
( 0.01 ),
// 0.01 mm is a good value
45
m_exportTracks
( false )
// Extremely time consuming if true
46
{
47
}
48
49
bool
m_overwrite
;
50
bool
m_useGridOrigin
;
51
bool
m_useDrillOrigin
;
52
bool
m_boardOnly
;
53
bool
m_includeUnspecified
;
54
bool
m_includeDNP
;
55
bool
m_substModels
;
56
wxString
m_filename
;
57
wxString
m_outputFile
;
58
double
m_xOrigin
;
59
double
m_yOrigin
;
60
double
m_BoardOutlinesChainingEpsilon
;
61
bool
m_exportTracks
;
62
};
63
64
#endif
JOB_EXPORT_PCB_STEP
Definition:
job_export_pcb_step.h:28
JOB_EXPORT_PCB_STEP::m_substModels
bool m_substModels
Definition:
job_export_pcb_step.h:55
JOB_EXPORT_PCB_STEP::m_xOrigin
double m_xOrigin
Definition:
job_export_pcb_step.h:58
JOB_EXPORT_PCB_STEP::m_overwrite
bool m_overwrite
Definition:
job_export_pcb_step.h:49
JOB_EXPORT_PCB_STEP::m_boardOnly
bool m_boardOnly
Definition:
job_export_pcb_step.h:52
JOB_EXPORT_PCB_STEP::m_filename
wxString m_filename
Definition:
job_export_pcb_step.h:56
JOB_EXPORT_PCB_STEP::m_includeDNP
bool m_includeDNP
Definition:
job_export_pcb_step.h:54
JOB_EXPORT_PCB_STEP::m_outputFile
wxString m_outputFile
Definition:
job_export_pcb_step.h:57
JOB_EXPORT_PCB_STEP::m_useDrillOrigin
bool m_useDrillOrigin
Definition:
job_export_pcb_step.h:51
JOB_EXPORT_PCB_STEP::JOB_EXPORT_PCB_STEP
JOB_EXPORT_PCB_STEP(bool aIsCli)
Definition:
job_export_pcb_step.h:30
JOB_EXPORT_PCB_STEP::m_BoardOutlinesChainingEpsilon
double m_BoardOutlinesChainingEpsilon
Definition:
job_export_pcb_step.h:60
JOB_EXPORT_PCB_STEP::m_useGridOrigin
bool m_useGridOrigin
Definition:
job_export_pcb_step.h:50
JOB_EXPORT_PCB_STEP::m_includeUnspecified
bool m_includeUnspecified
Definition:
job_export_pcb_step.h:53
JOB_EXPORT_PCB_STEP::m_exportTracks
bool m_exportTracks
Definition:
job_export_pcb_step.h:61
JOB_EXPORT_PCB_STEP::m_yOrigin
double m_yOrigin
Definition:
job_export_pcb_step.h:59
JOB
An simple container class that lets us dispatch output jobs to kifaces.
Definition:
job.h:28
job.h
src
common
jobs
job_export_pcb_step.h
Generated on Sun Jun 4 2023 00:05:24 for KiCad PCB EDA Suite by
1.9.5