20#ifndef LIBREPCB_CORE_STEPEXPORT_H
21#define LIBREPCB_CORE_STEPEXPORT_H
50 typedef std::tuple<qreal, qreal, qreal>
Color;
54 StepExport(QObject* parent =
nullptr) noexcept;
64 int finishDelayMs = 0) noexcept;
72 bool isBusy() const noexcept;
99 int finishDelayMs) noexcept;
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
3D scene data representing a board with package models
Definition scenedata3d.h:52
Asynchronously generates an assembly STEP file of a PCB.
Definition stepexport.h:45
void progressStatus(QString status)
void cancel() noexcept
Cancel the build.
Definition stepexport.cpp:73
bool isBusy() const noexcept
Check if there is currently a build in progress.
Definition stepexport.cpp:63
bool mAbort
Definition stepexport.h:103
QFuture< QString > mFuture
Definition stepexport.h:102
QMap< Color, QVector< QVector3D > > StepModel
Definition stepexport.h:51
QString run(std::shared_ptr< SceneData3D > data, FilePath fp, int finishDelayMs) noexcept
Definition stepexport.cpp:83
void progressPercent(int percent)
void failed(QString errorMsg)
void start(std::shared_ptr< SceneData3D > data, const FilePath &fp, int finishDelayMs=0) noexcept
Start building scene asynchronously.
Definition stepexport.cpp:57
QString waitForFinished() noexcept
Wait (block) until the build is finished.
Definition stepexport.cpp:68
std::tuple< qreal, qreal, qreal > Color
Definition stepexport.h:50
Definition occmodel.cpp:76