Fix the Wanhao France D12 template custom G-code failing to parse

This commit is contained in:
SoftFever
2026-09-29 01:53:30 +08:00
parent 05da6bbcc8
commit 78fb4f767a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "Wanhao France", "name": "Wanhao France",
"version": "02.04.00.05", "version": "02.04.00.06",
"force_update": "0", "force_update": "0",
"description": "Wanhao France D12 configurations", "description": "Wanhao France D12 configurations",
"machine_model_list": [ "machine_model_list": [
@@ -112,7 +112,7 @@
"1" "1"
], ],
"support_multi_bed_types": "1", "support_multi_bed_types": "1",
"template_custom_gcode": ";;;;;;;;;;;;;;;;;;;;;;;;CUSTOM G-CODE;;;;;;;;;;;;;;;;;;;;;;;;\n{if curr_bed_type==\"Textured PEI Plate\"}\n SET_GCODE_OFFSET Z=-0.00\n{else}\nSET_GCODE_OFFSET Z=0.0\n{endif}\n{if curr_bed_type==\"Cool Plate\"}\n\n;available bed types are:\n;\"Cool Plate\"\n;\"Engineering Plate\"\n;\"High Temp Plate\"\n;\"Textured PEI Plate\"\n;;;;;;;;;;;;;;;;;;;;;;;;;CUSTOM G-CODE;;;;;;;;;;;;;;;;;;;;;;;;\n", "template_custom_gcode": ";;;;;;;;;;;;;;;;;;;;;;;;CUSTOM G-CODE;;;;;;;;;;;;;;;;;;;;;;;;\n{if curr_bed_type==\"Textured PEI Plate\"}\n SET_GCODE_OFFSET Z=-0.00\n{else}\nSET_GCODE_OFFSET Z=0.0\n{endif}\n\n;available bed types are:\n;\"Cool Plate\"\n;\"Engineering Plate\"\n;\"High Temp Plate\"\n;\"Textured PEI Plate\"\n;;;;;;;;;;;;;;;;;;;;;;;;;CUSTOM G-CODE;;;;;;;;;;;;;;;;;;;;;;;;\n",
"z_hop_types": "Normal Lift", "z_hop_types": "Normal Lift",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n", "before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"default_print_profile": "0.16mm Optimal @Bambu Lab X1 Carbon 0.4 nozzle", "default_print_profile": "0.16mm Optimal @Bambu Lab X1 Carbon 0.4 nozzle",