mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[PR #851] [MERGED] Fix/wrong filament mapping #1121
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#1121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/851
Author: @behrinml
Created: 3/30/2026
Status: ✅ Merged
Merged: 3/31/2026
Merged by: @maziggy
Base:
dev← Head:fix/wrong-filament-mapping📝 Commits (6)
435ada4Fix nozzle mapping logic for single active extruder scenarios in 3MF parsingeebaf7cfix: nozzle mapping logic for single active extruder in 3MF8201372Merge branch 'dev' into fix/wrong-filament-mapping4ef6d8cRefactor active extruder detection in threemf_tools.py9369bf2Enhance comments for extruder nozzle statsbedfcadMerge branch 'dev' into fix/wrong-filament-mapping📊 Changes
1 file changed (+26 additions, -0 deletions)
View changed files
📝
backend/app/utils/threemf_tools.py(+26 -0)📄 Description
Description
The H2C allows a nozzle size to be selected in the Vortek system that is not available in the left extruder—for example, 0.4 mm on the left and 0.2 mm on the right.
If a print is then started that exclusively uses the corresponding nozzle on the right extruder, a setup is created which erroneously claims that the nozzle in use is the one on the left. This occurs because only one extruder is detected, leading the system to assume the groupID must address that specific one.
Consequently, the filament assignment selected in the slicer cannot be chosen within the UI of Bambuddy.
(Replaces the previous PR (#847) with a cleaned up commit history based on the latest dev branch. Sorry, I messed up my history and was not able to repair it.)
Related Issue
Fixes #827
Type of Change
Changes Made
short check during filament mapping if only one extruder is active. If this is true, the filament mapping leads to groupId 0 as this is the only one reported from the slicer. This is done for the active extruder.
If there are more or less than one active extruder, we stay with the current filament mapping.
Screenshots
Testing
Checklist
Additional Notes
Replaces the previous PR (#847) with a cleaned up commit history based on the latest dev branch.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.