1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-17 09:04:27 +00:00

Patch from Lubomír for CLI parameters

This commit is contained in:
tamasmeszaros
2018-07-03 17:05:09 +02:00
parent 797c812f31
commit 28bc54e5b7
5 changed files with 67 additions and 4 deletions
+8 -2
View File
@@ -1253,8 +1253,14 @@ void Print::set_status(int percent, const std::string &message)
}
void Print::print_to_png(std::string dirpath) {
print_to<FilePrinterFormat::PNG>(*this, dirpath, 68.0, 120.0, 1440, 2560,
8.0, 35.0);
print_to<FilePrinterFormat::PNG>(*this,
dirpath,
float(this->config.bed_size_x.value),
float(this->config.bed_size_y.value),
int(this->config.pixel_width.value),
int(this->config.pixel_height.value),
float(this->config.exp_time.value),
float(this->config.exp_time_first.value));
}
}