Commit Graph

106 Commits

Author SHA1 Message Date
luzpaz
16e083c8f3 Fix various typos 2023-08-04 19:46:12 +02:00
luzpaz
129d5882a7 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
a59ea60c4a FEM: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
luzpaz
d4796dd1d4 FEM: fix trailing newlines 2023-02-15 13:41:38 +00:00
Uwe
a6d1dc7fc0 [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
592da198c5 [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
fa780e8b5b [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
bdc23a5b02 [FEM] register new result values to DataAtPoint filter
- also sorting to keep the overview
2023-02-13 02:50:34 +01:00
Uwe
c8630fec0a [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
633a6e825c Fem: move from string based connect() to overloaded variant based on meta methods 2023-01-27 21:13:35 +01:00
wmayer
a9b9899846 FEM: move to new style connect() 2023-01-15 19:50:46 +01:00
Uwe
4b79b9ff56 [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
d067502a3b [FEM] Task*: remove unused includes
- also sort includes
2022-10-03 04:41:35 +02:00
Uwe
0e24ed6342 [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
ee68391bc8 [FEM] point filter: add units for flux results 2022-08-17 00:10:22 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
luz paz
d02f6330fc FEM: remove trailing whitespace from various FEM files 2022-08-08 02:10:17 +02:00
Uwe
678fc54358 [FEM] [skip CI] set unit for potential loads 2022-08-07 15:15:23 +02:00
Uwe
df257416a5 [FEM] make point filter aware of force density 2022-08-07 04:32:12 +02:00
Uwe
84db9d4baa [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
89f34f562a [FEM] Elmer: fixes for the point filter
- use correct names and support all possible outputs
2022-08-01 04:33:06 +02:00
Uwe
7c382f7c09 [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
e403b9ce55 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
057e90bf29 [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
48af573746 [FEM] remove more superfluous nullptr checks 2022-07-18 02:34:57 +02:00
Uwe
7001caea9a [FEM] [skip CI] fix a typo
- spot by the spellchecker CI
2022-07-01 03:12:15 +02:00
Uwe
e8f3227191 [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
e9890c0798 Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
68e337670e Fem: remove string from translation 2022-06-14 01:43:45 +02:00
wmayer
3158be46ad Fem: added signals and slots to notify when first function is added 2022-06-14 01:38:55 +02:00
Uwe
74c2ad4bf0 [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
7fa294fd7a 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
915371aa70 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
7b225789da 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
9aa14b36a3 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
27a36156f6 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
wmayer
09f1b14cc9 Fem: remove several superfluous casts 2022-06-13 11:14:29 +02:00
Uwe
2a8f85d95c [FEM] make post filter Ui std::unique_ptr 2022-06-13 01:59:46 +02:00
Uwe
227e568b4f [FEM] cut and clip filter: handle new functions
- on adding a new function, it should be used
- there is still a bug, see the added FIXME
2022-06-13 01:42:58 +02:00
wmayer
0a79760745 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
4813e30703 [FEM] fix line filter resolution
- when the resolution changes, the data must be refreshed for visualization and the plot
2022-06-12 18:18:26 +02:00
Uwe
3528c626e7 [FEM] fix plots of line filter
- when the line geometry changed, the axis data must be refreshed to get correct plots
2022-06-12 17:24:41 +02:00
Uwe
a3a97d7b5e [FEM] fixes for line filter
- on changing a point coordinate, either by clicking a point or by changing the spinbox in the dialog, the color bar must be refreshed and data must be evaluated for all fields along the new line
2022-06-12 16:35:08 +02:00
Uwe
6c1c63cffe [FEM] point filter: fix data display for coordinate change
- not only by clicking the data must be shown, also by changing a single coordinate value in the dialog.
2022-06-12 04:51:19 +02:00
Uwe
7521cfc7a0 [FEM] fix point filter output
fixes #7008:

- the point data must be read also when the center changed
- when the dialog is called it has only the value for the current field, thus recompute the feature to fill all fields with data
- on clicking on a mesh point display the value at the clicked position
- due to the object's recomputation at the start, a complete recomputation (for the whole pipeline) is needed on closing the dialog
2022-06-12 03:34:02 +02:00
Uwe
6d23205704 [FEM] fix display of point filter
- results of 1e8 or 1e-7 in fixed notation are almost unreadable, therefore use scientific notation if necessary
2022-06-12 01:05:26 +02:00
Uwe
d4c180e953 [FEM] fix unit handling of line filter
- in contrary to other filters the properties have no unit handling
(there are several bugs in line filter and to fix them, unit handling is necessary)
2022-06-10 14:17:42 +02:00
Uwe
4c3c23776d [FEM] fix illegal storage access in point filter
- occurred when changing Field to "None"

- also remove doubled and unused code and add a blank line to separate the different filters in the code better
2022-06-10 13:16:23 +02:00
Uwe
825d95314e [FEM] fix unit handling of point result filter
- the App part used already units but the dialog worked unitless. This is error-prone and confusing. Therefore use unit widgets in the dialog.
- also fix issue that unit was not reset (after e.g. a temperature maybe a unitless strain should be shown)
2022-06-10 04:20:25 +02:00
Uwe
6bb6bb4d24 [FEM] fix unit settings of data point filter 2022-06-10 02:42:17 +02:00