Skip to content

feat: allow duplicating layer height to other objects of the plate - #11868

Open
gilbsgilbs wants to merge 1 commit into
bambulab:masterfrom
gilbsgilbs:dup-layer-height
Open

feat: allow duplicating layer height to other objects of the plate#11868
gilbsgilbs wants to merge 1 commit into
bambulab:masterfrom
gilbsgilbs:dup-layer-height

Conversation

@gilbsgilbs

@gilbsgilbs gilbsgilbs commented Aug 11, 2026

Copy link
Copy Markdown

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 #2967

Screenshots

image image

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
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.

Duplicate Variable Layer Height between objects

1 participant