KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_DRILL_TOOLS Class Reference

#include <odb_util.h>

Classes

struct  TOOLS
 

Public Member Functions

 ODB_DRILL_TOOLS (const wxString &aUnits, const wxString &aThickness="0", const wxString &aUserParams=wxEmptyString)
 
void AddDrillTool (const wxString &aType, int aDiameter, const wxString &aType2=wxT("STANDARD"))
 Record the drill bit used for a hole.
 
void GenerateFile (std::ostream &aStream)
 

Public Attributes

wxString m_units
 
wxString m_thickness
 
wxString m_userParams
 
std::vector< ODB_DRILL_TOOLS::TOOLSm_tools
 

Detailed Description

Definition at line 331 of file odb_util.h.

Constructor & Destructor Documentation

◆ ODB_DRILL_TOOLS()

ODB_DRILL_TOOLS::ODB_DRILL_TOOLS ( const wxString & aUnits,
const wxString & aThickness = "0",
const wxString & aUserParams = wxEmptyString )

Definition at line 360 of file odb_util.cpp.

References m_thickness, m_units, and m_userParams.

Member Function Documentation

◆ AddDrillTool()

void ODB_DRILL_TOOLS::AddDrillTool ( const wxString & aType,
int aDiameter,
const wxString & aType2 = wxT( "STANDARD" ) )

Record the drill bit used for a hole.

Parameters
aTypeis the ODB++ plating class of the hole (PLATED, NON_PLATED or VIA).
aDiameteris the hole diameter in internal units.
aType2is the ODB++ drilling method (STANDARD, LASER, BLIND, ...).

Definition at line 367 of file odb_util.cpp.

References ODB::Data2String(), ODB_DRILL_TOOLS::TOOLS::m_drillSize, ODB_DRILL_TOOLS::TOOLS::m_finishSize, ODB_DRILL_TOOLS::TOOLS::m_num, m_tools, ODB_DRILL_TOOLS::TOOLS::m_type, and ODB_DRILL_TOOLS::TOOLS::m_type2.

◆ GenerateFile()

void ODB_DRILL_TOOLS::GenerateFile ( std::ostream & aStream)

Member Data Documentation

◆ m_thickness

wxString ODB_DRILL_TOOLS::m_thickness

Definition at line 364 of file odb_util.h.

Referenced by GenerateFile(), and ODB_DRILL_TOOLS().

◆ m_tools

std::vector<ODB_DRILL_TOOLS::TOOLS> ODB_DRILL_TOOLS::m_tools

Definition at line 366 of file odb_util.h.

Referenced by AddDrillTool(), and GenerateFile().

◆ m_units

wxString ODB_DRILL_TOOLS::m_units

Definition at line 363 of file odb_util.h.

Referenced by GenerateFile(), and ODB_DRILL_TOOLS().

◆ m_userParams

wxString ODB_DRILL_TOOLS::m_userParams

Definition at line 365 of file odb_util.h.

Referenced by GenerateFile(), and ODB_DRILL_TOOLS().


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