KiCad PCB EDA Suite
Loading...
Searching...
No Matches
netclass.cpp File Reference
#include <algorithm>
#include <netclass.h>
#include <macros.h>
#include <base_units.h>

Go to the source code of this file.

Variables

const int DEFAULT_CLEARANCE = pcbIUScale.mmToIU( 0.2 )
 
const int DEFAULT_VIA_DIAMETER = pcbIUScale.mmToIU( 0.6 )
 
const int DEFAULT_VIA_DRILL = pcbIUScale.mmToIU( 0.3 )
 
const int DEFAULT_UVIA_DIAMETER = pcbIUScale.mmToIU( 0.3 )
 
const int DEFAULT_UVIA_DRILL = pcbIUScale.mmToIU( 0.1 )
 
const int DEFAULT_TRACK_WIDTH = pcbIUScale.mmToIU( 0.2 )
 
const int DEFAULT_DIFF_PAIR_WIDTH = pcbIUScale.mmToIU( 0.2 )
 
const int DEFAULT_DIFF_PAIR_GAP = pcbIUScale.mmToIU( 0.25 )
 
const int DEFAULT_DIFF_PAIR_VIAGAP = pcbIUScale.mmToIU( 0.25 )
 
const int DEFAULT_WIRE_WIDTH = schIUScale.MilsToIU( 6 )
 
const int DEFAULT_BUS_WIDTH = schIUScale.MilsToIU( 12 )
 
const int DEFAULT_LINE_STYLE = 0
 

Variable Documentation

◆ DEFAULT_BUS_WIDTH

const int DEFAULT_BUS_WIDTH = schIUScale.MilsToIU( 12 )

Definition at line 46 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_CLEARANCE

const int DEFAULT_CLEARANCE = pcbIUScale.mmToIU( 0.2 )

Definition at line 35 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_DIFF_PAIR_GAP

const int DEFAULT_DIFF_PAIR_GAP = pcbIUScale.mmToIU( 0.25 )

Definition at line 42 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_DIFF_PAIR_VIAGAP

const int DEFAULT_DIFF_PAIR_VIAGAP = pcbIUScale.mmToIU( 0.25 )

Definition at line 43 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_DIFF_PAIR_WIDTH

const int DEFAULT_DIFF_PAIR_WIDTH = pcbIUScale.mmToIU( 0.2 )

Definition at line 41 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_LINE_STYLE

const int DEFAULT_LINE_STYLE = 0

Definition at line 48 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_TRACK_WIDTH

const int DEFAULT_TRACK_WIDTH = pcbIUScale.mmToIU( 0.2 )

Definition at line 40 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_UVIA_DIAMETER

const int DEFAULT_UVIA_DIAMETER = pcbIUScale.mmToIU( 0.3 )

Definition at line 38 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_UVIA_DRILL

const int DEFAULT_UVIA_DRILL = pcbIUScale.mmToIU( 0.1 )

Definition at line 39 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_VIA_DIAMETER

const int DEFAULT_VIA_DIAMETER = pcbIUScale.mmToIU( 0.6 )

Definition at line 36 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_VIA_DRILL

const int DEFAULT_VIA_DRILL = pcbIUScale.mmToIU( 0.3 )

Definition at line 37 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().

◆ DEFAULT_WIRE_WIDTH

const int DEFAULT_WIRE_WIDTH = schIUScale.MilsToIU( 6 )

Definition at line 45 of file netclass.cpp.

Referenced by NETCLASS::NETCLASS().