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
fc5d57035f
Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556
2024-07-22 10:50:15 -05:00
marioalexis
6002a73fd7
Fem: Use base class open and reject methods in constraint task panels
2024-06-24 22:03:07 -03:00
wmayer
3863cff6c0
Fem: Apply clang-format
2023-09-25 14:50:43 +02:00
Uwe
45743d4fbd
[FEM] improve displacement constraint
...
- use a Distance and Angle property to get the unit handling right
2023-03-23 00:50:40 +01: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
Uwe
c9cb01531f
[FEM] extend displacement constraint
...
- add fields to specify a formula for the displacement, this is necessary to make transient deformation analyses with Elmer
- add option to set displacement from result of flow equation
- this way also a major overhaul -> simpler dialog logic etc.
2023-03-22 15:23:32 +01:00
Uwe
208b017253
[FEM] TaskFemConstrain*: remove unused includes
...
- also sort includes
2022-10-03 05:20:52 +02:00
berniev
180edfa3cc
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
berniev
71dc5ead2f
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
bde17e1b9f
Fem: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
35e90db035
[FEM] fixes for displacement dialog
...
- add missing global dialog layout (reported by Qt Designer)
- get rid of arbitrary spinbox limits
- uniform UI element names
- simplify code
2022-03-16 01:29:46 +01:00
Ajinkya Dahale
744e57a963
[FEM] Add modal add/remove for dispacement constraint
...
With this, add/remove buttons for displacement constraint will put the user in a
selection mode if pressed when nothing is selected.
Superclass `TaskFemConstraintOnBoundary` Allows code reuse for other
constraints. We do not need this in `TaskFemConstraints` because it is only used
in a subset of constraints, particularly that applies on only some of the
boundary entities.
TODO: Confirm Undo/Redo works appropriately.
TODO: Optimize `onSelectionChanged()`.
2022-01-07 05:33:42 +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
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
Bernd Hahnebach
3091fd5973
FEM: remove trailing whitespaces
2016-04-24 19:10:33 +02:00
vginkeo
034e377dd0
FEM: Implement constraint displacement in C++
2016-02-12 11:09:58 +02:00