KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PADSTACK::COPPER_LAYER_PROPS Struct Reference

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_CONNECTIONzone_connection
 
std::optional< int > thermal_spoke_width
 
std::optional< EDA_ANGLEthermal_spoke_angle
 
std::optional< int > thermal_gap
 
std::optional< int > clearance
 
std::vector< std::shared_ptr< PCB_SHAPE > > custom_shapes
 

Detailed Description

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 206 of file padstack.h.

Member Function Documentation

◆ operator==()

bool PADSTACK::COPPER_LAYER_PROPS::operator== ( const COPPER_LAYER_PROPS aOther) const

Member Data Documentation

◆ clearance

std::optional<int> PADSTACK::COPPER_LAYER_PROPS::clearance

Definition at line 213 of file padstack.h.

Referenced by PADSTACK::Clearance().

◆ custom_shapes

std::vector<std::shared_ptr<PCB_SHAPE> > PADSTACK::COPPER_LAYER_PROPS::custom_shapes

◆ shape

◆ thermal_gap

std::optional<int> PADSTACK::COPPER_LAYER_PROPS::thermal_gap

◆ thermal_spoke_angle

std::optional<EDA_ANGLE> PADSTACK::COPPER_LAYER_PROPS::thermal_spoke_angle

◆ thermal_spoke_width

std::optional<int> PADSTACK::COPPER_LAYER_PROPS::thermal_spoke_width

◆ zone_connection

std::optional<ZONE_CONNECTION> PADSTACK::COPPER_LAYER_PROPS::zone_connection

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