KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board_stackup_reporter.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) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr
5
* Copyright (C) 2026 Krishna Swaroop <
[email protected]
>
6
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
7
*
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public License
10
* as published by the Free Software Foundation; either version 2
11
* of the License, or (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <https://www.gnu.org/licenses/>.
20
*/
21
25
#ifndef BOARD_STACKUP_REPORTER_H
26
#define BOARD_STACKUP_REPORTER_H
27
28
#include <
eda_units.h
>
29
30
class
BOARD_STACKUP
;
31
35
struct
STACKUP_CSV_OPTIONS
36
{
37
bool
includeColor
=
true
;
38
bool
includeMaterial
=
true
;
39
bool
includeThickness
=
true
;
40
bool
includeEpsilonR
=
true
;
41
bool
includeLossTangent
=
true
;
42
bool
includeFinish
=
true
;
43
bool
includeBoardOptions
=
true
;
44
};
45
46
wxString
BuildStackupReport
(
BOARD_STACKUP
& aStackup,
EDA_UNITS
aUnits );
47
48
wxString
BuildStackupCsv
(
BOARD_STACKUP
& aStackup,
EDA_UNITS
aUnits,
49
const
STACKUP_CSV_OPTIONS
& aOptions =
STACKUP_CSV_OPTIONS
() );
50
51
#endif
// #ifndef BOARD_STACKUP_REPORTER_H
BuildStackupCsv
wxString BuildStackupCsv(BOARD_STACKUP &aStackup, EDA_UNITS aUnits, const STACKUP_CSV_OPTIONS &aOptions=STACKUP_CSV_OPTIONS())
Definition
board_stackup_reporter.cpp:193
BuildStackupReport
wxString BuildStackupReport(BOARD_STACKUP &aStackup, EDA_UNITS aUnits)
Definition
board_stackup_reporter.cpp:79
BOARD_STACKUP
Manage layers needed to make a physical board.
Definition
board_stackup.h:239
eda_units.h
EDA_UNITS
EDA_UNITS
Definition
eda_units.h:44
STACKUP_CSV_OPTIONS
Options controlling which stackup fields are included in CSV exports.
Definition
board_stackup_reporter.h:36
STACKUP_CSV_OPTIONS::includeEpsilonR
bool includeEpsilonR
Definition
board_stackup_reporter.h:40
STACKUP_CSV_OPTIONS::includeColor
bool includeColor
Definition
board_stackup_reporter.h:37
STACKUP_CSV_OPTIONS::includeBoardOptions
bool includeBoardOptions
Definition
board_stackup_reporter.h:43
STACKUP_CSV_OPTIONS::includeLossTangent
bool includeLossTangent
Definition
board_stackup_reporter.h:41
STACKUP_CSV_OPTIONS::includeMaterial
bool includeMaterial
Definition
board_stackup_reporter.h:38
STACKUP_CSV_OPTIONS::includeThickness
bool includeThickness
Definition
board_stackup_reporter.h:39
STACKUP_CSV_OPTIONS::includeFinish
bool includeFinish
Definition
board_stackup_reporter.h:42
src
pcbnew
board_stackup_manager
board_stackup_reporter.h
Generated on Thu Sep 17 2026 00:06:18 for KiCad PCB EDA Suite by
1.13.2