Files
OrcaSlicer/resources/profiles/BBL/machine/Bambu Lab H2D 0.2 nozzle.json
zhimin.zeng fd40c3e9ea ENH: update layer change gcode for H2D
jira: NONE

Signed-off-by: zhimin.zeng <zhimin.zeng@bambulab.com>
Change-Id: I51b70a832abd1c5e7658ffb4eefc5e6b9017a6b1
(cherry picked from commit 509c416074253c3c175200b1581b705070ff5ddd)
2025-09-21 13:47:58 +08:00

25 lines
2.8 KiB
JSON

{
"type": "machine",
"name": "Bambu Lab H2D 0.2 nozzle",
"inherits": "Bambu Lab H2D 0.4 nozzle",
"from": "system",
"setting_id": "GM034",
"instantiation": "true",
"nozzle_diameter": [
"0.2",
"0.2"
],
"printer_model": "Bambu Lab H2D",
"printer_variant": "0.2",
"default_filament_profile": [
"Bambu PLA Basic @BBL H2D 0.2 nozzle"
],
"default_print_profile": "0.10mm Standard @BBL H2D 0.2 nozzle",
"retraction_length": [
"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"
}