|
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 |
| int | Compare (const COPPER_LAYER_PROPS &aOther) const |
| double | Similarity (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 226 of file padstack.h.
| int PADSTACK::COPPER_LAYER_PROPS::Compare | ( | const COPPER_LAYER_PROPS & | aOther | ) | const |
Definition at line 1622 of file padstack.cpp.
References ANGLE_0, clearance, PADSTACK::Compare(), custom_shapes, NONE, shape, TEST_OPT, TEST_OPT_ANGLE, thermal_gap, thermal_spoke_angle, thermal_spoke_width, and zone_connection.
Referenced by PADSTACK::Compare().
| bool PADSTACK::COPPER_LAYER_PROPS::operator== | ( | const COPPER_LAYER_PROPS & | aOther | ) | const |
Definition at line 1559 of file padstack.cpp.
References clearance, custom_shapes, shape, thermal_gap, thermal_spoke_angle, thermal_spoke_width, and zone_connection.
| double PADSTACK::COPPER_LAYER_PROPS::Similarity | ( | const COPPER_LAYER_PROPS & | aOther | ) | const |
Definition at line 1576 of file padstack.cpp.
References clearance, custom_shapes, shape, thermal_gap, thermal_spoke_angle, thermal_spoke_width, and zone_connection.
Referenced by PADSTACK::Similarity().
| std::optional<int> PADSTACK::COPPER_LAYER_PROPS::clearance |
Definition at line 233 of file padstack.h.
Referenced by PADSTACK::Clearance(), PADSTACK::Clearance(), Compare(), operator==(), and Similarity().
| std::vector<std::shared_ptr<PCB_SHAPE> > PADSTACK::COPPER_LAYER_PROPS::custom_shapes |
Definition at line 239 of file padstack.h.
Referenced by PADSTACK::AddPrimitive(), PADSTACK::AppendPrimitives(), PADSTACK::ClearPrimitives(), Compare(), operator==(), PADSTACK::Primitives(), PADSTACK::Primitives(), PADSTACK::Serialize(), and Similarity().
| SHAPE_PROPS PADSTACK::COPPER_LAYER_PROPS::shape |
Definition at line 228 of file padstack.h.
Referenced by PADSTACK::AnchorShape(), PADSTACK::ChamferPositions(), PADSTACK::ChamferPositions(), PADSTACK::ChamferRatio(), Compare(), PADSTACK::Offset(), PADSTACK::Offset(), operator==(), PADSTACK::RoundRectRadiusRatio(), PADSTACK::Serialize(), PADSTACK::SetAnchorShape(), PADSTACK::SetChamferPositions(), PADSTACK::SetChamferRatio(), PADSTACK::SetRoundRectRadiusRatio(), PADSTACK::SetShape(), PADSTACK::SetSize(), PADSTACK::Shape(), Similarity(), PADSTACK::Size(), PADSTACK::TrapezoidDeltaSize(), PADSTACK::TrapezoidDeltaSize(), and PADSTACK::unpackCopperLayer().
| std::optional<int> PADSTACK::COPPER_LAYER_PROPS::thermal_gap |
Definition at line 232 of file padstack.h.
Referenced by Compare(), PADSTACK::Deserialize(), operator==(), Similarity(), PADSTACK::ThermalGap(), and PADSTACK::ThermalGap().
| std::optional<EDA_ANGLE> PADSTACK::COPPER_LAYER_PROPS::thermal_spoke_angle |
Definition at line 231 of file padstack.h.
Referenced by Compare(), PADSTACK::Deserialize(), operator==(), PADSTACK::SetThermalSpokeAngle(), Similarity(), and PADSTACK::ThermalSpokeAngle().
| std::optional<int> PADSTACK::COPPER_LAYER_PROPS::thermal_spoke_width |
Definition at line 230 of file padstack.h.
Referenced by Compare(), PADSTACK::Deserialize(), operator==(), Similarity(), PADSTACK::ThermalSpokeWidth(), and PADSTACK::ThermalSpokeWidth().
| std::optional<ZONE_CONNECTION> PADSTACK::COPPER_LAYER_PROPS::zone_connection |
Definition at line 229 of file padstack.h.
Referenced by Compare(), PADSTACK::Deserialize(), operator==(), Similarity(), PADSTACK::ZoneConnection(), and PADSTACK::ZoneConnection().