Commit Graph

3839 Commits

Author SHA1 Message Date
Uwe
2aa6d0f02a [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
Yorik van Havre
3af0623431 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
6aaa94d2f2 Updated ts files 2022-06-10 10:29:18 +02:00
Uwe
1145a9a06e [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
6fadcdeed3 [FEM] fix unit settings of data point filter 2022-06-10 02:42:17 +02:00
Uwe
779a4635d9 [FEM] allow to copy and edit result data
- at the moment you cannot get the result data, for example to make your own plot. Also for the line you might want to have unequal x-steps etc. Especially for the data point filter not getting the data actually makes the tool quite useless.
- therefore set the properties to output
2022-06-10 02:41:08 +02:00
Uwe
082eacf139 [FEM] fix result point filter upon line filter
having a point filter on a line filter is valid and useful, was maybe just forgotten once the line filter was added
2022-06-10 01:43:22 +02:00
Uwe
78ab4ebf4c [FEM] fix issue that all plot windows had the same name
- they all had the name "figure 1"
- thus make the name unique and this way also enable to have several plots open displaying different result types (for the line filter)
2022-06-10 00:55:02 +02:00
Uwe
44fd302964 [FEM] fix detached plot (#6998)
* [FEM] fix detached plot

the stress linearization plot is at the moment detached from FreeCAD's main window.
This PR fixes it the same way as in https://github.com/FreeCAD/FreeCAD/commit/307bab074
2022-06-10 00:34:05 +02:00
Uwe
fcd606fbff [FEM] fix linear filter plot (#6999)
* [FEM] fix linear filter plot

the plot one can create from within the linear filter is at the moment detached from FreeCAD's main window.
This PR fixes it the same way as in https://github.com/FreeCAD/FreeCAD/commit/307bab074
2022-06-10 00:33:27 +02:00
Yorik van Havre
56264248eb Merged crowdin translations 2022-06-09 13:40:35 +02:00
wmayer
d01cb7838d FEM: improve German translation 2022-06-09 12:27:43 +02:00
0penBrain
4900d90ba9 [FEM] Implement a better dialog layout management for histogram (#6989)
* [FEM] Implement a better dialog layout management for histogram
2022-06-08 16:51:01 +02:00
Yorik van Havre
6d479e6cda Generated ts files 2022-06-08 12:32:59 +02:00
Yorik van Havre
d2f8b7d4e3 Merged crowdin translations 2022-06-08 12:28:54 +02:00
Chris Hennes
b6eb112eee FEM: Enable translation of plot labels 2022-06-07 13:44:01 -05:00
Chris Hennes
8191bcfc66 FEM: Enable translation of axis label 2022-06-07 13:10:42 -05:00
Yorik van Havre
80982cf87b Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
80967344c5 Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
Uwe
93ad75b6ff [FEM] fix subsequent histogram plot call
fixes #6975
2022-06-06 18:26:18 +02:00
Uwe
17b9e5a401 [FEM] fix wrong error message about comments
- fixes an annoying warning (that is output as error) about unused COMMENT
2022-06-05 13:42:41 +02:00
Uwe
d285a8e397 [FEM] add missing parser handling of '^' character (#6966)
* [FEM] add missing parser handling of '^' character

- it is common to use equations like "x^2" but one currently get only an error
- this PR fixes this by adding parsing support for the '^' character as power function

This way is it now also possible to calculate a root by e.g. "x^(0.5).
2022-06-05 13:13:49 +02:00
Kuzemko Alexsandr
b0878c6225 Crowdin Update Fem.ts 2022-06-05 12:38:12 +02:00
Uwe
002447b6d5 [FEM] add missing tooltip
- should clarify the action of the button properly
2022-06-05 00:25:20 +02:00
Uwe
adbc58e159 [FEM] result dialog: handle max shear stress
- max shear stress is supported but could not use in the Calculate section
- also sort the UI file with our sorting script
2022-06-05 00:12:51 +02:00
Uwe
d9fe22af40 [FEM] fix button text
- looking at the Git log this button never had a plot functionality
- for the discussion see: https://forum.freecadweb.org/viewtopic.php?f=18&t=69189
2022-06-04 22:41:58 +02:00
Kuzemko Alexsandr
3191ef5f3d Crowdin Update .ts after fixing script. 2022-06-04 15:09:19 -04:00
Uwe
99636fc6c6 [FEM] fix results dialog equation input
- add missing tooltip and this way remove cryptic default input of the field
- since the field expects plain text, use a QPlainTextEdit
2022-06-04 19:58:31 +02:00
Uwe
2394a3dcdf [FEM] describe the tress variables
- there was no info what P1, P2 and P3 meant
- also rearrange to consume save horizontal space (was too wide on small screens)
2022-06-04 19:18:13 +02:00
Uwe
925dd404a2 [skip CI] [FEM] change strings to be consistent with the dialog 2022-06-04 19:06:14 +02:00
Uwe
3e9ac4b084 [skip CI] [FEM] fix typos 2022-06-04 01:33:34 +02:00
Uwe
90ad26188a [FEM] don't block FC by histogram plot window
fixes #6959
2022-06-04 01:28:55 +02:00
Chris Hennes
b4c21869f2 FEM: Add translation calls to task_result_mechanical.py 2022-06-03 11:42:52 -05:00
Uwe
b73b8e32d9 [FEM] use proper histogram titles
- use for the histogram titles the same as in the CCX dialog and not our internal abbreviations
- in the CCX dialog don't use the term PEEQ but the common wording that also gives the user the info what this is about
2022-06-03 13:09:32 +02:00
Yorik van Havre
1488714a0f Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
2c93ba6c92 FEM: Tweak translatability of PEEQ 2022-06-02 16:26:05 -05:00
Chris Hennes
2c6dcd960e i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
861233e7f2 i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Chris Hennes
c7e4463b9b FEM: Fix typo 2022-06-02 10:49:55 -05:00
Uwe
1a94543824 [FEM] TaskPostDataAtPoint: add missing support for electrostatics
- also update units to SI
2022-06-01 17:42:22 +02:00
Yorik van Havre
9d4ae629a3 Merged crowdin translations 2022-05-31 13:31:52 +02:00
Yorik van Havre
9cbe14f1d5 Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
047b15cfe5 merged crowdin translations 2022-05-28 12:16:47 +02:00
wmayer
e22447b7da Fem: [skip ci] fix deleting Result object if its children has been deleted beforehand 2022-05-28 12:08:44 +02:00
Yorik van Havre
2dffe82cda Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
c266f16c53 Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
1f170e3d23 Mod: handle removed headers in PCH files for OCC 7.6 2022-05-21 06:28:07 +02:00
luz paz
1ef0f8001b FEM: [Crowdin] fix typo in ElectrostaticPotential.ui tooltip
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/143
2022-05-10 19:02:09 -05:00
Yorik van Havre
996994da55 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498 Updated ts files 2022-05-05 15:20:57 +02:00