KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIPTRACE::DT_PAD Struct Reference

#include <diptrace_pcb_parser.h>

Public Attributes

int index = 0
 Sequential pad index within the component (1-based)
 
int netIndex = -1
 Net index from DipTrace file (-1 = unconnected)
 
int x = 0
 X offset from component origin in DipTrace units.
 
int y = 0
 Y offset from component origin in DipTrace units.
 
wxString number
 Pad number/name (e.g. "1", "2")
 
wxString label
 Functional label (e.g. "POS", "GND")
 
int width = 0
 Copper pad width in DipTrace units.
 
int height = 0
 Copper pad height in DipTrace units.
 
int drillWidth = 0
 Drill width in DipTrace units (0 for SMD)
 
int drillHeight = 0
 Drill height in DipTrace units (0 for SMD)
 
int style = 1
 Pad style (0=ellipse, 1=oval, 2=rectangle, 3=polygon)
 
uint8_t mountType = 0
 Explicit mount class from pad post-block (0=through, 1=SMD)
 
uint8_t orientClass = 0
 Pad orientation class from pad post-block tail byte.
 
std::vector< std::pair< int, int > > polygonVertices
 Custom polygon vertices relative to pad center (DipTrace units).
 

Detailed Description

Definition at line 97 of file diptrace_pcb_parser.h.

Member Data Documentation

◆ drillHeight

int DIPTRACE::DT_PAD::drillHeight = 0

Drill height in DipTrace units (0 for SMD)

Definition at line 108 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ drillWidth

int DIPTRACE::DT_PAD::drillWidth = 0

Drill width in DipTrace units (0 for SMD)

Definition at line 107 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ height

int DIPTRACE::DT_PAD::height = 0

Copper pad height in DipTrace units.

Definition at line 106 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ index

int DIPTRACE::DT_PAD::index = 0

Sequential pad index within the component (1-based)

Definition at line 99 of file diptrace_pcb_parser.h.

Referenced by DumpPadPostBlock().

◆ label

wxString DIPTRACE::DT_PAD::label

Functional label (e.g. "POS", "GND")

Definition at line 104 of file diptrace_pcb_parser.h.

Referenced by DumpPadPostBlock().

◆ mountType

uint8_t DIPTRACE::DT_PAD::mountType = 0

Explicit mount class from pad post-block (0=through, 1=SMD)

Definition at line 110 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ netIndex

int DIPTRACE::DT_PAD::netIndex = -1

Net index from DipTrace file (-1 = unconnected)

Definition at line 100 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ number

wxString DIPTRACE::DT_PAD::number

Pad number/name (e.g. "1", "2")

Definition at line 103 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ orientClass

uint8_t DIPTRACE::DT_PAD::orientClass = 0

Pad orientation class from pad post-block tail byte.

Definition at line 111 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ polygonVertices

std::vector<std::pair<int, int> > DIPTRACE::DT_PAD::polygonVertices

Custom polygon vertices relative to pad center (DipTrace units).

Non-empty when the pad style field C=3, indicating a polygon/custom shape.

Definition at line 115 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint().

◆ style

int DIPTRACE::DT_PAD::style = 1

Pad style (0=ellipse, 1=oval, 2=rectangle, 3=polygon)

Definition at line 109 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint().

◆ width

int DIPTRACE::DT_PAD::width = 0

Copper pad width in DipTrace units.

Definition at line 105 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ x

int DIPTRACE::DT_PAD::x = 0

X offset from component origin in DipTrace units.

Definition at line 101 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().

◆ y

int DIPTRACE::DT_PAD::y = 0

Y offset from component origin in DipTrace units.

Definition at line 102 of file diptrace_pcb_parser.h.

Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DumpPadPostBlock().


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