Plane fragments builder working on a librepcb::Board.
More...
#include <boardplanefragmentsbuilder.h>
Inherits QObject.
Plane fragments builder working on a librepcb::Board.
◆ BoardPlaneFragmentsBuilder() [1/2]
◆ BoardPlaneFragmentsBuilder() [2/2]
◆ ~BoardPlaneFragmentsBuilder()
◆ runAndApply()
QHash< Uuid, QVector< Path > > runAndApply |
( |
Board & |
board, |
|
|
const QSet< const Layer * > * |
layers = nullptr |
|
) |
| |
Build and apply plane fragments (blocking)
- Parameters
-
board | The board to rebuild the planes of. |
layers | If not nullptr , rebuild only planes which are scheduled to rebuild and located on the given layers (quick rebuild). If nullptr (default), rebuild all planes (more reliable, but slower). |
- Returns
- All calculated plane fragments
- Exceptions
-
◆ start()
bool start |
( |
Board & |
board, |
|
|
const QSet< const Layer * > * |
layers = nullptr |
|
) |
| |
|
noexcept |
Start building plane fragments asynchronously.
The calculated fragments will automatically be applied to the board once the rebuild is finished.
- Parameters
-
board | The board to rebuild the planes of. |
layers | If not nullptr , rebuild only planes which are scheduled to rebuild and located on the given layers (quick rebuild). If nullptr (default), rebuild all planes (more reliable, but slower). |
- Return values
-
true | If the build started. |
false | If none of the planes need a rebuild, thus did not start a rebuild. |
◆ waitForFinished()
◆ isBusy()
Check if there is currently a build in progress.
- Return values
-
true | if a build is in progress. |
false | if idle. |
◆ cancel()
Cancel the current asynchronous job.
◆ operator=()
◆ started
◆ finished
void finished |
( |
Result |
result | ) |
|
|
signal |
◆ createJob()
◆ run()
◆ runLayer()
◆ determineThermalSpokes()
◆ maxArcTolerance()
|
inlinestaticprivatenoexcept |
Returns the maximum allowed arc tolerance when flattening arcs. Do not change this if you don't know exactly what you're doing (it affects all planes in all existing boards)!
◆ mFuture
◆ mAbort
The documentation for this class was generated from the following files: