Infill direction enhancements (#5267)

* infill direction wip

* rotate solid infill dir
This commit is contained in:
SoftFever 2024-05-05 13:36:54 +08:00 committed by GitHub
parent c2e19b65a8
commit c2f5660afd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 47 additions and 10 deletions

View file

@ -2009,7 +2009,7 @@ def = this->add("filament_loading_speed", coFloats);
def->cli = ConfigOptionDef::nocli;
def = this->add("infill_direction", coFloat);
def->label = L("Infill direction");
def->label = L("Sparse infill direction");
def->category = L("Strength");
def->tooltip = L("Angle for sparse infill pattern, which controls the start or main direction of line");
def->sidetext = L("°");
@ -2018,6 +2018,23 @@ def = this->add("filament_loading_speed", coFloats);
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(45));
def = this->add("solid_infill_direction", coFloat);
def->label = L("Solid infill direction");
def->category = L("Strength");
def->tooltip = L("Angle for solid infill pattern, which controls the start or main direction of line");
def->sidetext = L("°");
def->min = 0;
def->max = 360;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(45));
def = this->add("rotate_solid_infill_direction", coBool);
def->label = L("Rotate solid infill direction");
def->category = L("Strength");
def->tooltip = L("Rotate the solid infill direction by 90° for each layer.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
def = this->add("sparse_infill_density", coPercent);
def->label = L("Sparse infill density");
def->category = L("Strength");