KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GBR_APERTURE_METADATA Class Reference

#include <gbr_metadata.h>

Public Types

enum  GBR_APERTURE_ATTRIB {
  GBR_APERTURE_ATTRIB_NONE , GBR_APERTURE_ATTRIB_ETCHEDCMP , GBR_APERTURE_ATTRIB_CONDUCTOR , GBR_APERTURE_ATTRIB_EDGECUT ,
  GBR_APERTURE_ATTRIB_NONCONDUCTOR , GBR_APERTURE_ATTRIB_VIAPAD , GBR_APERTURE_ATTRIB_COMPONENTPAD , GBR_APERTURE_ATTRIB_SMDPAD_SMDEF ,
  GBR_APERTURE_ATTRIB_SMDPAD_CUDEF , GBR_APERTURE_ATTRIB_BGAPAD_SMDEF , GBR_APERTURE_ATTRIB_BGAPAD_CUDEF , GBR_APERTURE_ATTRIB_CONNECTORPAD ,
  GBR_APERTURE_ATTRIB_WASHERPAD , GBR_APERTURE_ATTRIB_TESTPOINT , GBR_APERTURE_ATTRIB_FIDUCIAL_GLBL , GBR_APERTURE_ATTRIB_FIDUCIAL_LOCAL ,
  GBR_APERTURE_ATTRIB_HEATSINKPAD , GBR_APERTURE_ATTRIB_CASTELLATEDPAD , GBR_APERTURE_ATTRIB_CASTELLATEDDRILL , GBR_APERTURE_ATTRIB_VIADRILL ,
  GBR_APERTURE_ATTRIB_CMP_DRILL , GBR_APERTURE_ATTRIB_CMP_OBLONG_DRILL , GBR_APERTURE_ATTRIB_CMP_POSITION , GBR_APERTURE_ATTRIB_PAD1_POS ,
  GBR_APERTURE_ATTRIB_PADOTHER_POS , GBR_APERTURE_ATTRIB_CMP_BODY , GBR_APERTURE_ATTRIB_CMP_LEAD2LEAD , GBR_APERTURE_ATTRIB_CMP_FOOTPRINT ,
  GBR_APERTURE_ATTRIB_CMP_COURTYARD , GBR_APERTURE_ATTRIB_END
}
 

Public Member Functions

 GBR_APERTURE_METADATA ()
 
std::string GetAttributeName ()
 
std::string FormatAttribute (bool aUseX1StructuredComment)
 

Static Public Member Functions

static std::string GetAttributeName (GBR_APERTURE_ATTRIB aAttribute)
 
static std::string FormatAttribute (GBR_APERTURE_ATTRIB aAttribute, bool aUseX1StructuredComment)
 

Public Attributes

GBR_APERTURE_ATTRIB m_ApertAttribute
 

Detailed Description

Definition at line 88 of file gbr_metadata.h.

Member Enumeration Documentation

◆ GBR_APERTURE_ATTRIB

Enumerator
GBR_APERTURE_ATTRIB_NONE 

uninitialized attribute.

GBR_APERTURE_ATTRIB_ETCHEDCMP 

aperture used for etched components.

aperture used for connected items like tracks (not vias).

GBR_APERTURE_ATTRIB_CONDUCTOR 
GBR_APERTURE_ATTRIB_EDGECUT 

aperture used for board cutout,

aperture used for not connected items (texts, outlines on copper).

GBR_APERTURE_ATTRIB_NONCONDUCTOR 
GBR_APERTURE_ATTRIB_VIAPAD 

aperture used for vias.

aperture used for through hole component on outer layer.

GBR_APERTURE_ATTRIB_COMPONENTPAD 

aperture used for SMD pad. Excluded BGA pads which have their own type.

GBR_APERTURE_ATTRIB_SMDPAD_SMDEF 

aperture used for SMD pad with a solder mask defined by the solder mask.

GBR_APERTURE_ATTRIB_SMDPAD_CUDEF 

aperture used for BGA pads with a solder mask defined by the copper shape.

GBR_APERTURE_ATTRIB_BGAPAD_SMDEF 

aperture used for BGA pad with a solder mask defined by the solder mask.

GBR_APERTURE_ATTRIB_BGAPAD_CUDEF 

aperture used for edge connector pad (outer layers).

GBR_APERTURE_ATTRIB_CONNECTORPAD 
GBR_APERTURE_ATTRIB_WASHERPAD 

aperture used for mechanical pads (NPTH).

GBR_APERTURE_ATTRIB_TESTPOINT 

aperture used for test point pad (outer layers).

aperture used for fiducial pad (outer layers), at board level.

GBR_APERTURE_ATTRIB_FIDUCIAL_GLBL 

aperture used for fiducial pad (outer layers), at footprint level.

GBR_APERTURE_ATTRIB_FIDUCIAL_LOCAL 

aperture used for heat sink pad (typically for SMDs).

GBR_APERTURE_ATTRIB_HEATSINKPAD 

aperture used for castellated pads in copper layer files.

GBR_APERTURE_ATTRIB_CASTELLATEDPAD 

aperture used for castellated pads in drill files.

GBR_APERTURE_ATTRIB_CASTELLATEDDRILL 
GBR_APERTURE_ATTRIB_VIADRILL 

aperture used for via holes in drill files.

GBR_APERTURE_ATTRIB_CMP_DRILL 

aperture used for pad holes in drill files.

aperture used for pads oblong holes in drill files.

GBR_APERTURE_ATTRIB_CMP_OBLONG_DRILL 

aperture used for flashed cmp position in placement files.

GBR_APERTURE_ATTRIB_CMP_POSITION 

aperture used for flashed pin 1 (or A1 or AA1) position in placement files.

GBR_APERTURE_ATTRIB_PAD1_POS 

aperture used for flashed pads position in placement files.

GBR_APERTURE_ATTRIB_PADOTHER_POS 

aperture used to draw component physical body outline without pins in placement files.

GBR_APERTURE_ATTRIB_CMP_BODY 

aperture used to draw component physical body outline with pins in placement files.

GBR_APERTURE_ATTRIB_CMP_LEAD2LEAD 

aperture used to draw component footprint bounding box in placement files.

GBR_APERTURE_ATTRIB_CMP_FOOTPRINT 

aperture used to draw component outline courtyard in placement files.

GBR_APERTURE_ATTRIB_CMP_COURTYARD 
GBR_APERTURE_ATTRIB_END 

sentinel: max value

Definition at line 91 of file gbr_metadata.h.

Constructor & Destructor Documentation

◆ GBR_APERTURE_METADATA()

GBR_APERTURE_METADATA::GBR_APERTURE_METADATA ( )
inline

Definition at line 168 of file gbr_metadata.h.

Member Function Documentation

◆ FormatAttribute() [1/2]

std::string GBR_APERTURE_METADATA::FormatAttribute ( bool  aUseX1StructuredComment)
inline

Definition at line 191 of file gbr_metadata.h.

References FormatAttribute(), and m_ApertAttribute.

◆ FormatAttribute() [2/2]

std::string GBR_APERTURE_METADATA::FormatAttribute ( GBR_APERTURE_ATTRIB  aAttribute,
bool  aUseX1StructuredComment 
)
static

◆ GetAttributeName() [1/2]

std::string GBR_APERTURE_METADATA::GetAttributeName ( )
inline

Definition at line 176 of file gbr_metadata.h.

References GetAttributeName(), and m_ApertAttribute.

Referenced by GetAttributeName().

◆ GetAttributeName() [2/2]

static std::string GBR_APERTURE_METADATA::GetAttributeName ( GBR_APERTURE_ATTRIB  aAttribute)
static
Returns
the string corresponding to the aperture attribute.

Member Data Documentation

◆ m_ApertAttribute

GBR_APERTURE_ATTRIB GBR_APERTURE_METADATA::m_ApertAttribute

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