Skip to content

fix: Change extruder count for post-H2D introduction#24

Open
AJ-Owen wants to merge 1 commit into
eukatree:A1_mini_0.4_mm_nozzlefrom
AJ-Owen:A1_mini_0.4_mm_nozzle
Open

fix: Change extruder count for post-H2D introduction#24
AJ-Owen wants to merge 1 commit into
eukatree:A1_mini_0.4_mm_nozzlefrom
AJ-Owen:A1_mini_0.4_mm_nozzle

Conversation

@AJ-Owen
Copy link
Copy Markdown

@AJ-Owen AJ-Owen commented Jul 9, 2025

The first filament swap gets skipped in versions of Bambustudio post the release of the H2D dual-extruder printer. (tested on BambuStudio-02.01.00.59 and BambuStudio-02.01.01.52).

Inspecting the generated .gcode files shows that the toolchange_count = 1 conditional does not get triggered on the first filament swap. Subsequent swaps use the edited gcode as intended.

Changing to toolchange_count >= 1 results in the expected behaviour on all swaps.

This has been tested on my A1M:

  • 5 layer print with a colour change midway through each of the 5 layers
  • 5 layer print with a colour change for each layer (so each layer alternates)

See the discussion in this issue for further context and possible P1 series fixes.

The first filament swap gets skipped in versions of Bambustudio post the release
of the H2D dual-extruder printer.
Changing from `toolchange_count = 1` to `toolchange_count >= 1` is necessary to
get the first filament swap to enter the conditional branch.
@spuder
Copy link
Copy Markdown

spuder commented Aug 9, 2025

I just tested this on my P1S running firmware 1.7.0.x on bambu studio 2.1.1.52 and can confirm that it is working properly again! Thanks so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants