KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALLEGRO::PADSTACK_COMPONENT Struct Reference

Substruct in a padstack object. More...

#include <allegro_pcb_structs.h>

Public Types

enum  TYPE {
  TYPE_NULL = 0x00 , TYPE_CIRCLE = 0x02 , TYPE_OCTAGON = 0x03 , TYPE_CROSS = 0x04 ,
  TYPE_SQUARE = 0x05 , TYPE_RECTANGLE = 0x06 , TYPE_DIAMOND = 0x07 , TYPE_PENTAGON = 0x0a ,
  TYPE_OBLONG_X = 0x0b , TYPE_OBLONG_Y = 0x0c , TYPE_HEXAGON_X = 0x0f , TYPE_HEXAGON_Y = 0x10 ,
  TYPE_TRIANGLE = 0x12 , TYPE_SHAPE_SYMBOL = 0x16 , TYPE_FLASH = 0x17 , TYPE_DONUT = 0x19 ,
  TYPE_ROUNDED_RECTANGLE = 0x1b , TYPE_CHAMFERED_RECTANGLE = 0x1c , TYPE_NSIDED_POLYGON = 0x1e , TYPE_APERTURE_EXT = 0xee
}
 

Public Attributes

uint8_t m_Type
 
uint8_t m_UnknownByte1
 
uint8_t m_UnknownByte2
 
uint8_t m_UnknownByte3
 
COND_GE< FMT_VER::V_172, uint32_t > m_Unknown1
 
int32_t m_W
 
int32_t m_H
 
COND_GE< FMT_VER::V_172, int16_t > m_Z1
 
int32_t m_X3
 
int32_t m_X4
 
COND_GE< FMT_VER::V_172, int16_t > m_Z
 
uint32_t m_StrPtr
 Seems to point to various things:
 
std::optional< uint32_t > m_Z2
 

Detailed Description

Substruct in a padstack object.

Each component is one slot in the padstack, representing either a fixed technical layer or a per-copper-layer pad/antipad/thermal relief.

Definition at line 1027 of file allegro_pcb_structs.h.

Member Enumeration Documentation

◆ TYPE

Enumerator
TYPE_NULL 
TYPE_CIRCLE 
TYPE_OCTAGON 
TYPE_CROSS 
TYPE_SQUARE 
TYPE_RECTANGLE 
TYPE_DIAMOND 
TYPE_PENTAGON 
TYPE_OBLONG_X 
TYPE_OBLONG_Y 
TYPE_HEXAGON_X 
TYPE_HEXAGON_Y 
TYPE_TRIANGLE 
TYPE_SHAPE_SYMBOL 
TYPE_FLASH 
TYPE_DONUT 
TYPE_ROUNDED_RECTANGLE 
TYPE_CHAMFERED_RECTANGLE 
TYPE_NSIDED_POLYGON 
TYPE_APERTURE_EXT 

Definition at line 1029 of file allegro_pcb_structs.h.

Member Data Documentation

◆ m_H

int32_t ALLEGRO::PADSTACK_COMPONENT::m_H

Definition at line 1061 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems().

◆ m_StrPtr

uint32_t ALLEGRO::PADSTACK_COMPONENT::m_StrPtr

Seems to point to various things:

  • 0x0F objects when the type is 0x06
  • 0x28 objects when the type is 0x16

Definition at line 1076 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems().

◆ m_Type

uint8_t ALLEGRO::PADSTACK_COMPONENT::m_Type

◆ m_Unknown1

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::PADSTACK_COMPONENT::m_Unknown1

Definition at line 1058 of file allegro_pcb_structs.h.

◆ m_UnknownByte1

uint8_t ALLEGRO::PADSTACK_COMPONENT::m_UnknownByte1

Definition at line 1054 of file allegro_pcb_structs.h.

◆ m_UnknownByte2

uint8_t ALLEGRO::PADSTACK_COMPONENT::m_UnknownByte2

Definition at line 1055 of file allegro_pcb_structs.h.

◆ m_UnknownByte3

uint8_t ALLEGRO::PADSTACK_COMPONENT::m_UnknownByte3

Definition at line 1056 of file allegro_pcb_structs.h.

◆ m_W

int32_t ALLEGRO::PADSTACK_COMPONENT::m_W

◆ m_X3

int32_t ALLEGRO::PADSTACK_COMPONENT::m_X3

Definition at line 1065 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems().

◆ m_X4

int32_t ALLEGRO::PADSTACK_COMPONENT::m_X4

Definition at line 1066 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems().

◆ m_Z

COND_GE<FMT_VER::V_172, int16_t> ALLEGRO::PADSTACK_COMPONENT::m_Z

Definition at line 1068 of file allegro_pcb_structs.h.

◆ m_Z1

COND_GE<FMT_VER::V_172, int16_t> ALLEGRO::PADSTACK_COMPONENT::m_Z1

Definition at line 1063 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems().

◆ m_Z2

std::optional<uint32_t> ALLEGRO::PADSTACK_COMPONENT::m_Z2

Definition at line 1079 of file allegro_pcb_structs.h.


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