A new feature "support_material_buildplate_only" implemented.

Also a bug has been fixed for zero interface layers. Before
slic3r would put infinite number of interface layers over top surfaces,
if the number of interface layers was set to zero.
This commit is contained in:
bubnikv 2016-10-04 13:54:10 +02:00
parent ae2bae137a
commit 5bb37ad2c4
7 changed files with 68 additions and 12 deletions

View file

@ -1092,6 +1092,13 @@ PrintConfigDef::PrintConfigDef()
def->max = 359;
def->default_value = new ConfigOptionInt(0);
def = this->add("support_material_buildplate_only", coBool);
def->label = "Support on build plate only";
def->category = "Support material";
def->tooltip = "Only create support if it lies on a build plate. Don't create support on a print.";
def->cli = "support-material-buildplate-only!";
def->default_value = new ConfigOptionBool(false);
def = this->add("support_material_contact_distance", coFloat);
def->gui_type = "f_enum_open";
def->label = "Contact Z distance";