KiCad PCB EDA Suite
|
! The features of a padstack that can vary on outer layers. More...
#include <padstack.h>
Public Member Functions | |
bool | operator== (const MASK_LAYER_PROPS &aOther) const |
Public Attributes | |
std::optional< int > | solder_mask_margin |
std::optional< int > | solder_paste_margin |
std::optional< double > | solder_paste_margin_ratio |
std::optional< bool > | has_solder_mask |
True if this outer layer has mask (is not tented) | |
std::optional< bool > | has_solder_paste |
True if this outer layer has solder paste. | |
std::optional< bool > | has_covering |
True if the pad on this side should have covering. | |
std::optional< bool > | has_plugging |
True if the drill hole should be plugged on this side. | |
! The features of a padstack that can vary on outer layers.
All parameters are optional; leaving them un-set means "use parent/rule defaults"
Definition at line 228 of file padstack.h.
bool PADSTACK::MASK_LAYER_PROPS::operator== | ( | const MASK_LAYER_PROPS & | aOther | ) | const |
Definition at line 816 of file padstack.cpp.
References has_solder_mask, has_solder_paste, solder_mask_margin, solder_paste_margin, and solder_paste_margin_ratio.
std::optional<bool> PADSTACK::MASK_LAYER_PROPS::has_covering |
True if the pad on this side should have covering.
Definition at line 236 of file padstack.h.
Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_VIA::GetBackCoveringMode(), PCB_VIA::GetFrontCoveringMode(), PADSTACK::IsCovered(), PCB_VIA::SetBackCoveringMode(), and PCB_VIA::SetFrontCoveringMode().
std::optional<bool> PADSTACK::MASK_LAYER_PROPS::has_plugging |
True if the drill hole should be plugged on this side.
Definition at line 237 of file padstack.h.
Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_VIA::GetBackPluggingMode(), PCB_VIA::GetFrontPluggingMode(), PADSTACK::IsPlugged(), PCB_VIA::SetBackPluggingMode(), and PCB_VIA::SetFrontPluggingMode().
std::optional<bool> PADSTACK::MASK_LAYER_PROPS::has_solder_mask |
True if this outer layer has mask (is not tented)
Definition at line 234 of file padstack.h.
Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_VIA::GetBackTentingMode(), PCB_VIA::GetFrontTentingMode(), PCB_VIA::IsTented(), PADSTACK::IsTented(), operator==(), PCB_IO_KICAD_SEXPR_PARSER::parsePadstack(), PCB_VIA::SetBackTentingMode(), and PCB_VIA::SetFrontTentingMode().
std::optional<bool> PADSTACK::MASK_LAYER_PROPS::has_solder_paste |
True if this outer layer has solder paste.
Definition at line 235 of file padstack.h.
Referenced by operator==().
std::optional<int> PADSTACK::MASK_LAYER_PROPS::solder_mask_margin |
Definition at line 230 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), PADSTACK::Serialize(), and PADSTACK::SolderMaskMargin().
std::optional<int> PADSTACK::MASK_LAYER_PROPS::solder_paste_margin |
Definition at line 231 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), PADSTACK::Serialize(), and PADSTACK::SolderPasteMargin().
std::optional<double> PADSTACK::MASK_LAYER_PROPS::solder_paste_margin_ratio |
Definition at line 232 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), PADSTACK::Serialize(), and PADSTACK::SolderPasteMarginRatio().