Removed head_back_radius and added pillar widening factor to the parameter layers

This commit is contained in:
tamasmeszaros 2018-11-23 11:51:45 +01:00
parent cabfca1031
commit a05bda5347
8 changed files with 43 additions and 40 deletions

View file

@ -4069,6 +4069,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
size_t idx = 0;
const SLAPrint *sla_print = this->sla_print();
for (const SLAPrintObject *print_object : sla_print->objects()) {
std::cout << "Current elevation: "<< print_object->get_current_elevation() << std::endl;
SLASupportState &state = sla_support_state[idx ++];
const ModelObject *model_object = print_object->model_object();
// Find an index of the ModelObject

View file

@ -405,9 +405,9 @@ const std::vector<std::string>& Preset::sla_print_options()
"supports_enable",
"support_head_front_radius",
"support_head_penetration",
"support_head_back_radius",
"support_head_width",
"support_pillar_radius",
"support_pillar_widening_factor",
"support_base_radius",
"support_base_height",
"support_critical_angle",

View file

@ -3002,12 +3002,12 @@ void TabSLAPrint::build()
optgroup = page->new_optgroup(_(L("Support head")));
optgroup->append_single_option_line("support_head_front_radius");
optgroup->append_single_option_line("support_head_back_radius");
optgroup->append_single_option_line("support_head_penetration");
optgroup->append_single_option_line("support_head_width");
optgroup = page->new_optgroup(_(L("Support pillar")));
optgroup->append_single_option_line("support_pillar_radius");
optgroup->append_single_option_line("support_pillar_widening_factor");
optgroup->append_single_option_line("support_base_radius");
optgroup->append_single_option_line("support_base_height");
optgroup->append_single_option_line("support_object_elevation");