LibrePCB Developers Documentation
librepcb::kicadimport Namespace Reference

Classes

struct  KiCadFootprint
 Represents a KiCad footprint. More...
 
struct  KiCadFootprintArc
 Represents a KiCad footprint arc. More...
 
struct  KiCadFootprintCircle
 Represents a KiCad footprint circle. More...
 
struct  KiCadFootprintLine
 Represents a KiCad footprint line. More...
 
struct  KiCadFootprintModel
 Represents the 3D model of a KiCad footprint. More...
 
struct  KiCadFootprintPad
 Represents a KiCad footprint pad. More...
 
struct  KiCadFootprintPolygon
 Represents a KiCad footprint polygon. More...
 
struct  KiCadFootprintRectangle
 Represents a KiCad footprint rectangle. More...
 
struct  KiCadFootprintText
 Represents a KiCad footprint text. More...
 
struct  KiCadGraphicalArc
 Represents a KiCad graphical arc. More...
 
struct  KiCadGraphicalCircle
 Represents a KiCad graphical circle. More...
 
struct  KiCadGraphicalLine
 Represents a KiCad graphical line. More...
 
struct  KiCadGraphicalPolygon
 Represents a KiCad graphical polygon. More...
 
class  KiCadLibraryConverter
 Converts KiCad library elements to LibrePCB. More...
 
struct  KiCadLibraryConverterSettings
 Settings for librepcb::kicadimport::KiCadLibraryConverter. More...
 
class  KiCadLibraryImport
 KiCad library import. More...
 
struct  KiCadProperty
 Represents a KiCad property. More...
 
struct  KiCadSymbol
 Represents a KiCad symbol. More...
 
struct  KiCadSymbolArc
 Represents a KiCad symbol arc. More...
 
struct  KiCadSymbolCircle
 Represents a KiCad symbol circle. More...
 
struct  KiCadSymbolGate
 Represents a KiCad symbol gate. More...
 
struct  KiCadSymbolLibrary
 Represents the content of a *.kicad_sym file. More...
 
struct  KiCadSymbolPin
 Represents a KiCad symbol pin. More...
 
struct  KiCadSymbolPolyline
 Represents a KiCad symbol polyline. More...
 
struct  KiCadSymbolRectangle
 Represents a KiCad symbol rectangle. More...
 
struct  KiCadSymbolText
 Represents a KiCad symbol text. More...
 
class  KiCadTypeConverter
 Helper class to convert KiCad types to LibrePCB types. More...
 
struct  KiCadZone
 Represents a KiCad zone. More...
 

Typedefs

using C = KiCadTypeConverter
 

Enumerations

enum class  KiCadEdge
 
enum class  KiCadStrokeType
 
enum class  KiCadSymbolTextType
 
enum class  KiCadSymbolFillType
 
enum class  KiCadPinType
 
enum class  KiCadPinStyle
 
enum class  KiCadFootprintFillType
 
enum class  KiCadPadType
 
enum class  KiCadPadShape
 
enum class  KiCadCustomPadAnchor
 
enum class  KiCadPadProperty
 
enum class  KiCadZoneConnect
 
enum class  KiCadLayer
 

Functions

static QString generatedBy (QString libName, QStringList keys)
 
static void mergeSymbolGates (KiCadSymbolGate &out, const KiCadSymbolGate &in)
 
static QList< KiCadSymbolGatemergeSymbolGates (const QList< KiCadSymbolGate > &gates, const QString &symbolName)
 
template<typename T >
static bool setDependent (T &obj, bool dependent, Qt::CheckState &checkState) noexcept
 
static bool deserializeBool (const SExpression &node)
 
static Qt::Alignment deserializeAlignment (const SExpression &node)
 
static kicadimport::KiCadEdge deserializeEdge (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadStrokeType deserializeStrokeType (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadSymbolTextType deserializeTextType (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadSymbolFillType deserializeSymbolFillType (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadPinType deserializePinType (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadPinStyle deserializePinStyle (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadFootprintFillType deserializeFootprintFillType (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadPadType deserializePadType (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadPadShape deserializePadShape (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadCustomPadAnchor deserializeCustomPadAnchor (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadPadProperty deserializePadProperty (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadZoneConnect deserializeZoneConnect (const SExpression &node, MessageLogger &log)
 
static kicadimport::KiCadLayer deserializeLayer (const SExpression &node, MessageLogger &log)
 

Typedef Documentation

◆ C

Enumeration Type Documentation

◆ KiCadEdge

enum class KiCadEdge
strong
Enumerator
Unknown 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

◆ KiCadStrokeType

enum class KiCadStrokeType
strong
Enumerator
Unknown 
Dash 
DashDot 
DashDotDOt 
Dot 
Default 
Solid 

◆ KiCadSymbolTextType

enum class KiCadSymbolTextType
strong
Enumerator
Unknown 
Reference 
Value 
User 

◆ KiCadSymbolFillType

enum class KiCadSymbolFillType
strong
Enumerator
Unknown 
None 
Outline 
Background 

◆ KiCadPinType

enum class KiCadPinType
strong
Enumerator
Unknown 
Input 
Output 
Bidirectional 
TriState 
Passive 
Free 
Unspecified 
PowerIn 
PowerOut 
OpenCollector 
OpenEmitter 
NoConnect 

◆ KiCadPinStyle

enum class KiCadPinStyle
strong
Enumerator
Unknown 
Line 
Inverted 
Clock 
InvertedClock 
InputLow 
ClockLow 
OutputLow 
EdgeClockHigh 
NonLogic 

◆ KiCadFootprintFillType

enum class KiCadFootprintFillType
strong
Enumerator
Unknown 
None 
Solid 

◆ KiCadPadType

enum class KiCadPadType
strong
Enumerator
Unknown 
ThruHole 
Smd 
Connect 
NpThruHole 

◆ KiCadPadShape

enum class KiCadPadShape
strong
Enumerator
Unknown 
Circle 
Rect 
Oval 
Trapezoid 
RoundRect 
Custom 

◆ KiCadCustomPadAnchor

enum class KiCadCustomPadAnchor
strong
Enumerator
Unknown 
Unspecified 
Circle 
Rect 

◆ KiCadPadProperty

enum class KiCadPadProperty
strong
Enumerator
Unknown 
Unspecified 
Bga 
FiducialGlobal 
FiducialLocal 
Testpoint 
Heatsink 
Castellated 

◆ KiCadZoneConnect

enum class KiCadZoneConnect
strong
Enumerator
Unknown 
NoConnect 
ThermalReliefs 
Solid 

◆ KiCadLayer

enum class KiCadLayer
strong
Enumerator
Unknown 
AllCopper 
AllSolderMask 
AllSilkscreen 
FrontAndBackCopper 
FrontAdhesion 
FrontCopper 
FrontCourtyard 
FrontFabrication 
FrontPaste 
FrontSilkscreen 
FrontSolderMask 
InnerCopper1 
InnerCopper2 
InnerCopper3 
InnerCopper4 
InnerCopper5 
InnerCopper6 
InnerCopper7 
InnerCopper8 
InnerCopper9 
InnerCopper10 
InnerCopper11 
InnerCopper12 
InnerCopper13 
InnerCopper14 
InnerCopper15 
InnerCopper16 
InnerCopper17 
InnerCopper18 
InnerCopper19 
InnerCopper20 
InnerCopper21 
InnerCopper22 
InnerCopper23 
InnerCopper24 
InnerCopper25 
InnerCopper26 
InnerCopper27 
InnerCopper28 
InnerCopper29 
InnerCopper30 
BackAdhesion 
BackCopper 
BackCourtyard 
BackFabrication 
BackPaste 
BackSilkscreen 
BackSolderMask 
BoardOutline 
UserComment 
UserDrawing 
User1 
User2 
User3 
User4 
User5 
User6 
User7 
User8 
User9 

Function Documentation

◆ generatedBy()

static QString generatedBy ( QString  libName,
QStringList  keys 
)
static
+ Here is the caller graph for this function:

◆ mergeSymbolGates() [1/2]

static void mergeSymbolGates ( KiCadSymbolGate out,
const KiCadSymbolGate in 
)
static
+ Here is the caller graph for this function:

◆ mergeSymbolGates() [2/2]

static QList< KiCadSymbolGate > mergeSymbolGates ( const QList< KiCadSymbolGate > &  gates,
const QString &  symbolName 
)
static
+ Here is the call graph for this function:

◆ setDependent()

static bool setDependent ( T &  obj,
bool  dependent,
Qt::CheckState &  checkState 
)
staticnoexcept
+ Here is the caller graph for this function:

◆ deserializeBool()

static bool deserializeBool ( const SExpression node)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deserializeAlignment()

static Qt::Alignment deserializeAlignment ( const SExpression node)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deserializeEdge()

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

◆ deserializeStrokeType()

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

◆ deserializeTextType()

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

◆ deserializeSymbolFillType()

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

◆ deserializePinType()

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

◆ deserializePinStyle()

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

◆ deserializeFootprintFillType()

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

◆ deserializePadType()

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

◆ deserializePadShape()

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

◆ deserializeCustomPadAnchor()

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

◆ deserializePadProperty()

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

◆ deserializeZoneConnect()

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

◆ deserializeLayer()

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