Commit Graph

42 Commits

Author SHA1 Message Date
Uwe
6757d1e853 [FEM] ViewProviderFem*: remove unused includes
- also sort includes
2022-10-03 15:01:37 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
47ac049e14 Mod: use emplace_back 2022-08-05 10:36:16 +02:00
wmayer
a9a4cf3d6d Fem: [skip ci] Fix several clazy issues:
* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing emit keyword on signal call FemGui::PointMarker::PointsChanged [-Wclazy-incorrect-emit]
2022-07-25 12:11:47 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
mosfet80
c48a569696 Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Uwe
f1e3c30d6a [FEM] point filter: use a LineEdit to output value
- that one copy the result to the clipboard
- also fix a typo
2022-06-14 01:21:17 +02:00
wmayer
d49209049c Gui: set a minimum width for quantity spin boxes in FEM dialogs to ignore the results of (minimum)sizeHint() 2022-06-12 20:25:40 +02:00
Uwe
64f9edf52c [FEM] fix unit handling of filter functions
- the function properties use already units but the dialogs were unitless
2022-06-11 04:54:51 +02:00
Uwe
6f449fbc12 [skip CI] [FEM] ViewProviderFemPostFunction: add a comment 2022-04-13 02:44:34 +02:00
wmayer
7261798eae FEM: automatically detect a suitable scale factor for old project files 2022-04-12 15:24:21 +02:00
wmayer
8da621e220 FEM: [skip ci] fix some typos 2022-04-12 11:03:03 +02:00
wmayer
7c400f114d FEM: use an SoJackManip for ViewProviderFemPostPlaneFunction 2022-04-12 10:16:54 +02:00
wmayer
98eb81d0ba Fem: remove the forced document recompute from ViewProviderFemPostSphereFunction::updateData
This is already handled in ViewProviderFemPostFunction::dragFinishCallback and can be switched on or off.

See also: https://forum.freecadweb.org/viewtopic.php?p=584481#p584481
2022-04-07 13:29:34 +02:00
wmayer
5907a7261e Fem: move handling of PostAutoRecompute to a central class and by default set its value to true 2022-04-07 13:22:13 +02:00
Uwe
16ef926fb1 [FEM] improve sphere cut function handling
This commit improves https://github.com/FreeCAD/FreeCAD/commit/e22bcb61
it turned out that it is valid to use a sphere being part of a Pipeline A ,a also for filters in a Pipeline B, C etc. Thus we must recompute the whole analysis container
2022-03-30 03:35:13 +02:00
Uwe
f2ebc45a30 [FEM] [skip CI] remove superfluous ifs I introduced today 2022-03-30 01:45:59 +02:00
Uwe
06c10561d1 [FEM] fix sphere cut filter
when using a sphere as function for a filter, the pipeline must be recomputed when the sphere geometry is changed, not only the sphere
2022-03-29 04:48:59 +02:00
Uwe
4d3a963864 [FEM] add missing functions deletion handling
as it was, one could delete the functions container breaking the simulation. Now you get a warning.

- also remove unused includes
2022-03-24 16:17:44 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
Uwe
a3780fc127 [FEM] post object: some whitespace and style fixes
all made by MSVC
2022-03-23 21:51:25 +01:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +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
wmayer
983939b32d Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
1ae5bf7ffb Fem: [skip ci] fix bug in ViewProviderFemPostFunction::attach
When applying an action on a node its reference count must be > 0
2020-07-07 08:43:46 +02:00
wmayer
d6169d6478 boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
730154a684 boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
Bernd Hahnebach
e680701037 FEM: add gitattributes file to let git manage file endings and normalize them 2019-12-12 07:29:15 +01:00
Bernd Hahnebach
078237937f FEM: code formating replace lines of # with lines of * 2019-09-19 09:10:56 +02:00
Abdullah Tahiri
0382e2dd75 PCH: Fem Gui 2019-05-16 21:43:08 +02:00
Bernd Hahnebach
5e707d5aa2 FEM: icons, rename sphere icon 2018-08-07 16:57:05 +02:00
Bernd Hahnebach
978327e38a FEM: icons, rename plane icon 2018-08-07 16:57:05 +02:00
luz.paz
dcc65070c1 Misc source comment typos
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`  
Whitelist consists of:
```
aline
alledges
als
ang
behaviour
bloaded
calculater
cancelled
cancelling
cas
centimetre
childs
colour
colours
doubleclick
dum
eiter
elemente
freez
iff
indicies
initialisation
initialise
initialised
initialises
kilometre
lod
mantatory
methode
metres
millimetre
modell
nd
normaly
nto
oder
ot
pres
que
recurrance
rougly
seperator
serie
strack
substraction
te
thru
vertexes
whitespaces
```
2018-02-16 09:35:19 -05:00
wmayer
7d842679bd in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
Bernd Hahnebach
e1c5c8fe38 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
Stefan Tröger
53312d2d10 FEM Post: Fix cutter error and "remove crashs" 2016-05-18 21:35:15 +02:00
Stefan Tröger
e801be0ccd FEM Post: Clean up work 2016-05-18 21:35:15 +02:00
Stefan Tröger
4ed61f5bba FEM Post: Update function manipulators
Update includes view and transformation handling
2016-05-18 21:35:15 +02:00
Stefan Tröger
44fea819ce FEM Post: Add icons for fem post processing 2016-05-18 21:35:15 +02:00
Stefan Tröger
d0a8f6d820 FEM Post: Detail filter infrastructure 2016-05-18 21:35:15 +02:00
Stefan Tröger
d52639cf8d FEM Post: Basic implementation of filter framework 2016-05-18 21:35:15 +02:00