SLA estimation time:
* A calculation of the estimation of a print time is ported from the FW (See https://gitlab.com/prusa3d/sl1/sla-fw/-/blob/1.7/slafw/project/project.py#L485) * Some missed parameters are added to the Printer Presets
This commit is contained in:
parent
d8877973e3
commit
906f8914a6
7 changed files with 48 additions and 8 deletions
|
@ -382,7 +382,8 @@ void fill_iniconf(ConfMap &m, const SLAPrint &print)
|
|||
m["layerHeight"] = get_cfg_value(cfg, "layer_height");
|
||||
m["expTime"] = get_cfg_value(cfg, "exposure_time");
|
||||
m["expTimeFirst"] = get_cfg_value(cfg, "initial_exposure_time");
|
||||
m["expUserProfile"] = get_cfg_value(cfg, "material_print_speed") == "slow" ? "1" : "0";
|
||||
const std::string mps = get_cfg_value(cfg, "material_print_speed");
|
||||
m["expUserProfile"] = mps == "slow" ? "1" : mps == "fast" ? "0" : "2";
|
||||
m["materialName"] = get_cfg_value(cfg, "sla_material_settings_id");
|
||||
m["printerModel"] = get_cfg_value(cfg, "printer_model");
|
||||
m["printerVariant"] = get_cfg_value(cfg, "printer_variant");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue