KiCad PCB EDA Suite
gen_drill_report_files.cpp File Reference

Functions to create report and map files for EXCELLON drill files. More...

#include <fctsys.h>
#include <common.h>
#include <class_plotter.h>
#include <base_struct.h>
#include <drawtxt.h>
#include <confirm.h>
#include <kicad_string.h>
#include <macros.h>
#include <class_board.h>
#include <pcbnew.h>
#include <pcbplot.h>
#include <gendrill_file_writer_base.h>

Go to the source code of this file.

Functions

double diameter_in_inches (double ius)
 
double diameter_in_mm (double ius)
 

Detailed Description

Functions to create report and map files for EXCELLON drill files.

Definition in file gen_drill_report_files.cpp.

Function Documentation

double diameter_in_inches ( double  ius)
inline

Definition at line 46 of file gen_drill_report_files.cpp.

Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), and GENDRILL_WRITER_BASE::printToolSummary().

47 {
48  return ius * 0.001 / IU_PER_MILS;
49 }
double diameter_in_mm ( double  ius)
inline

Definition at line 52 of file gen_drill_report_files.cpp.

Referenced by GENDRILL_WRITER_BASE::genDrillMapFile(), and GENDRILL_WRITER_BASE::printToolSummary().

53 {
54  return ius / IU_PER_MM;
55 }