LibrePCB Developers Documentation
KiCadFootprint Struct Referencefinal

Represents a KiCad footprint. More...

#include <kicadtypes.h>

+ Collaboration diagram for KiCadFootprint:

Static Public Member Functions

static KiCadFootprint parse (const SExpression &node, MessageLogger &log)
 

Public Attributes

QString name
 
int version = -1
 
QString generator
 
KiCadLayer layer = KiCadLayer::Unknown
 
QString description
 
QString tags
 
bool isSmd = false
 
bool isThroughHole = false
 
bool boardOnly = false
 
bool excludeFromPosFiles = false
 
bool excludeFromBom = false
 
qreal solderMaskMargin = 0
 
qreal solderPasteMargin = 0
 
qreal solderPasteRatio = 0
 
qreal clearance = 0
 
tl::optional< KiCadZoneConnectzoneConnect
 
QList< QStringList > netTiePadGroups
 
QList< KiCadPropertyproperties
 
QList< KiCadFootprintLinelines
 
QList< KiCadFootprintArcarcs
 
QList< KiCadFootprintCirclecircles
 
QList< KiCadFootprintRectanglerectangles
 
QList< KiCadFootprintPolygonpolygons
 
QList< KiCadFootprintTexttexts
 
QList< KiCadFootprintPadpads
 
QList< KiCadZonezones
 
QList< KiCadFootprintModelmodels
 

Detailed Description

Represents a KiCad footprint.

Member Function Documentation

◆ parse()

KiCadFootprint parse ( const SExpression node,
MessageLogger log 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ name

QString name

◆ version

int version = -1

◆ generator

QString generator

◆ layer

◆ description

QString description

◆ tags

QString tags

◆ isSmd

bool isSmd = false

◆ isThroughHole

bool isThroughHole = false

◆ boardOnly

bool boardOnly = false

◆ excludeFromPosFiles

bool excludeFromPosFiles = false

◆ excludeFromBom

bool excludeFromBom = false

◆ solderMaskMargin

qreal solderMaskMargin = 0

◆ solderPasteMargin

qreal solderPasteMargin = 0

◆ solderPasteRatio

qreal solderPasteRatio = 0

◆ clearance

qreal clearance = 0

◆ zoneConnect

tl::optional<KiCadZoneConnect> zoneConnect

◆ netTiePadGroups

QList<QStringList> netTiePadGroups

◆ properties

QList<KiCadProperty> properties

◆ lines

QList<KiCadFootprintLine> lines

◆ arcs

QList<KiCadFootprintArc> arcs

◆ circles

QList<KiCadFootprintCircle> circles

◆ rectangles

QList<KiCadFootprintRectangle> rectangles

◆ polygons

QList<KiCadFootprintPolygon> polygons

◆ texts

QList<KiCadFootprintText> texts

◆ pads

QList<KiCadFootprintPad> pads

◆ zones

QList<KiCadZone> zones

◆ models

QList<KiCadFootprintModel> models

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