Skip to content

Add Drop to Bed action for objects, parts, and modifiers#11511

Open
BenJule wants to merge 1 commit into
bambulab:masterfrom
BenJule:feature/drop-to-bed
Open

Add Drop to Bed action for objects, parts, and modifiers#11511
BenJule wants to merge 1 commit into
bambulab:masterfrom
BenJule:feature/drop-to-bed

Conversation

@BenJule

@BenJule BenJule commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a Drop to bed action to the object manipulation panel for complete object instances, individual parts, and modifiers.

Bambu Studio already contained the minimum-Z calculation and visibility state for this feature, but the action was never exposed in the ImGui interface and full-instance selections always used a zero minimum height.

Changes

  • Add a visible Drop to bed button below the position controls
  • Support complete object instances
  • Support individual parts and modifiers inside assemblies
  • Calculate the correct minimum Z for full-instance selections
  • Move selections along the global Z axis onto the build plate
  • Preserve undo and redo through the existing gizmo snapshot mechanism
  • Hide the button when the selected item is already on the build plate
  • Reset the visibility state when the current selection is unsupported

Testing

  • git diff --check
  • Successfully compiled the affected translation unit:
ninja -C build src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/Gizmos/GizmoObjectManipulation.cpp.o -j6
  • Re-running the targeted build reports ninja: no work to do, confirming the object file is current
  • No new compiler warnings or errors were introduced

Fixes #5536
Fixes #9076

@BambulabRobot
BambulabRobot requested a review from Haidiye00 July 10, 2026 22:29

@Haidiye00 Haidiye00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, please record the GIF effect after the changes, thanks

@BenJule

BenJule commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Here's a quick demo of the Drop to Bed action:

demo

@BenJule
BenJule requested a review from Haidiye00 July 13, 2026 21:38
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.

Efficiently placing items on the build plate ("Drop to bed") Add back the "Drop to Bed" feature (exists in PrusaSlicer)

2 participants