Uwe
c61ca0d0a7
[FEM] Elmer: fixes for the point filter
...
- use correct names and support all possible outputs
2022-08-01 04:33:06 +02:00
wmayer
a5ccef8146
Fem: use SoAnnotation to highlight result pipeline objects
2022-07-31 17:51:31 +02:00
wmayer
9ddbecb864
Fem: implement a selection observer to notify a ViewProviderFemPostObject when its selection status has changed
2022-07-31 14:01:23 +02:00
Uwe
f532fa9a1b
[FEM] Elmer: fix eigenmode results for point filter
...
Elmers' eigenmode results have a different result name
2022-07-31 04:30:31 +02:00
wmayer
3ef98f002b
Fem: use 'using' instead of 'typedef' [modernize-use-using]
2022-07-27 19:11:05 +02:00
Uwe
c25c0888c9
[FEM] fix PostObject hiding issue
...
- when a PostObject is hidden the FemPostDataAtPointFilter must not be taken into account
2022-07-27 16:56:06 +02:00
Uwe
9a9ac18916
[FEM] save icons as plain SVG - part 2/2
2022-07-27 16:42:46 +02:00
Uwe
4c08e41a88
[FEM] PostDataAtPoint: remove unnecessary style setting
...
- PostDataAtPoint is a point therefore setting a filling style is not necessary
- also fix a typo in a comment
2022-07-27 16:15:04 +02:00
Uwe
9c89935297
[FEM] skip CI] update a comment
2022-07-27 03:54:26 +02:00
Uwe
591b0f3e1b
[FEM] update ViewProvider selection code
...
as suggested in
7884cb92d9 (r79459854)
2022-07-27 03:51:46 +02:00
Uwe
1c419864c3
[FEM] save icons as plain SVG - part 1/2
2022-07-27 03:34:04 +02:00
Uwe
2e9788d488
[FEM] BodyHeat constraint: use unique icon
...
- it was not possible to distinguish the constraint from the heatFlux constraint
2022-07-27 03:09:15 +02:00
Uwe
e425ed39a6
[FEM] PostObject: improve color bar refreshing
...
- for data point filters the color bar must not be updated
2022-07-26 04:00:02 +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
Uwe
777aabe46c
[FEM] ViewProviderDocumentObject: fix parenthesis mistake
...
(I don't know how this happened)
2022-07-24 19:25:53 +02:00
Uwe
d012b8d012
[FEM] fix color bar handling on hiding post objects
...
- fixed the remaining part of #7230 : on hiding an object, refresh the color bar of the new visible object (if there is any)
2022-07-24 19:17:24 +02:00
Uwe
a5b50fd114
[FEM] set default selection mode to BoundBox for post objects
...
- this fixes a long-standing annoyance that popped up also from time to time in the forum:
the post objects deliver information via its coloring but a selection in the tree changed the shape color
Even experienced users like me did not know about the SelectionStyle property and always had to click into the model to see the real color, not the selection color.
Therefore SelectionStyle set to BoundBox is sensible as default settings for post objects since this assures that the users always see the right coloring.
2022-07-24 16:24:01 +02:00
Uwe
e95a16408c
[FEM] TaskBoxes: add missing info about transparency
...
The user had no info about the current transparency nor the value he will be selecting.
2022-07-23 19:41:18 +02:00
Uwe
5aedc73ef6
[FEM] better fix for missing colorbar update for FemPostObject
...
- better fix for #7230 because we can call the direct paint method and because the bar is now also updated when the object is shown
- also add a ToDo note
2022-07-23 16:57:16 +02:00
Uwe
0105189304
[FEM] [skipCI] ViewProviderFemPostPipeline: remove unused include
...
- also sorting
2022-07-22 02:08:11 +02:00
Uwe
ac27f4700a
[FEM] fix missing colorbar update for FemPostObject
...
- fixes issue #7230
- to update the color bar for post objects, the Field property has to be reset to trigger this. This PR does this.
2022-07-22 01:20:18 +02:00
Uwe
b726941073
[FEM] [skip CI] fix UI file height entry
...
- was automatically done by QT designer
2022-07-21 03:43:26 +02:00
Uwe
f467451ae3
[FEM] remove more superfluous nullptr checks
2022-07-18 02:34:57 +02:00
Uwe
5e634c5995
[FEM] remove superfluous nullptr checks
2022-07-18 01:45:19 +02:00
Uwe
947bce371c
[FEM] check if Gmsh, CCX and Mystran solver binaries exist
...
- adds the check like we have already for Z88 and Elmer
- also remove an unnecessary return statement
2022-07-17 01:43:58 +02:00
Uwe
eec258ab37
[FEM] enable to run Elmer multi-threaded
...
- this needs proper testing, especially on a non-Windows system
- note that for some tasks multi-threading requires non-standard additional solvers like MUMPS. Ideally the user should be informed about this, depending on the equations he uses. But this should not block this PR, meaning to use multi-threading in general.
2022-07-16 14:59:25 +02:00
Uwe
72c465a19c
[FEM] check if solver executables exist
...
- currently one can enter any path for the solver executables, a check is missing
- moreover for Z88 the executable name is error-prone (just happened to me and cost me half an hour to find out what is wrong), therefore check also the correct filename. For Elmer this cannot be done since there are different executables one can choose of (e.g. for multi-threading etc.)
2022-07-11 02:23:14 +02:00
Uwe
91d7e0b896
[FEM] fix CCX multi-threading bug
...
- in the preferences one could specify more CPU cores than available
- also correct a label sine the number of cores are since FC 0.20 used for all CCX solver runs
- also remove unnecessary (doubled) slots from the UI file
2022-07-10 17:33:33 +02:00
Uwe
1c8eb28220
[FEM] remove doubled slots from preferences UI files
2022-07-10 17:25:19 +02:00
wehrle
a5a2401a44
correction
2022-07-10 13:43:46 +02:00
Uwe
5a6c52d8f3
[FEM] [skip CI] fix a typo
...
- spot by the spellchecker CI
2022-07-01 03:12:15 +02:00
wmayer
0f5725b34a
modernize C++: replace boost::function with std::function
2022-06-30 20:31:55 +02:00
Uwe
5f5ae2fe4a
[FEM] fix point filter initialization issue
...
- on opening the task dialog of existing point filter, the point value must be displayed
2022-06-27 01:07:36 +02:00
wmayer
2628fb0350
App: fix memory leaks in Enumeration class and simplify code
2022-06-25 18:18:57 +02:00
wmayer
d5340a82ab
Gui/Mod: replace several reinterpret_cast with static_cast
2022-06-25 11:36:55 +02:00
wmayer
6e80ffaec3
Fem: remove some superfluous const_cast
2022-06-24 19:43:33 +02:00
wmayer
f5235a8057
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Yorik van Havre
4c34ae7398
Merge pull request #7067 from Kuzma30/add_ts
...
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +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
Kuzemko Alexsandr
b99ccc6193
Crowdin Update .ts files with current source.
2022-06-21 17:31:06 +03:00
Uwe
a289ec4a06
[FEM] fix a variable casting
...
- reported by MSVC not to cast a float to a double but as double directly
- also remove some superfluous Boolean comparisons
2022-06-19 15:15:18 +02:00
wmayer
052a2d8f82
Fem: remove string from translation
2022-06-14 01:43:45 +02:00
wmayer
d64b9750da
Fem: added signals and slots to notify when first function is added
2022-06-14 01:38:55 +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
66fab4bb81
Fem: for PointMarker and DataMarker use the internal name instead of label, in customEvent() do not expect a fix name
2022-06-13 17:37:26 +02:00
wmayer
46ce091344
Fem: in FEM_PostFilterLinearizedStresses command do not use a hard-coded object name but that of the selected FemPostDataAlongLineFilter
2022-06-13 17:08:58 +02:00
wmayer
6bc14921b5
Fem: do not use the Label property but the internal name to access an FEM post object via Python
2022-06-13 17:01:38 +02:00
wmayer
1da5971f00
Fem: do not access the active document but the document the FEM post object is part of
2022-06-13 16:46:15 +02:00
wmayer
82b8ddc042
Fem: use WeakPtrT classes instead of raw pointers to avoid possible dangling pointers and to avoid undefined behaviour if a wrong static_cast is performed
2022-06-13 14:21:18 +02:00
wmayer
b82230867b
Fem: improve TaskPostDataAtPoint:
...
* refactor TaskPostDataAtPoint::on_Field_activated()
* show results in a label instead of message box to reduce clicks
* in output window also print field and position as the pure values are useless
2022-06-13 12:31:37 +02:00