mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Infill direction enhancements (#5267)
* infill direction wip * rotate solid infill dir
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user