Commit Graph

3915 Commits

Author SHA1 Message Date
Uwe
b5b5375fe4 [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
75a8998432 [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
27e3f3c153 Crowdin Update .ts after fixing script. 2022-06-04 15:09:19 -04:00
Uwe
4d7e550d97 [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
3fe354718c [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
8567ef1849 [skip CI] [FEM] change strings to be consistent with the dialog 2022-06-04 19:06:14 +02:00
Uwe
704feadc7c [skip CI] [FEM] fix typos 2022-06-04 01:33:34 +02:00
Uwe
e41879c6ea [FEM] don't block FC by histogram plot window
fixes #6959
2022-06-04 01:28:55 +02:00
Chris Hennes
d73f9e3762 FEM: Add translation calls to task_result_mechanical.py 2022-06-03 11:42:52 -05:00
Uwe
134fa8b7ea [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
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
2d32de3cd2 FEM: Tweak translatability of PEEQ 2022-06-02 16:26:05 -05:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Chris Hennes
be8a4037db FEM: Fix typo 2022-06-02 10:49:55 -05:00
Uwe
9946a3916e [FEM] TaskPostDataAtPoint: add missing support for electrostatics
- also update units to SI
2022-06-01 17:42:22 +02:00
Yorik van Havre
d447d75882 Merged crowdin translations 2022-05-31 13:31:52 +02:00
Yorik van Havre
d3d96816ce Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
8676d67a87 merged crowdin translations 2022-05-28 12:16:47 +02:00
wmayer
a80d9e5ef8 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
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
469c36e3cc Mod: handle removed headers in PCH files for OCC 7.6 2022-05-21 06:28:07 +02:00
luz paz
132fdeade5 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
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
Ajinkya Dahale
40083d2b85 [FEM] Expand Add/Remove buttons in constraint tasks
Minor UI improvement. The behavior had changed when the buttons were changed
from `QPushButton` to `QToolButton` in c558fc7195.
2022-05-01 12:01:31 +03:00
wmayer
5ed2850a03 FEM: work around a crash with vtk9 on export of a vtkUnstructuredGrid 2022-04-28 23:14:51 +02:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
wmayer
922ce46506 Gui: add convenience functions to SelectionFilterGate 2022-04-19 15:04:14 +02:00
wmayer
5822568566 Fem: fix handling of transparency in ViewProviderFemPostObject 2022-04-16 14:39:10 +02:00
wmayer
93d745235c Fem: scale imported vtk data set 2022-04-15 21:07:40 +02:00
wmayer
aff08fd737 Fem: optimize ViewProviderFemPostObject::WritePointData 2022-04-15 12:24:23 +02:00
wmayer
f00a3f59c4 Fem: add a scale() function to FemPostPipeline 2022-04-15 12:08:47 +02:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
Uwe
0cd6fa3329 [skip CI] [FEM] ViewProviderFemPostFunction: add a comment 2022-04-13 02:44:34 +02:00
wmayer
1688991391 FEM: automatically detect a suitable scale factor for old project files 2022-04-12 15:24:21 +02:00
wmayer
a70d6fd7ec FEM: [skip ci] fix some typos 2022-04-12 11:03:03 +02:00
wmayer
c5ea25c949 FEM: [skip ci] add missing files to PreCompiled.h 2022-04-12 11:00:54 +02:00
wmayer
8ca3513441 FEM: use an SoJackManip for ViewProviderFemPostPlaneFunction 2022-04-12 10:16:54 +02:00
wmayer
82d5be5f6b 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
c4c0304518 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
wmayer
c3ec0b7c49 FEM: work around a crash with vtk9 on export of a vtkUnstructuredGrid 2022-04-05 16:27:16 +02:00
Uwe
f2f71d0dc7 [FEM] save all UI files using FreeCAD plugin for designer
in my FEM work the last weeks, I accidentally used a Qt Designer without a working FreeCAD plugin
2022-04-02 04:06:04 +02:00
wmayer
d36c59b3dc Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot 2022-04-01 16:40:34 +02:00
wmayer
e437893e99 Fem: support transparencies of the colour plot in ViewProviderFemPostObject 2022-04-01 10:40:48 +02:00
Uwe
6f4d0fa1ab [FEM] Material settings dialog: add missing slot and tooltips 2022-04-01 06:21:22 +02:00
Stefan Brüns
65187652dc [FEM] Avoid writing parse cache file to non-writable location
Creating the parsetab.py cache file in the same location as the tokrules
file will fail when FreeCAD is installed system wide.

Caching provides hardly any benefit here, as it only takes milliseconds,
and may even be negated by the additional required filesystem operations.

The debug output (parser.out) does not provide any useful information
for a regular FreeCAD user.

Fixes (part of) #6315.
2022-03-31 10:39:49 -05:00
Yorik van Havre
cb9dda7084 Merged crowdin translations 2022-03-31 11:41:28 +02:00
Uwe
a306ce5686 [FEM] fix crash with result filters
fixes #6683

We cannot cast the object type before checking it and in case the object is wrong, the filter cannot be processed and the user needs info about his mistake that he can fix this.

- also some code style fixes by MSVC
2022-03-31 05:14:01 +02:00