ENH: Add plate visibility toggle#10369
Open
jomixlaf wants to merge 2 commits intobambulab:masterfrom
Open
Conversation
Adds the ability to show/hide individual plates in the 3D workspace. - Eye icon on each plate: click to toggle visibility (hidden when only one plate exists or it would hide the last visible plate) - Toolbar button (eye icon) with popup menu: Show All Plates / Hide Other Plates / per-plate checkmarks - View menu > Show/Hide Plates submenu with the same options, rebuilt dynamically on open - Right-click plate name in object list also exposes Show All / Hide Other Plates - Hidden plates render as faded/ghosted; their 3D objects are invisible and not clickable - Hidden plates cannot be sliced or printed; slice/print buttons are disabled for them - Auto-reslice on preview switch is suppressed for hidden plates - [hidden] label shown next to plate name in the object list - Minimum one plate always remains visible (hide action blocked on last visible plate) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wipe tower volumes are keyed by plate via composite_id.object_id - 1000, not by (object_id, instance_id), so they were skipped by the previous visibility update. Resolve their plate directly and toggle is_active accordingly. Re-apply visibility at the end of reload_scene since wipe towers are recreated after slicing and would otherwise re-appear.
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.
Summary
This PR adds the ability to show and hide individual plates in the 3D workspace, without deleting them. It is a non-destructive workflow tool for users who want to focus on one plate at a time while keeping their full project intact.
Features
Files Changed
src/slic3r/GUI/PartPlate.hpp/.cppm_visibleflag, eye icon rendering, picking, slice/print guards,get_visible_plate_count()src/slic3r/GUI/Plater.cppsrc/slic3r/GUI/GLCanvas3D.cppupdate_plate_volumes_visibility(), toolbar button + popup menusrc/slic3r/GUI/MainFrame.cppsrc/slic3r/GUI/GUI_Factories.cppsrc/slic3r/GUI/ObjectDataViewModel.cpp[hidden]label in plate listresources/images/Notes
Screenshots
I believe there is still work to do, but at least if it's here, we can discuss it :)