SLAPrint concept under its way.

This commit is contained in:
tamasmeszaros
2018-11-07 15:29:13 +01:00
parent 22c9c5ae95
commit 19b1aa081d
11 changed files with 225 additions and 618 deletions

View 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;
}
}