🎉 WIN a Snapmaker U1 Printer! Enter FREE now

--allow-newer-file

Input & Configuration Orca SlicerBambu Studio 1.9.7+

Bypass the version-mismatch abort that would otherwise prevent the CLI from slicing a 3MF authored by a newer major.minor application version, at the cost of silently dropping any config keys the older engine does not recognize.

Details

A 3MF file embeds the version of the application that created it. By default, if that embedded version's major or minor number exceeds the running CLI's own version, the CLI refuses to proceed and exits with an error. --allow-newer-file disables that gate: the version comparison is skipped entirely, and loading continues as if the version constraint were satisfied.

The version check is a major.minor comparison. A file created by a newer patch release (same major.minor, higher patch) does not trigger the gate regardless of whether this flag is set, because only major and minor components are compared. The flag is therefore relevant only when a 3MF was authored by an application with a strictly greater major or minor version than the CLI being invoked.

The flag is a boolean with a default of false. Passing it on the command line sets it true; there is no value to supply. Its scope is narrow: it controls only whether the CLI aborts on the version mismatch. It does not refresh, migrate, or validate the configs embedded in the file. If the newer-version 3MF uses config keys that the older engine does not recognize, those keys are silently dropped during loading; their effective values fall back to whatever is already present in the config from any previously loaded profile files, or the engine's own compiled-in defaults. The slice proceeds without any warning about which settings were lost.

Examples

Permit a newer 3MF
--slice 1 --allow-newer-file \
  --export-3mf out.gcode.3mf model.3mf

Watch out for

  • Config keys introduced after the CLI's own version are silently dropped, not errored on. The resulting slice may differ meaningfully from what the newer application would produce, with no warning to indicate which settings were lost.
  • The flag only takes effect when the input is a BBL-format 3MF. For STL or other geometry inputs there is no embedded version to check, so the flag has no impact.
  • It is distinct from `--uptodate`, which loads explicitly-provided updated preset files (via companion options) to replace config values embedded in the 3MF. The two flags address different problems and nothing in the source prevents using them together.

Related flags

Sign up for free today

No credit card required. Connect unlimited printers and get production automation running in minutes.