Add category to adaptive slicing config options

This commit is contained in:
Florens Wasserfall 2017-04-19 10:10:33 +02:00
parent 57826c9262
commit 8e6cb40140

View File

@ -25,12 +25,14 @@ PrintConfigDef::PrintConfigDef()
def = this->add("adaptive_slicing", coBool); def = this->add("adaptive_slicing", coBool);
def->label = "Use adaptive slicing"; def->label = "Use adaptive slicing";
def->category = "Layers and Perimeters";
def->tooltip = "Automatically determine layer heights by the objects topology instead of using the static value."; def->tooltip = "Automatically determine layer heights by the objects topology instead of using the static value.";
def->cli = "adaptive-slicing!"; def->cli = "adaptive-slicing!";
def->default_value = new ConfigOptionBool(false); def->default_value = new ConfigOptionBool(false);
def = this->add("adaptive_slicing_quality", coPercent); def = this->add("adaptive_slicing_quality", coPercent);
def->label = "Adaptive quality"; def->label = "Adaptive quality";
def->category = "Layers and Perimeters";
def->tooltip = "Controls the quality / printing time tradeoff for adaptive layer generation. 0 -> fastest printing with max layer height, 100 -> highest quality, min layer height"; def->tooltip = "Controls the quality / printing time tradeoff for adaptive layer generation. 0 -> fastest printing with max layer height, 100 -> highest quality, min layer height";
def->sidetext = "%"; def->sidetext = "%";
def->cli = "adaptive_slicing_quality=f"; def->cli = "adaptive_slicing_quality=f";