Commit Graph

131 Commits

Author SHA1 Message Date
marioalexis
0cc1959832 Fem: Add calculator filter 2025-03-27 15:46:57 -03:00
Stefan Tröger
3ecad91cc6 FEM: Modernize multiframe code and incorporate review feedback 2025-03-22 23:27:10 +01:00
Stefan Tröger
12a6ea5038 FEM: Backward compatibility for post pipeline and multiple fixes 2025-03-22 23:27:10 +01:00
Stefan Tröger
3f87627484 FEM: Add post pipeline branch 2025-03-22 23:27:10 +01:00
Stefan Tröger
a5e66bf542 FEM: Switch post groups to extension based system 2025-03-22 23:27:10 +01:00
Stefan Tröger
a4558f31b4 FEM: Multiframe adoptions
- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data
 - Multiblock source algorithm is needed to supply the time data for the algorithms
2025-03-22 23:27:10 +01:00
marioalexis
746f27fbe9 Fem: Fix crash in Cut filter 2025-03-04 15:10:56 -03:00
Benjamin Bræstrup Sayoc
4ed902e07f Fem: Use QStringLiteral 2025-02-10 18:32:45 +01:00
marioalexis84
072ecb2a4f Fem: Add smoothing filter extension to contours filter (#18088)
* Fem: Add smoothing filter extension to contours filter
2024-12-16 10:40:02 -06:00
Max Wilfinger
29632606d1 Merge pull request #18268 from marioalexis84/fem-post_pipeline
Fem: Fix FemPostPipeline base class
2024-12-08 21:56:25 +01:00
Kacper Donat
954b729b56 Gui: Use getObject<T>() helpers in classes
This commit is generated using regex based find and replace:

```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```

To regenerate if needed.
2024-12-06 18:29:39 +01:00
marioalexis
3fad0cff60 Fem: Fix FemPostPipeline base class 2024-12-03 11:45:41 -03:00
marioalexis
271cc7ab35 Fem: Remove callback on right click during point marker selection - fixes #13694 2024-08-05 11:03:06 -05:00
Florian Foinant-Willig
027ac1b456 Fem: modernize type checking 2023-10-23 18:09:04 +02:00
marioalexis
f8b4d38c46 Fem: Remove unnecessary DataAtPoint marker 2023-10-16 15:58:57 +02:00
marioalexis
b209c6f82a Fem: Change TaskPostBoxes constructors to specific view providers 2023-10-14 00:43:59 +02:00
marioalexis
121d29771b Fem: Plot vector components in FemPostDataAlongLineFilter - fixes #5916 2023-10-12 12:49:18 +02:00
marioalexis
eb73a9bce0 Fem: Remove callback added by filters task box and rework marker classes 2023-10-10 13:58:34 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
marioalexis
32c34fd34a Fem: Remove markers from scenegraph - fixes #10438 2023-10-07 14:09:20 +02:00
AgCaliva
a4e90b2609 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
wmayer
3863cff6c0 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
AgCaliva
5fc6726feb fixing DOMDocument redefinition on windows 2023-09-09 04:58:38 -03:00
wmayer
2bcec7717d Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
wmayer
89b9a7ae0f FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
luzpaz
57b9442df7 Fix various typos 2023-08-04 19:46:12 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
wmayer
260ac4130d FEM: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
luzpaz
61e96bd763 FEM: fix trailing newlines 2023-02-15 13:41:38 +00:00
Uwe
559923a8d0 [FEM] Contours: fix task panel logic
- the ViewProvider sorting of the field can be different from the sorting in the dialog

- also hide a Contours property (I forgot this when the contours filter was added)
2023-02-14 13:30:58 +01:00
Uwe
50763df45b [FEM] sort code of result filters
- sort the functions alphabetically to know where to scroll to - eases the reading at least a bit
- some automatic reformatting according to our current clang file
- split too long lines
2023-02-13 19:52:54 +01:00
Uwe
3c94e3d87e [FEM] add new filter to display iso contours
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Uwe
3c30c389bb [FEM] register new result values to DataAtPoint filter
- also sorting to keep the overview
2023-02-13 02:50:34 +01:00
Uwe
0bbf9fa4b0 [FEM] shorten too long lines
- reformatting was done by the MSVC formatter according to our current clang file
2023-02-06 23:12:53 +01:00
wmayer
774dc5ce81 Fem: move from string based connect() to overloaded variant based on meta methods 2023-01-27 21:13:35 +01:00
wmayer
d4cb3aca0e FEM: move to new style connect() 2023-01-15 19:50:46 +01:00
Uwe
365552ba36 [FEM] TaskPostBoxes.cpp: re-add an include
- (strange that it compiled on MSVC without even a warning)
2022-10-03 05:10:07 +02:00
Uwe
4ed99e2f99 [FEM] Task*: remove unused includes
- also sort includes
2022-10-03 04:41:35 +02:00
Uwe
4f8ceb287e [FEM] pipelines: distinguish stresses (#7246)
- it seems using the same Field name for a vector and a scalar result causes problems with ParaView, see https://forum.freecadweb.org/viewtopic.php?p=601775#p601775
 therefore rename the vectors
2022-08-23 02:22:52 +05:00
Uwe
4ce5f5bd69 [FEM] point filter: add units for flux results 2022-08-17 00:10:22 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
luz paz
feb4218d06 FEM: remove trailing whitespace from various FEM files 2022-08-08 02:10:17 +02:00
Uwe
b6d0eeaf66 [FEM] [skip CI] set unit for potential loads 2022-08-07 15:15:23 +02:00
Uwe
a2bd654fd1 [FEM] make point filter aware of force density 2022-08-07 04:32:12 +02:00
Uwe
f7099cd43c [FEM] Elmer: fixes for electrostatics
- one needs to specify a file when calculating the capacitance matrix
- add electric flux to point filter results
- add missing parameters
- also some sorting
2022-08-07 01:11:07 +02:00
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
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
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
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
f467451ae3 [FEM] remove more superfluous nullptr checks 2022-07-18 02:34:57 +02:00