feat: allow duplicating layer height to other objects of the plate - #11868
Open
gilbsgilbs wants to merge 1 commit into
Open
feat: allow duplicating layer height to other objects of the plate#11868gilbsgilbs wants to merge 1 commit into
gilbsgilbs wants to merge 1 commit into
Conversation
gilbsgilbs
force-pushed
the
dup-layer-height
branch
from
August 11, 2026 18:58
0093deb to
d13864e
Compare
Motivation: some models require variable layer heights for faster prints while retaining details on round faces. In multi-color prints, it is also useful to purge the filament into another object for which to color doesn't matter much, however, this feature requires all objects to use the same layer height, which is very impractical when layer height is variable. This commit implements a left-click menu option that allows to copy the layer height (constant and variable) to other objects of the current build plate, allowing to use any object as a purge mean. - Show the menu item on left-click, only when the plate has at least two objects, and only one of them is selected - On click, for each other object on the build plate, copy the constant layer height with the new value, and copy each knot of the variable layer height until the maximum height of either object is reached. Trim at the top if the destination object is shorter (interpolate), fallback at default layer height for the rest if the destination object is taller. - Handle snapshots (undo/redo) and view updates. Fixes bambulab#2967
gilbsgilbs
force-pushed
the
dup-layer-height
branch
from
August 11, 2026 19:08
d13864e to
b86f32d
Compare
Haidiye00
removed their request for review
August 12, 2026 01:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation: some models require variable layer heights for faster prints while retaining details on round faces. In multi-color prints, it is also useful to purge the filament into another object for which to color doesn't matter much, however, this feature requires all objects to use the same layer height, which is very impractical when layer height is variable.
This commit implements a left-click menu option that allows to copy the layer height (constant and variable) to other objects of the current build plate, allowing to use any object as a purge mean.
Fixes #2967
Screenshots