KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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 243 of file padstack.h.

Member Function Documentation

◆ operator==()

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

Definition at line 826 of file padstack.cpp.

References 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 251 of file padstack.h.

Referenced by PCB_IO_KICAD_SEXPR::format().

◆ is_filled

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

True if the drill hole should be filled completely.

Definition at line 250 of file padstack.h.

Referenced by PCB_IO_KICAD_SEXPR::format().

◆ shape

PAD_DRILL_SHAPE PADSTACK::DRILL_PROPS::shape

Definition at line 246 of file padstack.h.

Referenced by operator==().

◆ size

VECTOR2I PADSTACK::DRILL_PROPS::size

Drill diameter (x == y) or slot dimensions (x != y)

Definition at line 245 of file padstack.h.

Referenced by PADSTACK::Compare(), PADSTACK::Deserialize(), and operator==().

◆ start


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