--skip-modified-gcodes
Force the current preset's machine and filament G-code to take precedence over the G-code embedded in the 3MF, so the project author's values cannot reach the printer.
Details
Makes the loaded printer and filament preset's custom G-code win over the copy embedded in the 3MF. A 3MF snapshots every setting active when it was saved, including custom G-code, and normally those embedded values are treated as authoritative. With this flag, for the G-code fields specifically, the 3MF's modifications are discarded and the current preset's values are used instead. It covers the preset-level fields such as machine_start_gcode, machine_end_gcode, machine_pause_gcode, layer_change_gcode, before_layer_change_gcode, change_filament_gcode, filament_start_gcode, filament_end_gcode, and time_lapse_gcode, and also clears the per-layer custom G-code snippets inserted at specific heights.
Watch out for
- ▲ A farm wants this because a third-party 3MF may carry hand-edited start or filament-change G-code referencing another machine's temperatures, macros, or purge values; slicing it as-is would run their G-code on your printer. This re-asserts your trusted preset.
- ▲ The inverse risk: any intentional per-project G-code, such as a pause at a layer or a controlled temperature ramp, is also discarded. It is all-or-nothing across G-code fields.
Sign up for free today
No credit card required. Connect unlimited printers and get production automation running in minutes.