CLI: Ensure that objects are on bed by default, new CLI config option:

'dont-ensure-on-bed' (which allows to override). This was the original
behaviour in Slic3r and Sli3rPE, probably broken long ago when CLI
was ported from  Perl.
Also, --scale-to-fit should now work again (#5772)
This commit is contained in:
Lukas Matena 2021-08-04 12:15:20 +02:00
parent d0d3c5ad16
commit bc81c22ea9
3 changed files with 21 additions and 8 deletions

View file

@ -4154,6 +4154,10 @@ CLITransformConfigDef::CLITransformConfigDef()
def->label = L("Don't arrange");
def->tooltip = L("Do not rearrange the given models before merging and keep their original XY coordinates.");
def = this->add("dont_ensure_on_bed", coBool);
def->label = L("Don't ensure on bed");
def->tooltip = L("Do not lift the object above the bed when it is partially below.");
def = this->add("duplicate", coInt);
def->label = L("Duplicate");
def->tooltip =L("Multiply copies by this factor.");