20 #ifndef LIBREPCB_CORE_EXCELLONGENERATOR_H 21 #define LIBREPCB_CORE_EXCELLONGENERATOR_H 26 #include "../fileio/filepath.h" 27 #include "../geometry/path.h" 28 #include "../types/length.h" 59 const Uuid& projUuid,
const QString& projRevision,
60 Plating plating,
int fromLayer,
int toLayer) noexcept;
91 const Angle& angle) noexcept;
95 typedef std::tuple<Length, bool, Function>
Tool;
void printHeader() noexcept
Definition: excellongenerator.cpp:117
void printDrill(const Point &pos) noexcept
Definition: excellongenerator.cpp:173
void printMoveTo(const Point &pos) noexcept
Definition: excellongenerator.cpp:228
void drill(const Point &pos, const PositiveLength &dia, bool plated, Function function) noexcept
Definition: excellongenerator.cpp:88
Definition: occmodel.cpp:77
Plating mPlating
Definition: excellongenerator.h:98
void printRout(const NonEmptyPath &path) noexcept
Definition: excellongenerator.cpp:196
void printSlot(const NonEmptyPath &path)
Definition: excellongenerator.cpp:178
void printCircularInterpolation(const Point &from, const Point &to, const Angle &angle) noexcept
Definition: excellongenerator.cpp:238
type_safe::constrained_type< Path, NonEmptyPathConstraint, NonEmptyPathVerifier > NonEmptyPath
Definition: path.h:221
QMultiMap< Tool, NonEmptyPath > mDrillList
Definition: excellongenerator.h:106
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
std::tuple< Length, bool, Function > Tool
Definition: excellongenerator.h:95
void printDrills()
Definition: excellongenerator.cpp:151
void printToolList() noexcept
Definition: excellongenerator.cpp:136
The ExcellonGenerator class.
Definition: excellongenerator.h:47
ExcellonGenerator & operator=(const ExcellonGenerator &rhs)=delete
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:79
QVector< GerberAttribute > mFileAttributes
Definition: excellongenerator.h:99
ApertureFunction
Definition: gerberattribute.h:53
bool mUseG85Slots
Definition: excellongenerator.h:102
void generate()
Definition: excellongenerator.cpp:102
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
void printPath(const NonEmptyPath &path)
Definition: excellongenerator.cpp:161
void printFooter() noexcept
Definition: excellongenerator.cpp:252
ExcellonGenerator()=delete
void saveToFile(const FilePath &filepath) const
Definition: excellongenerator.cpp:109
Plating
Definition: excellongenerator.h:52
const QString & toStr() const noexcept
Definition: excellongenerator.h:67
void printLinearInterpolation(const Point &pos) noexcept
Definition: excellongenerator.cpp:233
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:812
QString mOutput
Definition: excellongenerator.h:105
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
~ExcellonGenerator() noexcept
Definition: excellongenerator.cpp:81
void setUseG85Slots(bool use) noexcept
Definition: excellongenerator.h:64