20#ifndef LIBREPCB_CORE_D356NETLISTGENERATOR_H
21#define LIBREPCB_CORE_D356NETLISTGENERATOR_H
26#include "../types/angle.h"
27#include "../types/point.h"
57 const QString& brdName,
58 const QDateTime& generationDate)
noexcept;
62 void smtPad(const QString& netName, const QString& cmpName,
63 const QString& padName, const
Point& position,
65 const
Angle& rotation,
int layer);
66 void thtPad(const QString& netName, const QString& cmpName,
67 const QString& padName, const
Point& position,
73 bool solderMaskCovered);
77 int startLayer,
int endLayer,
bool solderMaskCovered);
113 std::optional<std::pair<PositiveLength, bool>>
hole;
116 std::optional<PositiveLength>
width;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
The D356NetlistGenerator class.
Definition d356netlistgenerator.h:49
~D356NetlistGenerator() noexcept
Definition d356netlistgenerator.cpp:66
SolderMask
Definition d356netlistgenerator.h:100
void smtPad(const QString &netName, const QString &cmpName, const QString &padName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, int layer)
Definition d356netlistgenerator.cpp:73
void throughVia(const QString &netName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, const PositiveLength &drillDiameter, bool solderMaskCovered)
Definition d356netlistgenerator.cpp:99
QByteArray generate() const
Definition d356netlistgenerator.cpp:140
D356NetlistGenerator()=delete
static QString cleanString(QString str) noexcept
Definition d356netlistgenerator.cpp:243
OperationCode
Definition d356netlistgenerator.h:93
void thtPad(const QString &netName, const QString &cmpName, const QString &padName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, const PositiveLength &drillDiameter)
Definition d356netlistgenerator.cpp:86
void buriedVia(const QString &netName, const Point &position, const PositiveLength &drillDiameter, int startLayer, int endLayer)
Definition d356netlistgenerator.cpp:130
QStringList mComments
Definition d356netlistgenerator.h:124
void blindVia(const QString &netName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, const PositiveLength &drillDiameter, int startLayer, int endLayer, bool solderMaskCovered)
Definition d356netlistgenerator.cpp:110
static QString formatLength(const Length &value, bool isSigned, int digits) noexcept
Definition d356netlistgenerator.cpp:269
QList< Record > mRecords
Definition d356netlistgenerator.h:125
D356NetlistGenerator(const D356NetlistGenerator &other)=delete
static QString checkedComponentName(const QString &name) noexcept
Definition d356netlistgenerator.cpp:260
The Length class is used to represent a length (for example 12.75 millimeters)
Definition length.h:82
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
Definition occmodel.cpp:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810
Definition d356netlistgenerator.h:107
std::optional< int > accessCode
Definition d356netlistgenerator.h:114
bool midPoint
Definition d356netlistgenerator.h:112
std::optional< PositiveLength > height
Definition d356netlistgenerator.h:117
std::optional< Angle > rotation
Definition d356netlistgenerator.h:118
std::optional< QString > signalName
Definition d356netlistgenerator.h:109
std::optional< std::pair< PositiveLength, bool > > hole
Definition d356netlistgenerator.h:113
std::optional< PositiveLength > width
Definition d356netlistgenerator.h:116
QString padName
Definition d356netlistgenerator.h:111
std::optional< int > endLayer
Definition d356netlistgenerator.h:121
OperationCode code
Definition d356netlistgenerator.h:108
QString componentName
Definition d356netlistgenerator.h:110
std::optional< int > startLayer
Definition d356netlistgenerator.h:120
std::optional< SolderMask > solderMask
Definition d356netlistgenerator.h:119
Point position
Definition d356netlistgenerator.h:115