FEM: Homogenize/update selection dialogues in FEM WB #6085
Labels
Mod: FEM
Related to the FEM Workbench
Topic: User Interface
Issue related UI/UX
Type: Feature
FR for improvements or new features
Issue imported from https://tracker.freecad.org/view.php?id=4395
Original report text
Selection dialogues in FEM for e.g. boundary conditions like "ConstraintFixed" and e.g. "ConstraintElectrostaticPotential" have different features like highlighting of the selected element in the "Select Faces -> Add-> Remove" task panel.
This is probably due to the fact that some of them like the fixed-constraint are programmed in c++ while the others are used in python?
The attached screenshots do show that e.g. for the constraint ElectrostaticPotential no face is highlighted when there is an entry selected in the task panel.
See also
https://github.com/HoWilgh/FreeCAD/blob/femelmeresforce/src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintElectrostaticPotential.py
https://github.com/HoWilgh/FreeCAD/blob/femelmeresforce/src/Mod/Fem/femguiobjects/ViewProviderFemConstraint.py
https://github.com/HoWilgh/FreeCAD/blob/femelmeresforce/src/Mod/Fem/Gui/TaskFemConstraintFixed.ui
https://github.com/HoWilgh/FreeCAD/blob/femelmeresforce/src/Mod/Fem/Gui/TaskFemConstraintFixed.h
Steps to reproduce
Create a solid cube in Part-wb
Create a analysis in FEM-wb
Add a Model->Mechanical constraints->Fixed constraints and enter it by doubleclicking it in the combo-view/tree-view
Select a face and 'Add' the face into the list of elements in the "FEM constraint parameters" dialogue
Click somewhere else to de-select the face and than click the element in the "FEM constraint parameters" list -> the selected face gets highlighted again!
Other bug information
The text was updated successfully, but these errors were encountered: