KiCad PCB EDA Suite
Loading...
Searching...
No Matches
VIA_CROSS_SECTION_GEOMETRY::STATE Struct Reference

#include <via_cross_section_geometry.h>

Public Attributes

std::optional< bool > m_TentFront
 
std::optional< bool > m_TentBack
 
std::optional< bool > m_CoverFront
 
std::optional< bool > m_CoverBack
 
std::optional< bool > m_PlugFront
 
std::optional< bool > m_PlugBack
 
std::optional< bool > m_Filled
 
std::optional< bool > m_Capped
 
std::vector< double > m_LayerDepths
 Depth of each copper layer centre and its thickness, as fractions of the board thickness, front to back.
 
std::vector< double > m_LayerThicknesses
 
int m_InnerLayers = 2
 
int m_TopLayer = 0
 Copper layers the via spans, as ordinals where 0 is the front layer and the inner count plus one is the back layer.
 
std::optional< int > m_BottomLayer
 
std::vector< bool > m_RingLayers
 Which spanned copper layers keep an annular ring. Empty means all of them.
 
double m_PadRatio = 2.8
 Pad diameter over hole diameter.
 
std::optional< int > m_BackdrillFrontLayers = 0
 Copper layers removed from that side by the backdrill, 0 for no backdrill, and the backdrill diameter over the hole diameter.
 
std::optional< int > m_BackdrillBackLayers = 0
 
double m_BackdrillFrontWidthRatio = 1.6
 
double m_BackdrillBackWidthRatio = 1.6
 
POST_MACHINING m_PostMachiningFront
 
POST_MACHINING m_PostMachiningBack
 

Detailed Description

Definition at line 54 of file via_cross_section_geometry.h.

Member Data Documentation

◆ m_BackdrillBackLayers

std::optional<int> VIA_CROSS_SECTION_GEOMETRY::STATE::m_BackdrillBackLayers = 0

◆ m_BackdrillBackWidthRatio

double VIA_CROSS_SECTION_GEOMETRY::STATE::m_BackdrillBackWidthRatio = 1.6

◆ m_BackdrillFrontLayers

std::optional<int> VIA_CROSS_SECTION_GEOMETRY::STATE::m_BackdrillFrontLayers = 0

Copper layers removed from that side by the backdrill, 0 for no backdrill, and the backdrill diameter over the hole diameter.

Definition at line 84 of file via_cross_section_geometry.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), and DIALOG_TRACK_VIA_PROPERTIES::updateViaPreview().

◆ m_BackdrillFrontWidthRatio

double VIA_CROSS_SECTION_GEOMETRY::STATE::m_BackdrillFrontWidthRatio = 1.6

◆ m_BottomLayer

std::optional<int> VIA_CROSS_SECTION_GEOMETRY::STATE::m_BottomLayer

◆ m_Capped

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_Capped

◆ m_CoverBack

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_CoverBack

◆ m_CoverFront

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_CoverFront

◆ m_Filled

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_Filled

◆ m_InnerLayers

int VIA_CROSS_SECTION_GEOMETRY::STATE::m_InnerLayers = 2

◆ m_LayerDepths

std::vector<double> VIA_CROSS_SECTION_GEOMETRY::STATE::m_LayerDepths

Depth of each copper layer centre and its thickness, as fractions of the board thickness, front to back.

Empty means even spacing and a fixed copper thickness.

Definition at line 67 of file via_cross_section_geometry.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), innerLayersOf(), and VIA_CROSS_SECTION_GEOMETRY::SetLayersFromStackup().

◆ m_LayerThicknesses

std::vector<double> VIA_CROSS_SECTION_GEOMETRY::STATE::m_LayerThicknesses

◆ m_PadRatio

double VIA_CROSS_SECTION_GEOMETRY::STATE::m_PadRatio = 2.8

◆ m_PlugBack

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_PlugBack

◆ m_PlugFront

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_PlugFront

◆ m_PostMachiningBack

POST_MACHINING VIA_CROSS_SECTION_GEOMETRY::STATE::m_PostMachiningBack

◆ m_PostMachiningFront

POST_MACHINING VIA_CROSS_SECTION_GEOMETRY::STATE::m_PostMachiningFront

◆ m_RingLayers

std::vector<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_RingLayers

Which spanned copper layers keep an annular ring. Empty means all of them.

Definition at line 77 of file via_cross_section_geometry.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), and DIALOG_TRACK_VIA_PROPERTIES::updateViaPreview().

◆ m_TentBack

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_TentBack

◆ m_TentFront

std::optional<bool> VIA_CROSS_SECTION_GEOMETRY::STATE::m_TentFront

◆ m_TopLayer

int VIA_CROSS_SECTION_GEOMETRY::STATE::m_TopLayer = 0

Copper layers the via spans, as ordinals where 0 is the front layer and the inner count plus one is the back layer.

An unset bottom means the back layer.

Definition at line 73 of file via_cross_section_geometry.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), and DIALOG_TRACK_VIA_PROPERTIES::updateViaPreview().


The documentation for this struct was generated from the following file: