mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 10:50:33 -07:00
SLAPrint concept under its way.
This commit is contained in:
21
src/slic3r/GUI/SLAPrint.cpp
Normal file
21
src/slic3r/GUI/SLAPrint.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "SLAPrint.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
void SLAPrint::synch() {
|
||||
m_gcfg = m_config_reader();
|
||||
// TODO: check model objects and instances
|
||||
}
|
||||
|
||||
bool SLAPrint::start(std::shared_ptr<BackgroundProcess> scheduler) {
|
||||
if(!m_process || !m_process->is_running()) set_scheduler(scheduler);
|
||||
if(!m_process) return false;
|
||||
|
||||
m_process->schedule([this, scheduler](){
|
||||
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user