Top and Bottom layer directions (#13631)

* Top layer direction

* Bottom layer direction

* comSimple
This commit is contained in:
Ian Bassi
2026-07-03 17:27:05 -03:00
committed by GitHub
parent 8309a9e8ee
commit a6dd002fe7
8 changed files with 52 additions and 9 deletions

View File

@@ -2984,6 +2984,26 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(45));
def = this->add("top_layer_direction", coFloat);
def->label = L("Top layer direction");
def->category = L("Strength");
def->tooltip = L("Optional absolute angle for top-layer infill and ironing base direction. Set to -1 to use the current solid infill direction behavior.");
def->sidetext = u8"°"; // degrees, don't need translation
def->min = -1;
def->max = 360;
def->mode = comSimple;
def->set_default_value(new ConfigOptionFloat(-1));
def = this->add("bottom_layer_direction", coFloat);
def->label = L("Bottom layer direction");
def->category = L("Strength");
def->tooltip = L("Optional absolute angle for bottom-layer infill. Set to -1 to use the current solid infill direction behavior.");
def->sidetext = u8"°"; // degrees, don't need translation
def->min = -1;
def->max = 360;
def->mode = comSimple;
def->set_default_value(new ConfigOptionFloat(-1));
def = this->add("sparse_infill_density", coPercent);
def->label = L("Sparse infill density");
def->category = L("Strength");