SLA support parameters changed: radiuses for diameters.

This commit is contained in:
tamasmeszaros 2018-11-23 13:03:07 +01:00
parent 9722bcdd75
commit 746c1d2fd8
6 changed files with 48 additions and 42 deletions

View file

@ -4070,7 +4070,6 @@ 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

@ -403,12 +403,12 @@ const std::vector<std::string>& Preset::sla_print_options()
s_opts = {
"layer_height",
"supports_enable",
"support_head_front_radius",
"support_head_front_diameter",
"support_head_penetration",
"support_head_width",
"support_pillar_radius",
"support_pillar_diameter",
"support_pillar_widening_factor",
"support_base_radius",
"support_base_diameter",
"support_base_height",
"support_critical_angle",
"support_max_bridge_length",

View file

@ -3001,14 +3001,14 @@ void TabSLAPrint::build()
optgroup->append_single_option_line("supports_enable");
optgroup = page->new_optgroup(_(L("Support head")));
optgroup->append_single_option_line("support_head_front_radius");
optgroup->append_single_option_line("support_head_front_diameter");
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_diameter");
optgroup->append_single_option_line("support_pillar_widening_factor");
optgroup->append_single_option_line("support_base_radius");
optgroup->append_single_option_line("support_base_diameter");
optgroup->append_single_option_line("support_base_height");
optgroup->append_single_option_line("support_object_elevation");