KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
zone_settings.cpp
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) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr
5 * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
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, you may find one here:
20 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21 * or you may search the http://www.gnu.org website for the version 2 license,
22 * or you may write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24 */
25
26#include <zone_settings.h>
27
28#include <pcb_base_frame.h>
29#include <board.h>
30#include <lset.h>
32#include <zones.h>
33
34#include <zone.h>
35#include <wx/dataview.h>
37
39{
40 return hatching_offset == aOther.hatching_offset;
41}
42
44{
46 m_FillMode = ZONE_FILL_MODE::POLYGONS; // Mode for filling zone
47 // Zone clearance value
49 // Min thickness value in filled areas (this is the minimum width of copper to fill solid areas) :
51 // Arbitrary defaults for the hatch settings
52 m_HatchThickness = std::max( m_ZoneMinThickness * 4, pcbIUScale.mmToIU( 1.0 ) );
53 m_HatchGap = std::max( m_ZoneMinThickness * 6, pcbIUScale.mmToIU( 1.5 ) );
54 m_HatchOrientation = ANGLE_0; // Grid style: orientation of grid lines
55 m_HatchSmoothingLevel = 0; // Grid pattern smoothing type. 0 = no smoothing
56 m_HatchSmoothingValue = 0.1; // Grid pattern chamfer value relative to the gap value
57 m_HatchHoleMinArea = 0.15; // Min size before holes are dropped (ratio of hole size)
58 m_HatchBorderAlgorithm = 1; // 0 = use zone min thickness; 1 = use hatch width
59 m_NetcodeSelection = 0; // Net code selection for the current zone
60 m_ZoneBorderDisplayStyle = ZONE_BORDER_DISPLAY_STYLE::DIAGONAL_EDGE; // Option to show the zone
61 // outlines only, short
62 // hatches or full hatches
64
66 m_Name = wxEmptyString;
67
68 // thickness of the gap in thermal reliefs:
70 // thickness of the copper bridge in thermal reliefs:
72
73 m_padConnection = ZONE_CONNECTION::THERMAL; // How pads are covered by copper in zone
74
75 m_Locked = false;
76
79
80 m_removeIslands = ISLAND_REMOVAL_MODE::ALWAYS;
82
83 SetIsRuleArea( false );
84 SetRuleAreaPlacementSourceType( RULE_AREA_PLACEMENT_SOURCE_TYPE::SHEETNAME );
86 SetDoNotAllowVias( true );
87 SetDoNotAllowTracks( true );
88 SetDoNotAllowPads( true );
90
91 m_TeardropType = TEARDROP_TYPE::TD_NONE;
93}
94
95
96bool ZONE_SETTINGS::operator==( const ZONE_SETTINGS& aOther ) const
97{
98 if( m_ZonePriority != aOther.m_ZonePriority ) return false;
99 if( m_FillMode != aOther.m_FillMode ) return false;
100 if( m_ZoneClearance != aOther.m_ZoneClearance ) return false;
101 if( m_ZoneMinThickness != aOther.m_ZoneMinThickness ) return false;
102 if( m_HatchThickness != aOther.m_HatchThickness ) return false;
103 if( m_HatchGap != aOther.m_HatchGap ) return false;
104 if( m_HatchOrientation != aOther.m_HatchOrientation ) return false;
105 if( m_HatchSmoothingLevel != aOther.m_HatchSmoothingLevel ) return false;
106 if( m_HatchSmoothingValue != aOther.m_HatchSmoothingValue ) return false;
107 if( m_HatchBorderAlgorithm != aOther.m_HatchBorderAlgorithm ) return false;
108 if( m_HatchHoleMinArea != aOther.m_HatchHoleMinArea ) return false;
109 if( m_NetcodeSelection != aOther.m_NetcodeSelection ) return false;
110 if( m_Name != aOther.m_Name ) return false;
111 if( m_ZoneBorderDisplayStyle != aOther.m_ZoneBorderDisplayStyle ) return false;
112 if( m_BorderHatchPitch != aOther.m_BorderHatchPitch ) return false;
113 if( m_ThermalReliefGap != aOther.m_ThermalReliefGap ) return false;
114 if( m_ThermalReliefSpokeWidth != aOther.m_ThermalReliefSpokeWidth ) return false;
115 if( m_padConnection != aOther.m_padConnection ) return false;
116 if( m_cornerSmoothingType != aOther.m_cornerSmoothingType ) return false;
117 if( m_cornerRadius != aOther.m_cornerRadius ) return false;
118 if( m_isRuleArea != aOther.m_isRuleArea ) return false;
119 if( m_ruleAreaPlacementEnabled != aOther.m_ruleAreaPlacementEnabled ) return false;
121 if( m_ruleAreaPlacementSource != aOther.m_ruleAreaPlacementSource ) return false;
123 if( m_keepoutDoNotAllowVias != aOther.m_keepoutDoNotAllowVias ) return false;
124 if( m_keepoutDoNotAllowTracks != aOther.m_keepoutDoNotAllowTracks ) return false;
125 if( m_keepoutDoNotAllowPads != aOther.m_keepoutDoNotAllowPads ) return false;
127 if( m_Locked != aOther.m_Locked ) return false;
128 if( m_removeIslands != aOther.m_removeIslands ) return false;
129 if( m_minIslandArea != aOther.m_minIslandArea ) return false;
130
131 if( !std::equal( std::begin( m_layerProperties ), std::end( m_layerProperties ),
132 std::begin( aOther.m_layerProperties ) ) )
133 return false;
134
135 // Currently, the teardrop area type is not really a ZONE_SETTINGS parameter,
136 // but a ZONE parameter only.
137 // However it can be used in dialogs
138 if( m_TeardropType != aOther.m_TeardropType ) return false;
139
140 if( m_Layers != aOther.m_Layers ) return false;
141
142 return true;
143}
144
145
147{
149 m_FillMode = aSource.GetFillMode();
150 m_ZoneClearance = aSource.GetLocalClearance().value();
153 m_HatchGap = aSource.GetHatchGap();
159 m_NetcodeSelection = aSource.GetNetCode();
160 m_Name = aSource.GetZoneName();
168 m_isRuleArea = aSource.GetIsRuleArea();
177 m_Locked = aSource.IsLocked();
180
181 m_layerProperties.clear();
182
183 std::ranges::copy( aSource.LayerProperties(),
184 std::inserter( m_layerProperties, std::end( m_layerProperties ) ) );
185
186 // Currently, the teardrop area type is not really a ZONE_SETTINGS parameter,
187 // but a ZONE parameter only.
188 // However it can be used in dialogs
190
191 m_Layers = aSource.GetLayerSet();
192
193 return *this;
194}
195
196
197void ZONE_SETTINGS::ExportSetting( ZONE& aTarget, bool aFullExport ) const
198{
199 aTarget.SetFillMode( m_FillMode );
203 aTarget.SetHatchGap( m_HatchGap );
214 aTarget.SetIsRuleArea( GetIsRuleArea() );
223 aTarget.SetLocked( m_Locked );
226 // Currently, the teardrop area type is not imported from a ZONE_SETTINGS, because
227 // it is not really a ZONE_SETTINGS parameter, but a ZONE parameter only
228#if 0
230#endif
231
232
233 if( aFullExport )
234 {
236
238 aTarget.SetLayerSet( m_Layers );
239
240 aTarget.SetZoneName( m_Name );
241
242 if( !m_isRuleArea )
244 }
245
246 // call SetBorderDisplayStyle last, because hatch lines will be rebuilt,
247 // using new parameters values
249 m_BorderHatchPitch, true );
250}
251
252void ZONE_SETTINGS::CopyFrom( const ZONE_SETTINGS& aOther, bool aCopyFull )
253{
254 // clang-format off
256 m_FillMode = aOther.m_FillMode;
260 m_HatchGap = aOther.m_HatchGap;
267 m_Name = aOther.m_Name;
275 m_isRuleArea = aOther.m_isRuleArea;
284 m_Locked = aOther.m_Locked;
287 // clang-format on
288
289 if( aCopyFull )
290 {
291 m_layerProperties.clear();
292
293 std::ranges::copy( aOther.m_layerProperties,
294 std::inserter( m_layerProperties, std::end( m_layerProperties ) ) );
295
297
298 m_Layers = aOther.m_Layers;
299 }
300}
301
302
304{
305 if( aRadius < 0 )
306 m_cornerRadius = 0;
307 else
308 m_cornerRadius = aRadius;
309}
310
311
312#ifdef __WXOSX_MAC__
313const static wxSize LAYER_BITMAP_SIZE( 28, 28 ); // wxCocoa impl unhappy if this isn't square...
314#else
315const static wxSize LAYER_BITMAP_SIZE( 24, 16 );
316#endif
317
318const static wxSize CHECKERBOARD_SIZE( 8, 8 );
319
320
322{
323 static ZONE_SETTINGS defaultSettings;
324
325 return defaultSettings;
326}
327
328
329// A helper for setting up a dialog list for specifying zone layers. Used by all three
330// zone settings dialogs.
331void ZONE_SETTINGS::SetupLayersList( wxDataViewListCtrl* aList, PCB_BASE_FRAME* aFrame,
332 LSET aLayers, bool aFpEditorMode )
333{
334 BOARD* board = aFrame->GetBoard();
335 COLOR4D backgroundColor = aFrame->GetColorSettings()->GetColor( LAYER_PCB_BACKGROUND );
336
337 // In the Footprint Editor In1_Cu is used as a proxy for "all inner layers"
338 if( aFpEditorMode )
339 aLayers.set( In1_Cu );
340
341 wxDataViewColumn* checkColumn = aList->AppendToggleColumn(
342 wxEmptyString, wxDATAVIEW_CELL_ACTIVATABLE, wxCOL_WIDTH_DEFAULT, wxALIGN_CENTER );
343
344 wxDataViewColumn* layerColumn = aList->AppendIconTextColumn( wxEmptyString );
345 wxDataViewColumn* layerIDColumn = aList->AppendTextColumn( wxEmptyString );
346 layerIDColumn->SetHidden( true );
347
348 int textWidth = 0;
349
350 for( PCB_LAYER_ID layerID : aLayers.UIOrder() )
351 {
352 wxString layerName = board->GetLayerName( layerID );
353
354 if( aFpEditorMode && layerID == In1_Cu )
355 layerName = _( "Inner layers" );
356
357 // wxCOL_WIDTH_AUTOSIZE doesn't work on all platforms, so we calculate width here
358 textWidth = std::max( textWidth, KIUI::GetTextSize( layerName, aList ).x );
359
360 COLOR4D layerColor = aFrame->GetColorSettings()->GetColor( layerID );
361 auto bitmap = COLOR_SWATCH::MakeBitmap( layerColor, backgroundColor, LAYER_BITMAP_SIZE,
362 CHECKERBOARD_SIZE, aList->GetBackgroundColour() );
363 wxIcon icon;
364 icon.CopyFromBitmap( bitmap );
365
366 wxVector<wxVariant> row;
367 row.push_back( wxVariant( m_Layers.test( layerID ) ) );
368 row.push_back( wxVariant( wxDataViewIconText( layerName, icon ) ) );
369 row.push_back( wxVariant( wxString::Format( wxT( "%i" ), layerID ) ) );
370 aList->AppendItem( row );
371
372 if( m_Layers.test( layerID ) )
373 aList->SetToggleValue( true, (unsigned) aList->GetItemCount() - 1, 0 );
374 }
375
376 int checkColSize = aList->FromDIP( 22 );
377 int layerColSize = textWidth + LAYER_BITMAP_SIZE.x + aList->FromDIP( 15 );
378
379 // You'd think the fact that m_layers is a list would encourage wxWidgets not to save room
380 // for the tree expanders... but you'd be wrong. Force indent to 0.
381 aList->SetIndent( 0 );
382 aList->SetMinClientSize( wxSize( checkColSize + layerColSize,
383 aList->GetMinClientSize().y ) );
384
385 checkColumn->SetWidth( checkColSize );
386 layerColumn->SetWidth( layerColSize );
387}
388
389
constexpr EDA_IU_SCALE pcbIUScale
Definition: base_units.h:108
BASE_SET & reset(size_t pos)
Definition: base_set.h:143
BASE_SET & set(size_t pos)
Definition: base_set.h:116
bool SetNetCode(int aNetCode, bool aNoAssert)
Set net using a net code.
virtual void SetLocked(bool aLocked)
Definition: board_item.h:320
virtual bool IsLocked() const
Definition: board_item.cpp:76
Information pertinent to a Pcbnew printed circuit board.
Definition: board.h:297
const wxString GetLayerName(PCB_LAYER_ID aLayer) const
Return the name of a aLayer.
Definition: board.cpp:614
COLOR4D GetColor(int aLayer) const
static wxBitmap MakeBitmap(const KIGFX::COLOR4D &aColor, const KIGFX::COLOR4D &aBackground, const wxSize &aSize, const wxSize &aCheckerboardSize, const KIGFX::COLOR4D &aCheckerboardBackground)
A color representation with 4 components: red, green, blue, alpha.
Definition: color4d.h:104
LSET is a set of PCB_LAYER_IDs.
Definition: lset.h:37
LSEQ UIOrder() const
Return the copper, technical and user layers in the order shown in layer widget.
Definition: lset.cpp:736
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
BOARD * GetBoard() const
virtual COLOR_SETTINGS * GetColorSettings(bool aForceRefresh=false) const override
Helper to retrieve the current color settings.
ZONE_SETTINGS handles zones parameters.
Definition: zone_settings.h:87
std::map< PCB_LAYER_ID, ZONE_LAYER_PROPERTIES > m_layerProperties
bool m_keepoutDoNotAllowPads
void SetIsRuleArea(bool aEnable)
bool operator==(const ZONE_SETTINGS &aOther) const
unsigned int m_cornerRadius
bool GetDoNotAllowTracks() const
EDA_ANGLE m_HatchOrientation
RULE_AREA_PLACEMENT_SOURCE_TYPE GetRuleAreaPlacementSourceType() const
int m_HatchBorderAlgorithm
void SetDoNotAllowVias(bool aEnable)
bool GetDoNotAllowFootprints() const
void SetRuleAreaPlacementSourceType(RULE_AREA_PLACEMENT_SOURCE_TYPE aType)
long long int m_minIslandArea
wxString GetRuleAreaPlacementSource() const
bool m_keepoutDoNotAllowTracks
bool GetDoNotAllowPads() const
double m_HatchSmoothingValue
bool m_ruleAreaPlacementEnabled
Placement rule area data.
RULE_AREA_PLACEMENT_SOURCE_TYPE m_ruleAreaPlacementSourceType
void ExportSetting(ZONE &aTarget, bool aFullExport=true) const
Function ExportSetting copy settings to a given zone.
bool GetIsRuleArea() const
Accessors to parameters used in Rule Area zones:
bool GetDoNotAllowZoneFills() const
int m_cornerSmoothingType
void SetDoNotAllowTracks(bool aEnable)
bool m_keepoutDoNotAllowZoneFills
bool GetDoNotAllowVias() const
ISLAND_REMOVAL_MODE m_removeIslands
double m_HatchHoleMinArea
bool GetRuleAreaPlacementEnabled() const
long long int GetMinIslandArea() const
long m_ThermalReliefSpokeWidth
TEARDROP_TYPE m_TeardropType
static const ZONE_SETTINGS & GetDefaultSettings()
unsigned m_ZonePriority
Definition: zone_settings.h:98
void SetCornerRadius(int aRadius)
void SetupLayersList(wxDataViewListCtrl *aList, PCB_BASE_FRAME *aFrame, LSET aLayers, bool aFpEditorMode)
A helper routine for the various zone dialogs (copper, non-copper, keepout).
wxString m_Name
ZONE_FILL_MODE m_FillMode
ZONE_CONNECTION m_padConnection
long m_ThermalReliefGap
void SetDoNotAllowFootprints(bool aEnable)
void SetDoNotAllowPads(bool aEnable)
ZONE_SETTINGS & operator<<(const ZONE &aSource)
operator << ( const ZONE& ) was Function ImportSetting copies settings from a given zone into this ob...
void CopyFrom(const ZONE_SETTINGS &aOther, bool aCopyFull=true)
Function CopyFrom copy settings from a different ZONE_SETTINGS object.
int m_HatchSmoothingLevel
void SetDoNotAllowZoneFills(bool aEnable)
ISLAND_REMOVAL_MODE GetIslandRemovalMode() const
ZONE_BORDER_DISPLAY_STYLE m_ZoneBorderDisplayStyle
Option to show the zone area (outlines only, short hatches or full hatches.
bool m_keepoutDoNotAllowFootprints
bool m_keepoutDoNotAllowVias
wxString m_ruleAreaPlacementSource
Handle a list of polygons defining a copper zone.
Definition: zone.h:74
void SetHatchThickness(int aThickness)
Definition: zone.h:317
void SetHatchBorderAlgorithm(int aAlgo)
Definition: zone.h:335
void SetDoNotAllowPads(bool aEnable)
Definition: zone.h:777
void SetLayerProperties(const std::map< PCB_LAYER_ID, ZONE_LAYER_PROPERTIES > &aOther)
Definition: zone.cpp:578
int GetHatchBorderAlgorithm() const
Definition: zone.h:334
bool GetIsRuleArea() const
Accessors to parameters used in Rule Area zones:
Definition: zone.h:752
std::optional< int > GetLocalClearance() const override
Definition: zone.cpp:795
void SetRuleAreaPlacementEnabled(bool aEnabled)
Definition: zone.h:755
void SetLocalClearance(std::optional< int > aClearance)
Definition: zone.h:186
wxString GetRuleAreaPlacementSource() const
Definition: zone.h:757
bool GetDoNotAllowVias() const
Definition: zone.h:769
void SetCornerRadius(unsigned int aRadius)
Definition: zone.cpp:700
ZONE_LAYER_PROPERTIES & LayerProperties(PCB_LAYER_ID aLayer)
Definition: zone.h:145
void SetCornerSmoothingType(int aType)
Definition: zone.h:692
void SetBorderDisplayStyle(ZONE_BORDER_DISPLAY_STYLE aBorderHatchStyle, int aBorderHatchPitch, bool aRebuilBorderdHatch)
Set all hatch parameters for the zone.
Definition: zone.cpp:1204
bool GetDoNotAllowPads() const
Definition: zone.h:771
void SetMinThickness(int aMinThickness)
Definition: zone.h:302
bool GetDoNotAllowTracks() const
Definition: zone.h:770
void SetHatchOrientation(const EDA_ANGLE &aStep)
Definition: zone.h:323
bool GetRuleAreaPlacementEnabled() const
Definition: zone.h:754
void SetHatchSmoothingValue(double aValue)
Definition: zone.h:329
void SetHatchSmoothingLevel(int aLevel)
Definition: zone.h:326
void SetThermalReliefSpokeWidth(int aThermalReliefSpokeWidth)
Definition: zone.h:237
ISLAND_REMOVAL_MODE GetIslandRemovalMode() const
Definition: zone.h:780
long long int GetMinIslandArea() const
Definition: zone.h:783
void SetRuleAreaPlacementSourceType(RULE_AREA_PLACEMENT_SOURCE_TYPE aType)
Definition: zone.h:763
void SetIsRuleArea(bool aEnable)
Definition: zone.h:753
void SetDoNotAllowTracks(bool aEnable)
Definition: zone.h:776
const wxString & GetZoneName() const
Definition: zone.h:163
int GetMinThickness() const
Definition: zone.h:301
void SetFillMode(ZONE_FILL_MODE aFillMode)
Definition: zone.h:223
ZONE_CONNECTION GetPadConnection() const
Definition: zone.h:298
int GetHatchThickness() const
Definition: zone.h:316
double GetHatchHoleMinArea() const
Definition: zone.h:331
void SetLayerSet(const LSET &aLayerSet) override
Definition: zone.cpp:533
void SetDoNotAllowVias(bool aEnable)
Definition: zone.h:775
int GetThermalReliefSpokeWidth() const
Definition: zone.h:245
int GetBorderHatchPitch() const
HatchBorder related methods.
Definition: zone.cpp:1198
ZONE_BORDER_DISPLAY_STYLE GetHatchStyle() const
Definition: zone.h:637
void SetThermalReliefGap(int aThermalReliefGap)
Definition: zone.h:226
EDA_ANGLE GetHatchOrientation() const
Definition: zone.h:322
bool GetDoNotAllowFootprints() const
Definition: zone.h:772
ZONE_FILL_MODE GetFillMode() const
Definition: zone.h:224
virtual LSET GetLayerSet() const override
Return a std::bitset of all layers on which the item physically resides.
Definition: zone.h:136
void SetDoNotAllowFootprints(bool aEnable)
Definition: zone.h:778
int GetHatchGap() const
Definition: zone.h:319
RULE_AREA_PLACEMENT_SOURCE_TYPE GetRuleAreaPlacementSourceType() const
Definition: zone.h:759
void SetHatchHoleMinArea(double aPct)
Definition: zone.h:332
TEARDROP_TYPE GetTeardropAreaType() const
Definition: zone.h:738
double GetHatchSmoothingValue() const
Definition: zone.h:328
bool GetDoNotAllowZoneFills() const
Definition: zone.h:768
int GetHatchSmoothingLevel() const
Definition: zone.h:325
unsigned int GetCornerRadius() const
Definition: zone.h:698
int GetCornerSmoothingType() const
Definition: zone.h:694
void SetDoNotAllowZoneFills(bool aEnable)
Definition: zone.h:774
void SetAssignedPriority(unsigned aPriority)
Definition: zone.h:121
void SetPadConnection(ZONE_CONNECTION aPadConnection)
Definition: zone.h:299
void SetZoneName(const wxString &aName)
Definition: zone.h:164
void SetTeardropAreaType(TEARDROP_TYPE aType)
Set the type of teardrop if the zone is a teardrop area for non teardrop area, the type must be TEARD...
Definition: zone.h:733
void SetIslandRemovalMode(ISLAND_REMOVAL_MODE aRemove)
Definition: zone.h:781
void SetMinIslandArea(long long int aArea)
Definition: zone.h:784
void SetRuleAreaPlacementSource(const wxString &aSource)
Definition: zone.h:758
int GetThermalReliefGap() const
Definition: zone.h:234
void SetHatchGap(int aStep)
Definition: zone.h:320
unsigned GetAssignedPriority() const
Definition: zone.h:126
#define _(s)
static constexpr EDA_ANGLE ANGLE_0
Definition: eda_angle.h:401
@ LAYER_PCB_BACKGROUND
PCB background color.
Definition: layer_ids.h:280
PCB_LAYER_ID
A quick note on layer IDs:
Definition: layer_ids.h:60
@ In1_Cu
Definition: layer_ids.h:66
@ F_Cu
Definition: layer_ids.h:64
KICOMMON_API wxSize GetTextSize(const wxString &aSingleLine, wxWindow *aWindow)
Return the size of aSingleLine of text when it is rendered in aWindow using whatever font is currentl...
Definition: ui_common.cpp:78
const double IU_PER_MM
Definition: base_units.h:76
constexpr int mmToIU(double mm) const
Definition: base_units.h:88
std::optional< VECTOR2I > hatching_offset
Definition: zone_settings.h:51
bool operator==(const ZONE_LAYER_PROPERTIES &aOther) const
static const wxSize CHECKERBOARD_SIZE(8, 8)
static const wxSize LAYER_BITMAP_SIZE(24, 16)
Class ZONE_SETTINGS used to handle zones parameters in dialogs.
#define ZONE_THERMAL_RELIEF_GAP_MM
Definition: zones.h:33
#define ZONE_BORDER_HATCH_DIST_MM
Definition: zones.h:39
#define ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM
Definition: zones.h:34
#define ZONE_CLEARANCE_MM
Definition: zones.h:37
#define ZONE_THICKNESS_MM
Definition: zones.h:35