Ondsel-Development / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
192 stars 8 forks source link

Feature request: Show only the selected node of the tree (hide the rest) #134

Open raindropsfromsky opened 2 months ago

raindropsfromsky commented 2 months ago

Is there an existing issue for this?

Problem description

Often we need to work on a particular item in the tree. However, in a large drawing, all other items create a huge visual clutter. It is desirable to isolate the part on which we are working, and hide the rest of the items to avoid clutter.

However, we do not have a quick toggle to achieve this effect.

It would be great to have a hotkey and/or a context menu to show only the selected node, and hide the rest.

Note that this should be only a toggle: When it is disabled, the previous visibility state of all other nodes should be restored. (All previously visible nodes should become visible, and all previously hidden nodes should be hidden.)

This feature may be called sommething else (e.g. "isolate") to prevent a confusion between this and the visibility state.

An extended idea is to let the user select multiple nodes in the tree and isolate them all with a single hotkey. Once the work is done, the user can toggle the isolation off, to respore the visible/hidden state of all other nodes.

Full version info

OS: Windows 11 build 22631
Word size of Ondsel: 64-bit
Version: 2024.3.0dev.38472 (Git)
Build type: Release
Branch: flavor
Hash: 60c383a71ad9a470a811ccf6537156e03f180539
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * CurvedShapes 1.0.9
  * Curves 0.6.45
  * Defeaturing 1.2.2
  * ExplodedAssembly
  * fasteners 0.5.27
  * FreeCAD-themes 2024.7.24
  * Ondsel-Lens 2024.7.5.02
  * OpenTheme 2024.8.17
  * SearchBar 1.0.2
  * Silk 0.1.5
  * symbols_library

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct