Ralf Habacker
5900b21fda
Partial homogenization of FEM dialogs for constraints ( #21538 )
...
* FEM: Add context menu entry for clearing the reference list in constraints
See #6085
* FEM: Add 'Remove' button to python based dialogs for adding geometry references
See #6085
2025-06-09 10:51:36 -05:00
Benjamin Nauck
7c6db638c8
Fem: Add #include <limits> where used
2025-03-31 23:51:06 +02:00
Benjamin Nauck
e2da3bce46
FEM: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
bofdahof
1c4ecf576b
FEM: apply std::ranges
2025-03-16 17:16:30 -05:00
marioalexis
c2eb777f4a
Fem: Change from radio buttons to combo box to reduce space in heat flux task panel
2025-03-09 12:18:14 -03:00
tritao
551c2e48fb
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Ladislav Michl
0b3adee2ab
Base: Quantity: return std::string
2024-12-23 17:48:42 +01:00
Kacper Donat
954b729b56
Gui: Use getObject<T>() helpers in classes
...
This commit is generated using regex based find and replace:
```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```
To regenerate if needed.
2024-12-06 18:29:39 +01:00
marioalexis
f7f700eb1c
Fem: Enable expression for the heat flux constraint task panel
2024-10-10 20:33:54 -05:00
wmayer
be34f251cd
FEM: Fix convoluted event handling of constraint task boxes
...
and make Delete key working on macOS
2024-07-23 23:19:51 -05:00
marioalexis
6002a73fd7
Fem: Use base class open and reject methods in constraint task panels
2024-06-24 22:03:07 -03:00
marioalexis
5548ba1c59
Fem: Set Scale in TaskFemConstraint base class
2024-06-24 22:03:07 -03:00
marioalexis84
7962136169
Fem: Add radiation heat transfer ( #13466 )
...
* FEM: Add radiation heat transfer
* FEM: Add radiation heat transfer to CalculiX writer
* FEM: Update .inp files
* Fem: Rename heat flux ui members
---------
Co-authored-by: FEA-eng <59876896+FEA-eng@users.noreply.github.com >
2024-04-29 10:53:59 -05:00
wmayer
3863cff6c0
Fem: Apply clang-format
2023-09-25 14:50:43 +02:00
kaktus Jacek
1adfa88aee
Fem: Removing "constraint" from the names
...
Removing "constraint" from the names of most FEM workbench features.
https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
wmayer
2bcec7717d
Fem: modernize C++: use equals default
2023-08-21 13:35:54 +02:00
wmayer
89b9a7ae0f
FEM: modernize C++: use range-based for loop
2023-08-15 01:09:53 +02:00
wmayer
7a3106d31b
modernize C++: use bool literals
2023-08-06 01:35:39 +02:00
Uwe
9d45d40ec5
[FEM] use std::unique_ptr for all dialog objects
...
- also fix too long line
- also further clang automatic code style changes
2023-03-22 20:08:13 +01:00
wmayer
d4cb3aca0e
FEM: move to new style connect()
2023-01-15 19:50:46 +01:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
Ajinkya Dahale
e0f96afb35
[FEM] Refactor TaskFemConstraintOnBoundary ( #6615 )
...
* Now the behavior is consistent with behavior of PD fillets, for example.
See https://forum.freecadweb.org/viewtopic.php?f=18&t=67135#p580192 . In the
future it may be possible to reuse some code from there.
* When the last selected item is removed we need to reset the existing
highlighting separately.
* Use `Gui::ButtonGroup` in `TaskFemConstraintOnBoundary`
2022-03-21 01:02:10 +01:00
Uwe
7ccfe10af4
[FEM] task dialogs: remove unused includes
...
- also some code style fixes from MSVC
2022-03-17 23:31:17 +01:00
wmayer
d419b325fb
Fem: Fix several coverity issues:
...
* make SelectionChangeModes an enum class
* CID 350596: Uninitialized scalar field
* CID 350572: Uncaught exception
* CID 350647: Uncaught exception
2022-03-13 14:09:04 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Ajinkya Dahale
e92cc10819
[FEM] Use modal add/remove for more constraints (8/??)
...
Use the previously added superclass `TaskConstraintOnBoundary` for more
constraints where it's usable.
Currently done:
TaskFemConstraintDisplacement
TaskFemConstraintForce
TaskFemConstraintSpring
TaskFemConstraintFluidBoundary
TaskFemConstraintHeatflux
TaskFemConstraintFixed
TaskFemConstraintTemperature
TaskFemConstraintPressure
Too different:
TaskFemConstraintTransform (single selection)
TaskFemConstraintContact (single selection, two fields)
TaskFemConstraintPlaneRotation (single selection)
(Other constraint tasks, which do not use `addToSelection`)
2022-01-07 05:33:42 +01:00
luz paz
36d9f82671
FEM: remote superfluous double semicolons [skip ci]
2021-02-14 22:13:16 +01:00
Bernd Hahnebach
990ba344a3
FEM: rename icon, Constraint Heatflux
2020-03-06 08:39:13 +01:00
donovaly
10cfdceb7a
[FEM] spread the fixes from commit ef370e6d to the other dialogs
2020-03-01 14:37:28 +01:00
donovaly
d813e5abf1
FEM: constraint dialogs: sort out commonly used function
...
additionally remove double code from TaskFemConstraintForce.cpp
2020-02-24 20:12:10 +01:00
donovaly
f60ca91e83
[FEM] fix special Dlg issue with deletion
...
- if an existing constraint has only one item, the item could under some circumstances not be deleted by pressing Del
2020-02-21 18:00:58 +01:00
donovaly
d71cdc061c
[FEM] add shortcut to delete constraints from list in dialog
...
see https://forum.freecadweb.org/viewtopic.php?f=18&t=43402
2020-02-19 10:15:10 +01:00
Abdullah Tahiri
0382e2dd75
PCH: Fem Gui
2019-05-16 21:43:08 +02:00
sL1pKn07
6674467254
[For v018] Fix build with Qt5 beta
...
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
vdwalts
59ac40a584
Base: Units for FEM, new heat and heat flux functions
2016-12-21 11:27:41 -02:00
kgoao
93b7aceb0e
FEM: FemConstraintHeatflux: Add DFLUX option to heat flux constraint
2016-12-21 11:27:41 -02:00
Bernd Hahnebach
e1c5c8fe38
FEM: code formating: remove trailing white spaces
2016-08-04 17:45:04 +02:00
vdwalts
044668d29a
FEM: constraints thermomechanical: object implementation
2016-08-04 17:45:04 +02:00