KiCad PCB EDA Suite
|
The features of a padstack that can vary between copper layers All parameters are optional; leaving them un-set means "use parent/rule defaults" Pad clearances, margins, etc. More...
#include <padstack.h>
Public Member Functions | |
bool | operator== (const COPPER_LAYER_PROPS &aOther) const |
Public Attributes | |
SHAPE_PROPS | shape |
std::optional< ZONE_CONNECTION > | zone_connection |
std::optional< int > | thermal_spoke_width |
std::optional< EDA_ANGLE > | thermal_spoke_angle |
std::optional< int > | thermal_gap |
std::optional< int > | clearance |
std::vector< std::shared_ptr< PCB_SHAPE > > | custom_shapes |
The features of a padstack that can vary between copper layers All parameters are optional; leaving them un-set means "use parent/rule defaults" Pad clearances, margins, etc.
exist in a hierarchy. If a given level is specified then the remaining levels are NOT consulted.
LEVEL 1: (highest priority) local overrides (pad, footprint, etc.) LEVEL 2: Rules LEVEL 3: Accumulated local settings, netclass settings, & board design settings
These are the LEVEL 1 settings (overrides) for a pad.
Definition at line 200 of file padstack.h.
bool PADSTACK::COPPER_LAYER_PROPS::operator== | ( | const COPPER_LAYER_PROPS & | aOther | ) | const |
Definition at line 674 of file padstack.cpp.
References custom_shapes, shape, thermal_gap, thermal_spoke_angle, thermal_spoke_width, and zone_connection.
std::optional<int> PADSTACK::COPPER_LAYER_PROPS::clearance |
Definition at line 207 of file padstack.h.
Referenced by PADSTACK::Clearance().
std::vector<std::shared_ptr<PCB_SHAPE> > PADSTACK::COPPER_LAYER_PROPS::custom_shapes |
Definition at line 213 of file padstack.h.
Referenced by PADSTACK::AddPrimitive(), PADSTACK::ClearPrimitives(), operator==(), and PADSTACK::Primitives().
SHAPE_PROPS PADSTACK::COPPER_LAYER_PROPS::shape |
Definition at line 202 of file padstack.h.
Referenced by PADSTACK::AnchorShape(), PADSTACK::ChamferPositions(), PADSTACK::ChamferRatio(), PADSTACK::DefaultThermalSpokeAngleForShape(), PADSTACK::Deserialize(), PADSTACK::Offset(), operator==(), PADSTACK::RoundRectRadiusRatio(), PADSTACK::Serialize(), PADSTACK::SetAnchorShape(), PADSTACK::SetChamferPositions(), PADSTACK::SetChamferRatio(), PADSTACK::SetRoundRectRadiusRatio(), PADSTACK::SetShape(), PADSTACK::SetSize(), PADSTACK::Shape(), PADSTACK::Size(), and PADSTACK::TrapezoidDeltaSize().
std::optional<int> PADSTACK::COPPER_LAYER_PROPS::thermal_gap |
Definition at line 206 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), and PADSTACK::ThermalGap().
std::optional<EDA_ANGLE> PADSTACK::COPPER_LAYER_PROPS::thermal_spoke_angle |
Definition at line 205 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), PADSTACK::SetThermalSpokeAngle(), and PADSTACK::ThermalSpokeAngle().
std::optional<int> PADSTACK::COPPER_LAYER_PROPS::thermal_spoke_width |
Definition at line 204 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), and PADSTACK::ThermalSpokeWidth().
std::optional<ZONE_CONNECTION> PADSTACK::COPPER_LAYER_PROPS::zone_connection |
Definition at line 203 of file padstack.h.
Referenced by PADSTACK::Deserialize(), operator==(), and PADSTACK::ZoneConnection().