KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
PADSTACK::DRILL_PROPS Struct Reference

! The properties of a padstack drill. Drill position is always the pad position (origin). More...

#include <padstack.h>

Public Member Functions

bool operator== (const DRILL_PROPS &aOther) const
 

Public Attributes

VECTOR2I size
 Drill diameter (x == y) or slot dimensions (x != y)
 
PAD_DRILL_SHAPE shape
 
PCB_LAYER_ID start
 
PCB_LAYER_ID end
 
std::optional< bool > is_filled
 True if the drill hole should be filled completely.
 
std::optional< bool > is_capped
 True if the drill hole should be capped.
 

Detailed Description

! The properties of a padstack drill. Drill position is always the pad position (origin).

Definition at line 241 of file padstack.h.

Member Function Documentation

◆ operator==()

bool PADSTACK::DRILL_PROPS::operator== ( const DRILL_PROPS aOther) const

Definition at line 823 of file padstack.cpp.

References end, end, shape, size, and start.

Member Data Documentation

◆ end

◆ is_capped

std::optional<bool> PADSTACK::DRILL_PROPS::is_capped

True if the drill hole should be capped.

Definition at line 249 of file padstack.h.

Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_VIA::GetCappingMode(), PADSTACK::IsCapped(), and PCB_VIA::SetCappingMode().

◆ is_filled

std::optional<bool> PADSTACK::DRILL_PROPS::is_filled

True if the drill hole should be filled completely.

Definition at line 248 of file padstack.h.

Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_VIA::GetFillingMode(), PADSTACK::IsFilled(), and PCB_VIA::SetFillingMode().

◆ shape

◆ size

◆ start


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