KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PADS_IO::PAD_STACK_LAYER Struct Reference

#include <pads_parser.h>

Public Attributes

int layer = 0
 
std::string shape
 Shape code: R, S, A, O, OF, RF, RT, ST, RA, SA, RC, OC.
 
double sizeA = 0.0
 Primary size (diameter or width)
 
double sizeB = 0.0
 Secondary size (height for rectangles/ovals)
 
double offsetX = 0.0
 Pad offset X from terminal position.
 
double offsetY = 0.0
 Pad offset Y from terminal position.
 
double rotation = 0.0
 Pad rotation angle in degrees.
 
double drill = 0.0
 Drill hole diameter (0 for SMD)
 
bool plated = true
 True if drill is plated (PTH vs NPTH)
 
double inner_diameter = 0.0
 Inner diameter for annular ring (0 = solid)
 
double corner_radius = 0.0
 Corner radius magnitude (always positive)
 
bool chamfered = false
 True if corners are chamfered (negative corner in PADS)
 
double finger_offset = 0.0
 Finger pad offset along orientation axis.
 
double slot_orientation = 0.0
 Slot orientation in degrees (0-179.999)
 
double slot_length = 0.0
 Slot length.
 
double slot_offset = 0.0
 Slot offset from electrical center.
 
double thermal_spoke_orientation = 0.0
 First spoke orientation in degrees.
 
double thermal_outer_diameter = 0.0
 Outer diameter of thermal or void in plane.
 
double thermal_spoke_width = 0.0
 Width of thermal spokes.
 
int thermal_spoke_count = 0
 Number of thermal spokes (typically 4)
 

Detailed Description

Definition at line 284 of file pads_parser.h.

Member Data Documentation

◆ chamfered

bool PADS_IO::PAD_STACK_LAYER::chamfered = false

True if corners are chamfered (negative corner in PADS)

Definition at line 297 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ corner_radius

double PADS_IO::PAD_STACK_LAYER::corner_radius = 0.0

Corner radius magnitude (always positive)

Definition at line 296 of file pads_parser.h.

Referenced by PCB_IO_PADS::loadFootprints(), PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ drill

double PADS_IO::PAD_STACK_LAYER::drill = 0.0

Drill hole diameter (0 for SMD)

Definition at line 293 of file pads_parser.h.

Referenced by PCB_IO_PADS::loadFootprints(), PADS_IO::BINARY_PARSER::parsePadStacks(), and PADS_IO::PARSER::parseSectionPARTDECAL().

◆ finger_offset

double PADS_IO::PAD_STACK_LAYER::finger_offset = 0.0

◆ inner_diameter

double PADS_IO::PAD_STACK_LAYER::inner_diameter = 0.0

Inner diameter for annular ring (0 = solid)

Definition at line 295 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ layer

◆ offsetX

double PADS_IO::PAD_STACK_LAYER::offsetX = 0.0

Pad offset X from terminal position.

Definition at line 290 of file pads_parser.h.

◆ offsetY

double PADS_IO::PAD_STACK_LAYER::offsetY = 0.0

Pad offset Y from terminal position.

Definition at line 291 of file pads_parser.h.

◆ plated

bool PADS_IO::PAD_STACK_LAYER::plated = true

◆ rotation

double PADS_IO::PAD_STACK_LAYER::rotation = 0.0

◆ shape

std::string PADS_IO::PAD_STACK_LAYER::shape

Shape code: R, S, A, O, OF, RF, RT, ST, RA, SA, RC, OC.

Definition at line 287 of file pads_parser.h.

Referenced by PCB_IO_PADS::loadFootprints(), PADS_IO::BINARY_PARSER::parsePadStacks(), PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ sizeA

double PADS_IO::PAD_STACK_LAYER::sizeA = 0.0

◆ sizeB

double PADS_IO::PAD_STACK_LAYER::sizeB = 0.0

◆ slot_length

double PADS_IO::PAD_STACK_LAYER::slot_length = 0.0

Slot length.

Definition at line 302 of file pads_parser.h.

Referenced by PCB_IO_PADS::loadFootprints(), and PADS_IO::PARSER::parseSectionPARTDECAL().

◆ slot_offset

double PADS_IO::PAD_STACK_LAYER::slot_offset = 0.0

Slot offset from electrical center.

Definition at line 303 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL().

◆ slot_orientation

double PADS_IO::PAD_STACK_LAYER::slot_orientation = 0.0

Slot orientation in degrees (0-179.999)

Definition at line 301 of file pads_parser.h.

Referenced by PCB_IO_PADS::loadFootprints(), and PADS_IO::PARSER::parseSectionPARTDECAL().

◆ thermal_outer_diameter

double PADS_IO::PAD_STACK_LAYER::thermal_outer_diameter = 0.0

Outer diameter of thermal or void in plane.

Definition at line 307 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ thermal_spoke_count

int PADS_IO::PAD_STACK_LAYER::thermal_spoke_count = 0

Number of thermal spokes (typically 4)

Definition at line 309 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ thermal_spoke_orientation

double PADS_IO::PAD_STACK_LAYER::thermal_spoke_orientation = 0.0

First spoke orientation in degrees.

Definition at line 306 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().

◆ thermal_spoke_width

double PADS_IO::PAD_STACK_LAYER::thermal_spoke_width = 0.0

Width of thermal spokes.

Definition at line 308 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionPARTDECAL(), and PADS_IO::PARSER::parseSectionVIA().


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