FIX: wrong layer change gcode in H2D

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I25f46a8c88d25e03895c73569232f35f6b869f07
This commit is contained in:
xun.zhang 2025-04-24 17:36:52 +08:00 committed by Lane.Wei
parent eecbeaf5f7
commit 73ec6240d7
4 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "Bambulab", "name": "Bambulab",
"url": "http://www.bambulab.com/Parameters/vendor/BBL.json", "url": "http://www.bambulab.com/Parameters/vendor/BBL.json",
"version": "02.00.00.85", "version": "02.00.00.86",
"force_update": "0", "force_update": "0",
"description": "the initial version of BBL configurations", "description": "the initial version of BBL configurations",
"machine_model_list": [ "machine_model_list": [

View File

@ -20,6 +20,5 @@
"0.4", "0.4",
"0.4", "0.4",
"0.4" "0.4"
], ]
"layer_change_gcode": ";======== H2D 20250409========\n; layer num/total_layer_count: {layer_num+1}/[total_layer_count]\n; update layer progress\nM73 L{layer_num+1}\nM991 S0 P{layer_num} ;notify layer change\n\n{if !spiral_mode && print_sequence != \"by object\" && filament_type[initial_no_support_extruder] != \"TPU\"}\n M622.1 S0 ; for previous firmware, default turn off\n M1002 set_flag g39_forced_detection_flag=1\n M1002 judge_flag g39_forced_detection_flag\n M622 J1\n {if layer_num == 3}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X285 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {elsif layer_z == 2}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X290 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {elsif layer_z == 4}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X295 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {endif}\n M623\n{endif}\n"
} }

View File

@ -28,6 +28,5 @@
"1.4", "1.4",
"1.4", "1.4",
"1.4" "1.4"
], ]
"layer_change_gcode": ";======== H2D 20250409========\n; layer num/total_layer_count: {layer_num+1}/[total_layer_count]\n; update layer progress\nM73 L{layer_num+1}\nM991 S0 P{layer_num} ;notify layer change\n\n{if !spiral_mode && print_sequence != \"by object\" && filament_type[initial_no_support_extruder] != \"TPU\"}\n M622.1 S0 ; for previous firmware, default turn off\n M1002 set_flag g39_forced_detection_flag=1\n M1002 judge_flag g39_forced_detection_flag\n M622 J1\n {if layer_num == 3}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X285 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {elsif layer_z == 2}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X290 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {elsif layer_z == 4}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X295 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {endif}\n M623\n{endif}\n"
} }

View File

@ -28,6 +28,5 @@
"3", "3",
"3", "3",
"3" "3"
], ]
"layer_change_gcode": ";======== H2D 20250409========\n; layer num/total_layer_count: {layer_num+1}/[total_layer_count]\n; update layer progress\nM73 L{layer_num+1}\nM991 S0 P{layer_num} ;notify layer change\n\n{if !spiral_mode && print_sequence != \"by object\" && filament_type[initial_no_support_extruder] != \"TPU\"}\n M622.1 S0 ; for previous firmware, default turn off\n M1002 set_flag g39_forced_detection_flag=1\n M1002 judge_flag g39_forced_detection_flag\n M622 J1\n {if layer_num == 3}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X285 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {elsif layer_z == 2}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X290 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {elsif layer_z == 4}\n M993 A2 B2 C2 ; nozzle cam detection allow status save.\n M993 A0 B0 C0 ; nozzle cam detection not allowed.\n \n G39 R-0.8 E0.8 M30 N{filament_max_volumetric_speed[initial_no_support_extruder]/2.4053}\n G130 O0 X295 Y-0.5 Z0.8 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L10 E2 D0\n M83\n G1 E{-retraction_length} F1800\n G3 Z{layer_z + 0.4} I1.217 J0 P1 F60000\n \n M993 A3 B3 C3 ; nozzle cam detection allow status restore.\n {endif}\n M623\n{endif}\n"
} }