LibrePCB Developers Documentation
|
Asynchronously generates an assembly STEP file of a PCB. More...
#include <stepexport.h>
Inherits QObject.
Public Types | |
typedef std::tuple< qreal, qreal, qreal > | Color |
typedef QMap< Color, QVector< QVector3D > > | StepModel |
Signals | |
void | started () |
void | progressStatus (QString status) |
void | progressPercent (int percent) |
void | succeeded () |
void | failed (QString errorMsg) |
void | finished () |
Public Member Functions | |
StepExport (QObject *parent=nullptr) noexcept | |
StepExport (const StepExport &other)=delete | |
~StepExport () noexcept | |
void | start (std::shared_ptr< SceneData3D > data, const FilePath &fp, int finishDelayMs=0) noexcept |
Start building scene asynchronously. More... | |
bool | isBusy () const noexcept |
Check if there is currently a build in progress. More... | |
QString | waitForFinished () noexcept |
Wait (block) until the build is finished. More... | |
void | cancel () noexcept |
Cancel the build. More... | |
StepExport & | operator= (const StepExport &rhs)=delete |
Private Member Functions | |
QString | run (std::shared_ptr< SceneData3D > data, FilePath fp, int finishDelayMs) noexcept |
Private Attributes | |
QFuture< QString > | mFuture |
bool | mAbort |
Asynchronously generates an assembly STEP file of a PCB.
typedef std::tuple<qreal, qreal, qreal> Color |
|
noexcept |
|
delete |
|
noexcept |
|
noexcept |
Start building scene asynchronously.
|
noexcept |
Check if there is currently a build in progress.
true | Build in progress. |
false | Idle. |
|
noexcept |
Wait (block) until the build is finished.
|
noexcept |
Cancel the build.
|
delete |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
privatenoexcept |
|
private |
|
private |