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

Placed footprint instance on the board. More...

#include <allegro_pcb_structs.h>

Public Member Functions

uint32_t GetInstRef () const
 

Public Attributes

uint8_t m_UnknownByte1
 
uint8_t m_Layer
 
uint8_t m_UnknownByte2
 
uint32_t m_Key
 
uint32_t m_Next
 
COND_GE< FMT_VER::V_172, uint32_t > m_Unknown1
 
COND_LT< FMT_VER::V_172, uint32_t > m_InstRef16x
 
uint16_t m_Unknown2
 
uint16_t m_Unknown3
 
COND_GE< FMT_VER::V_172, uint32_t > m_Unknown4
 
uint32_t m_Flags
 
uint32_t m_Rotation
 Millidegrees (divide by 1000 for degrees)
 
int32_t m_CoordX
 
int32_t m_CoordY
 
COND_GE< FMT_VER::V_172, uint32_t > m_InstRef
 
uint32_t m_GraphicPtr
 
uint32_t m_FirstPadPtr
 
uint32_t m_TextPtr
 
uint32_t m_AssemblyPtr
 
uint32_t m_AreasPtr
 
uint32_t m_UnknownPtr1
 
uint32_t m_UnknownPtr2
 

Detailed Description

Placed footprint instance on the board.

Contains position (m_CoordX/Y), rotation (m_Rotation in millidegrees), and layer (0=top, 1=bottom). Links to graphics (0x14 via m_GraphicPtr), placed pads (0x32 via m_FirstPadPtr), text (0x30 via m_TextPtr), and instance reference data (0x07 via m_InstRef). Bottom-layer footprints must be flipped AFTER adding all children.

Definition at line 1693 of file allegro_pcb_structs.h.

Member Function Documentation

◆ GetInstRef()

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::GetInstRef ( ) const
inline

Definition at line 1731 of file allegro_pcb_structs.h.

References m_InstRef, and m_InstRef16x.

Member Data Documentation

◆ m_AreasPtr

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_AreasPtr

Definition at line 1727 of file allegro_pcb_structs.h.

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

◆ m_AssemblyPtr

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_AssemblyPtr

Definition at line 1726 of file allegro_pcb_structs.h.

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

◆ m_CoordX

int32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_CoordX

◆ m_CoordY

int32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_CoordY

◆ m_FirstPadPtr

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_FirstPadPtr

Definition at line 1723 of file allegro_pcb_structs.h.

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

◆ m_Flags

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Flags

Definition at line 1713 of file allegro_pcb_structs.h.

◆ m_GraphicPtr

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_GraphicPtr

Definition at line 1722 of file allegro_pcb_structs.h.

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

◆ m_InstRef

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_InstRef

Definition at line 1720 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::getFpInstRef(), and GetInstRef().

◆ m_InstRef16x

COND_LT<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_InstRef16x

Definition at line 1706 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::getFpInstRef(), and GetInstRef().

◆ m_Key

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Key

Definition at line 1699 of file allegro_pcb_structs.h.

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

◆ m_Layer

uint8_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Layer

◆ m_Next

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Next

Definition at line 1701 of file allegro_pcb_structs.h.

◆ m_Rotation

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Rotation

Millidegrees (divide by 1000 for degrees)

Definition at line 1715 of file allegro_pcb_structs.h.

Referenced by ALLEGRO::BOARD_BUILDER::buildFootprint(), and ALLEGRO::FOOTPRINT_INSTANCE::FOOTPRINT_INSTANCE().

◆ m_TextPtr

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_TextPtr

Definition at line 1724 of file allegro_pcb_structs.h.

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

◆ m_Unknown1

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

Definition at line 1703 of file allegro_pcb_structs.h.

◆ m_Unknown2

uint16_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Unknown2

Definition at line 1708 of file allegro_pcb_structs.h.

◆ m_Unknown3

uint16_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Unknown3

Definition at line 1709 of file allegro_pcb_structs.h.

◆ m_Unknown4

COND_GE<FMT_VER::V_172, uint32_t> ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_Unknown4

Definition at line 1711 of file allegro_pcb_structs.h.

◆ m_UnknownByte1

uint8_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_UnknownByte1

Definition at line 1695 of file allegro_pcb_structs.h.

◆ m_UnknownByte2

uint8_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_UnknownByte2

Definition at line 1697 of file allegro_pcb_structs.h.

◆ m_UnknownPtr1

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_UnknownPtr1

Definition at line 1728 of file allegro_pcb_structs.h.

◆ m_UnknownPtr2

uint32_t ALLEGRO::BLK_0x2D_FOOTPRINT_INST::m_UnknownPtr2

Definition at line 1729 of file allegro_pcb_structs.h.


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