CLI: Don't rotate objects when arranging unless --allow-rotations is passed (#15033)

The CLI's arrange no longer rotates objects unless --allow-rotations is passed, which matches the GUI's default. STL, OBJ and STEP inputs are arranged even without --arrange, so a part that only fits the bed when rotated now exits with -50 unless --allow-rotations is given. The CLI prints that reason to stderr.
This commit is contained in:
packerlschupfer
2026-10-12 15:17:38 -05:00
committed by GitHub
parent 1494de66de
commit f127b758ed
4 changed files with 111 additions and 3 deletions
+1 -1
View File
@@ -13085,7 +13085,7 @@ CLIMiscConfigDef::CLIMiscConfigDef()
def = this->add("allow_rotations", coBool);
def->label = L("Allow rotation when arranging");
def->tooltip = L("If enabled, Arrange will allow rotation when placing objects.");
def->set_default_value(new ConfigOptionBool(true));
def->set_default_value(new ConfigOptionBool(false));
def = this->add("align_to_y_axis", coBool);
def->label = L("Align to Y axis when arranging");