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
wmayer
46e46a1466
FEM: [skip ci] fixes #0004405 : Using PartDesign axis / plane as direction for constraints
2021-02-24 23:59:10 +01:00
wmayer
ec2dbecac4
FEM: [skip ci] connect onButtonDirection() slot with clicked() signal
2021-02-24 21:55:51 +01:00
luz paz
36d9f82671
FEM: remote superfluous double semicolons [skip ci]
2021-02-14 22:13:16 +01:00
luz paz
3830b562d5
FEM: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the FEM Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
Bernd Hahnebach
e9df57bdd4
FEM: rename icon, Constraint Force
2020-03-06 08:39:03 +01:00
donovaly
10cfdceb7a
[FEM] spread the fixes from commit ef370e6d to the other dialogs
2020-03-01 14:37:28 +01:00
wmayer
7558b6e7cc
Fem: [skip ci] fix several coding flaws:
...
* improve implementation of TaskFemConstraintForce::onButtonDirection
* use QSignalBlocker to tmp. suppress signals instead of dis- and re-connecting
* directly access object from SelectionObject
* don't do type checks by class name but by typeid
2020-02-26 14:15:12 +01:00
wmayer
79d00af254
Fem: [skip ci] improve implementation of TaskFemConstraintForce::onButtonDirection
2020-02-26 12:50:10 +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
3d5e3b3664
[FEM] TaskFemConstraintForce.cpp: squash GCC warning
2020-02-22 09:27:18 +01:00
donovaly
a5a5ef517b
[FEM] fix direction handling in Force dialog
...
- the direction handling did not work because of yesterdays' PR from me
2020-02-21 17:47:15 +01:00
donovaly
4c368c7c21
FEM: change behavior of Force dialog to the one of all other constraint dialogs
2020-02-20 18:07:52 +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
luz.paz
73b8ee91ee
FEM: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +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
wmayer
1fed75002e
+ issue #0002546 : FEM constraint parameters can't be smaller than 0,01 (N)
2016-08-14 23:07:24 +02:00
Bernd Hahnebach
3091fd5973
FEM: remove trailing whitespaces
2016-04-24 19:10:33 +02:00
Bernd Hahnebach
11a1de07d1
FEM: convert all windows code files to unix line ending
2016-04-24 19:10:33 +02:00
vginkeo
8ec2665c1c
FEM: C++98 compatible fix to constraint displacement reference deletion, update vertice, edge, face selection
2016-02-29 13:06:16 +01:00
Yorik van Havre
17522b7b2f
Revert "FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection."
...
This reverts commit ac4d466443 .
2016-02-19 00:05:55 -02:00
vginkeo
555382e8be
FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection.
2016-02-18 19:15:16 -02:00
vginkeo
38b8d172c2
FEM: Constraint view sizing and scaling of indicators for force, pressure and fixed constraints and limit on steps.
2016-02-01 10:52:37 +02:00
Mateusz Skowroński
c275b35d48
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
f45d02c912
+ support of linear b-spline/bezier curves and planar b-spline/bezier surfaces to get direction
2015-11-11 18:27:26 +01:00
Przemo Firszt
e08bafd43b
FEM: Fix icon names
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-09-22 20:09:53 -03:00
Przemo Firszt
1b5ff48484
FEM: Add curly brackets to one line for/if or if/if commands
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-06-02 11:35:34 +01:00
Bernd Hahnebach
fb1ba50a4b
Fem: ContraintForce: units are no longer printed on widget
2015-03-06 17:03:35 +01:00
wmayer
6721139630
+ use undo/redo for Fem constraint force dialog
2015-02-27 11:21:05 +01:00
wmayer
f7a5fe162d
+ fix expressions
2014-10-10 19:01:34 +02:00
wmayer
ee6cb252fa
+ fix issues with force constraint
2014-10-10 17:42:33 +02:00
wmayer
7a13cb8d09
+ Fix compiler warnings
2013-10-11 12:24:49 +02:00
jriegel
00ea24e07e
Integrate Werners & Jans double branch
...
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
jrheinlaender
909265cac9
Improvements to FEM constraint objects
2013-03-21 16:58:01 +04:30
jrheinlaender
4755859cb6
Split code into separate files for each constraint type
2013-03-21 16:56:57 +04:30