KiCad PCB EDA Suite
netclass.cpp File Reference
#include <fctsys.h>
#include <common.h>
#include <kicad_string.h>
#include <pcbnew.h>
#include <richio.h>
#include <macros.h>
#include <class_board.h>
#include <netclass.h>

Go to the source code of this file.

Macros

#define FMT_IU   BOARD_ITEM::FormatInternalUnits
 Abbrevation for fomatting internal units to a string. More...
 
#define FMT_ANGLE   BOARD_ITEM::FormatAngle
 

Variables

const int DEFAULT_CLEARANCE = Millimeter2iu( 0.2 )
 
const int DEFAULT_VIA_DIAMETER = Millimeter2iu( 0.8 )
 
const int DEFAULT_VIA_DRILL = Millimeter2iu( 0.4 )
 
const int DEFAULT_UVIA_DIAMETER = Millimeter2iu( 0.3 )
 
const int DEFAULT_UVIA_DRILL = Millimeter2iu( 0.1 )
 
const int DEFAULT_TRACK_WIDTH = Millimeter2iu( 0.25 )
 
const int DEFAULT_DIFF_PAIR_WIDTH = Millimeter2iu( 0.2 )
 
const int DEFAULT_DIFF_PAIR_GAP = Millimeter2iu( 0.25 )
 
const int DEFAULT_DIFF_PAIR_VIAGAP = Millimeter2iu( 0.25 )
 

Macro Definition Documentation

#define FMT_ANGLE   BOARD_ITEM::FormatAngle

Definition at line 38 of file netclass.cpp.

#define FMT_IU   BOARD_ITEM::FormatInternalUnits

Abbrevation for fomatting internal units to a string.

Definition at line 37 of file netclass.cpp.

Referenced by NETCLASS::Format().

Variable Documentation

const int DEFAULT_CLEARANCE = Millimeter2iu( 0.2 )

Definition at line 45 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

const int DEFAULT_DIFF_PAIR_GAP = Millimeter2iu( 0.25 )

Definition at line 52 of file netclass.cpp.

Referenced by NETCLASS::Format(), and NETCLASS::NETCLASS().

const int DEFAULT_DIFF_PAIR_VIAGAP = Millimeter2iu( 0.25 )

Definition at line 53 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

const int DEFAULT_DIFF_PAIR_WIDTH = Millimeter2iu( 0.2 )

Definition at line 51 of file netclass.cpp.

Referenced by NETCLASS::Format(), and NETCLASS::NETCLASS().

const int DEFAULT_TRACK_WIDTH = Millimeter2iu( 0.25 )

Definition at line 50 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

const int DEFAULT_UVIA_DIAMETER = Millimeter2iu( 0.3 )

Definition at line 48 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

const int DEFAULT_UVIA_DRILL = Millimeter2iu( 0.1 )

Definition at line 49 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

const int DEFAULT_VIA_DIAMETER = Millimeter2iu( 0.8 )

Definition at line 46 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

const int DEFAULT_VIA_DRILL = Millimeter2iu( 0.4 )

Definition at line 47 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().