KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ERULES Struct Reference

subset of eagle.drawing.board.designrules in the XML document More...

#include <pcb_io_eagle.h>

Public Member Functions

 ERULES ()
 
void parse (wxXmlNode *aRules, std::function< void()> aCheckpoint)
 percent over 100%.
 

Public Attributes

int psElongationLong
 
int psElongationOffset
 the offset of the hole within the "long" pad.
 
double mvStopFrame
 solderpaste mask, expressed as percentage of the smaller pad/via dimension
 
double mvCreamFrame
 
int mlMinStopFrame
 solder mask, minimum size (Eagle mils, here nanometers)
 
int mlMaxStopFrame
 solder mask, maximum size (Eagle mils, here nanometers)
 
int mlMinCreamFrame
 solder paste mask, minimum size (Eagle mils, here nanometers)
 
int mlMaxCreamFrame
 solder paste mask, maximum size (Eagle mils, here nanometers)
 
int psTop
 Shape of the top pads.
 
int psBottom
 Shape of the bottom pads.
 
int psFirst
 Shape of the first pads.
 
double srRoundness
 corner rounding ratio for SMD pads (percentage)
 
int srMinRoundness
 corner rounding radius, maximum size (Eagle mils, here nanometers)
 
int srMaxRoundness
 
double rvPadTop
 top pad size as percent of drill size
 
double rlMinPadTop
 minimum copper annulus on through hole pads
 
double rlMaxPadTop
 maximum copper annulus on through hole pads
 
double rvViaOuter
 copper annulus is this percent of via hole
 
double rlMinViaOuter
 minimum copper annulus on via
 
double rlMaxViaOuter
 maximum copper annulus on via
 
double mdWireWire
 wire to wire spacing I presume.
 

Detailed Description

subset of eagle.drawing.board.designrules in the XML document

Definition at line 53 of file pcb_io_eagle.h.

Constructor & Destructor Documentation

◆ ERULES()

ERULES::ERULES ( )
inline

Definition at line 55 of file pcb_io_eagle.h.

Member Function Documentation

◆ parse()

void ERULES::parse ( wxXmlNode *  aRules,
std::function< void()>  aCheckpoint 
)

percent over 100%.

0-> not elongated, 100->twice as wide as is tall Goes into making a scaling factor for "long" pads.

Definition at line 163 of file pcb_io_eagle.cpp.

References mdWireWire, mlMaxCreamFrame, mlMaxStopFrame, mlMinCreamFrame, mlMinStopFrame, mvCreamFrame, mvStopFrame, name, parseEagle(), psBottom, psElongationLong, psElongationOffset, psFirst, psTop, rlMaxPadTop, rlMaxViaOuter, rlMinPadTop, rlMinViaOuter, rvPadTop, rvViaOuter, srMaxRoundness, srMinRoundness, and srRoundness.

Referenced by PCB_IO_EAGLE::loadDesignRules().

Member Data Documentation

◆ mdWireWire

double ERULES::mdWireWire

wire to wire spacing I presume.

Definition at line 124 of file pcb_io_eagle.h.

Referenced by PCB_IO_EAGLE::LoadBoard(), and parse().

◆ mlMaxCreamFrame

int ERULES::mlMaxCreamFrame

solder paste mask, maximum size (Eagle mils, here nanometers)

Definition at line 101 of file pcb_io_eagle.h.

Referenced by parse().

◆ mlMaxStopFrame

int ERULES::mlMaxStopFrame

solder mask, maximum size (Eagle mils, here nanometers)

Definition at line 99 of file pcb_io_eagle.h.

Referenced by parse().

◆ mlMinCreamFrame

int ERULES::mlMinCreamFrame

solder paste mask, minimum size (Eagle mils, here nanometers)

Definition at line 100 of file pcb_io_eagle.h.

Referenced by parse().

◆ mlMinStopFrame

int ERULES::mlMinStopFrame

solder mask, minimum size (Eagle mils, here nanometers)

Definition at line 98 of file pcb_io_eagle.h.

Referenced by parse().

◆ mvCreamFrame

double ERULES::mvCreamFrame

Definition at line 97 of file pcb_io_eagle.h.

Referenced by parse().

◆ mvStopFrame

double ERULES::mvStopFrame

solderpaste mask, expressed as percentage of the smaller pad/via dimension

Definition at line 94 of file pcb_io_eagle.h.

Referenced by parse().

◆ psBottom

int ERULES::psBottom

Shape of the bottom pads.

Definition at line 104 of file pcb_io_eagle.h.

Referenced by parse().

◆ psElongationLong

int ERULES::psElongationLong

Definition at line 89 of file pcb_io_eagle.h.

Referenced by parse().

◆ psElongationOffset

int ERULES::psElongationOffset

the offset of the hole within the "long" pad.

solder mask, expressed as percentage of the smaller pad/via dimension

Definition at line 91 of file pcb_io_eagle.h.

Referenced by parse().

◆ psFirst

int ERULES::psFirst

Shape of the first pads.

Definition at line 105 of file pcb_io_eagle.h.

Referenced by parse().

◆ psTop

int ERULES::psTop

Shape of the top pads.

Definition at line 103 of file pcb_io_eagle.h.

Referenced by parse().

◆ rlMaxPadTop

double ERULES::rlMaxPadTop

maximum copper annulus on through hole pads

Definition at line 119 of file pcb_io_eagle.h.

Referenced by parse().

◆ rlMaxViaOuter

double ERULES::rlMaxViaOuter

maximum copper annulus on via

Definition at line 123 of file pcb_io_eagle.h.

Referenced by parse().

◆ rlMinPadTop

double ERULES::rlMinPadTop

minimum copper annulus on through hole pads

Definition at line 118 of file pcb_io_eagle.h.

Referenced by parse().

◆ rlMinViaOuter

double ERULES::rlMinViaOuter

minimum copper annulus on via

Definition at line 122 of file pcb_io_eagle.h.

Referenced by parse().

◆ rvPadTop

double ERULES::rvPadTop

top pad size as percent of drill size

Definition at line 115 of file pcb_io_eagle.h.

Referenced by parse().

◆ rvViaOuter

double ERULES::rvViaOuter

copper annulus is this percent of via hole

Definition at line 121 of file pcb_io_eagle.h.

Referenced by parse().

◆ srMaxRoundness

int ERULES::srMaxRoundness

Definition at line 113 of file pcb_io_eagle.h.

Referenced by parse().

◆ srMinRoundness

int ERULES::srMinRoundness

corner rounding radius, maximum size (Eagle mils, here nanometers)

Definition at line 110 of file pcb_io_eagle.h.

Referenced by parse().

◆ srRoundness

double ERULES::srRoundness

corner rounding ratio for SMD pads (percentage)

corner rounding radius, minimum size (Eagle mils, here nanometers)

Definition at line 107 of file pcb_io_eagle.h.

Referenced by parse().


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