Commit Graph

29 Commits

Author SHA1 Message Date
wmayer
a5be62b86a 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
1b57cd3ae2 Fem: [skip ci] improve implementation of TaskFemConstraintForce::onButtonDirection 2020-02-26 12:50:10 +01:00
donovaly
d19d5b5fce FEM: constraint dialogs: sort out commonly used function
additionally remove double code from TaskFemConstraintForce.cpp
2020-02-24 20:12:10 +01:00
donovaly
3afa603a1e [FEM] TaskFemConstraintForce.cpp: squash GCC warning 2020-02-22 09:27:18 +01:00
donovaly
6cc0e3580f [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
325b31aae3 FEM: change behavior of Force dialog to the one of all other constraint dialogs 2020-02-20 18:07:52 +01:00
donovaly
97de09ad6f [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
1baf5da3cf 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
241c370f5f PCH: Fem Gui 2019-05-16 21:43:08 +02:00
sL1pKn07
018b41032a [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
99ad0b71b9 + issue #0002546: FEM constraint parameters can't be smaller than 0,01 (N) 2016-08-14 23:07:24 +02:00
Bernd Hahnebach
b58e37b950 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
14eb6869a9 FEM: convert all windows code files to unix line ending 2016-04-24 19:10:33 +02:00
vginkeo
f14758d5e5 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
577f208da7 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
ac4d466443 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
80a791021b 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
cd2db00f22 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
4af7d95a6d + 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
cee4fc688f FEM: Fix icon names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
aed303f4ff 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
89a6e67e35 Fem: ContraintForce: units are no longer printed on widget 2015-03-06 17:03:35 +01:00
wmayer
2a4d29d0ac + use undo/redo for Fem constraint force dialog 2015-02-27 11:21:05 +01:00
wmayer
980d1eb0eb + fix expressions 2014-10-10 19:01:34 +02:00
wmayer
71154f5f25 + fix issues with force constraint 2014-10-10 17:42:33 +02:00
wmayer
9af4f7ee73 + Fix compiler warnings 2013-10-11 12:24:49 +02:00
jriegel
664c1d4862 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
f5c6e4eae3 Improvements to FEM constraint objects 2013-03-21 16:58:01 +04:30
jrheinlaender
d48542cf56 Split code into separate files for each constraint type 2013-03-21 16:56:57 +04:30