feat: Support 3MF as g-code (use_3mf option) (#14238)

* feat: add support for 3MF file format in printer configurations and export options

* fix file extension

* enable 3mf for X Max 4

* disable use_3mf for X Plus 4

* Fixed an issue where `label_object_enabled` was not properly propagated to 3mf

* enable exclude object for Max 4

* remove hardcoded use 3mf for flashforge, move them to the new printer profiles config
This commit is contained in:
SoftFever
2026-06-17 15:39:40 +08:00
committed by GitHub
parent 7ab3174f7c
commit 9eeb73b68b
26 changed files with 137 additions and 31 deletions

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": "",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": "",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": "",
"long_retractions_when_cut": [
"0"

View File

@@ -49,6 +49,7 @@
"head_wrap_detect_zone": [],
"high_current_on_filament_swap": "0",
"host_type": "octoprint",
"use_3mf": "1",
"layer_change_gcode": "",
"long_retractions_when_cut": [
"0"

View File

@@ -118,5 +118,6 @@
],
"extruder_clearance_height_to_lid": [
"150"
]
],
"use_3mf": "1"
}