Yorik van Havre
ec6b14bbee
Merged crowdin translations
2023-01-09 14:06:28 +01:00
wmayer
91613cc24c
Mod: fix some compiler warnings:
...
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
lorenz
85f9ab3cf3
FEM: femmesh: fix AttributeError: module 'numpy' has no attribute 'int'
2022-12-28 12:07:51 +01:00
Yorik van Havre
89147ef8de
Regenerated ts files using lupdate6.6
2022-12-22 15:39:42 +01:00
Yorik van Havre
3376e387da
Merged crowdin translations
2022-12-20 10:01:00 +01:00
Yorik van Havre
d206d5cd1f
Updated ts files
2022-12-20 09:31:25 +01:00
luz paz
07d34012dd
L10N: Don't translate strings that dont contain any alphabetic character
...
Per 0penBrain's suggestion
2022-12-02 11:57:34 +01:00
luz paz
772fe258b9
L10N: Don't translate "..." string
...
Follow-up to 1d001afcc7
2022-12-02 11:57:34 +01:00
luz paz
4b25b38b7d
FEM: remove trailing whitespace
2022-11-30 16:24:06 +01:00
Bernd Hahnebach
c8b2215bed
FEM: gmsh binary location on osx, add comment
2022-11-18 12:05:36 +01:00
Bernd Hahnebach
987159dd7f
FEM: add standard path for gmsh on osx
2022-11-18 12:02:22 +01:00
wmayer
c1bfec1d1a
Fem: [skip ci] include Python.h before vtk headers to fix a warning with clang/MSYS2
2022-11-08 10:45:23 +01:00
luz paz
e75ffa0566
Fix typos in TD and FEM source comments/documentation [skip ci]
2022-11-07 08:03:39 -05:00
Uwe
0ae0158bcf
[FEM] better safe Elmer executable path handling
...
- simplify and correct non-Windows case
2022-11-05 23:00:14 +01:00
Uwe
30c76a6f34
[FEM] more safe Elmer executable path handling
...
- handle the case of mangles user.fcg file
2022-11-05 17:42:19 +01:00
fandaL
df9c800d38
FEM: femmesh2mesh add disp scale factor
2022-11-05 12:27:04 +01:00
Uwe
75146bdd7b
[FEM] safer Elmer executable path handling
...
- the code already assured that the number of used CPU cores for Elmer can only be > 1 if a valid path to the '_mpi' executable is specified. However, we can have the case that Elmer was uninstalled, then the path validity checker returns an empty path and then the check for the number of cores but handle this case. THis PR does exactly this.
- also fix typos and improve error message
- also add missing save guard for hardware check
2022-11-05 02:20:30 +01:00
Uwe
2c6a2422eb
[skip ci] [FEM] DlgSettingsFemCcx.ui: omit already set default values
2022-11-05 01:45:31 +01:00
Chris Hennes
1fac3fead0
cMake: Add support for compiling against Qt6 ( #7647 )
...
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.
Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
Uwe
f5339093b3
[skip CI] [FEM] equation.py: fix a tooltip
...
- the highest priority is computed first, the Wiki page is already correct
2022-10-24 15:21:54 +02:00
Bernd Hahnebach
e77bf30a8e
FEM: get LGTM silent
2022-10-23 21:43:04 +02:00
Bernd Hahnebach
f46ed721c6
FEM: Python pep8 code formatting
2022-10-22 23:05:51 +02:00
Kuzemko Alexsandr
2eb55d48c7
[App] Fix of untranslated first document's name ( #7156 )
...
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
Yorik van Havre
1ae780d3b1
Merged crowdin translations
2022-10-17 15:12:16 +02:00
Uwe
d11ed8fb80
[FEM] HypothesisPy: add inclusion comment
...
- add comments to avoid in future cases like this: https://github.com/FreeCAD/FreeCAD/issues/7585#issuecomment-1280170176
- also include explicitly SMESH_Version.h as safe guard in case HypothesisPy.h might in future be included in a different position
2022-10-17 04:12:07 +02:00
Uwe
58641334b6
[FEM] HypothesisPy.cpp: fox compiler warning
...
- see https://forum.freecadweb.org/viewtopic.php?p=633192#p633192
2022-10-15 19:11:06 +02:00
Uwe
8a18c84143
[FEM] commands.py: reformat a string
...
- just to be consistent with other strings (found by reviewing https://github.com/FreeCAD/FreeCAD-translations/issues/197 )
2022-10-14 02:12:00 +02:00
Uwe
a25bdf15b9
use explicit prefix std:: for vectors
...
- also add potentially missing include
- this commit is an attempt to fix #7585
2022-10-11 01:44:24 +02:00
Yorik van Havre
9c24f0f5b8
Merged crowdin translations
2022-10-10 11:06:08 +02:00
wmayer
7a5616ad9b
Fem: [skip ci] remove QRegExp
2022-10-06 13:55:21 +02:00
Yorik van Havre
4ca1b838a9
Merged crowdin translations
2022-10-06 12:48:05 +02:00
Yorik van Havre
3d75b4fb74
Updated ts files
2022-10-06 12:16:32 +02:00
Uwe
c63ce3f10b
[FEM] ViewProviderFemConstrain*: remove unused includes - part 2/2
...
- also sort includes
- also fix warnings about too long lines
2022-10-03 18:14:51 +02:00
Uwe
a134cfea93
[FEM] ViewProviderFemConstrain*: remove unused includes - part 1
...
- also sort includes
- also fix warnings about too long lines
2022-10-03 17:10:36 +02:00
Uwe
6757d1e853
[FEM] ViewProviderFem*: remove unused includes
...
- also sort includes
2022-10-03 15:01:37 +02:00
Uwe
5ce791ffdf
[FEM] ViewProvider*: remove unused includes
...
- also sort includes
2022-10-03 06:07:55 +02:00
Uwe
208b017253
[FEM] TaskFemConstrain*: remove unused includes
...
- also sort includes
2022-10-03 05:20:52 +02: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
ab1951d099
[FEM] Dlg* etc.: remove unused includes
...
- also sort includes
2022-10-03 03:57:21 +02:00
Uwe
ae14c761e6
[FEM] FemResult* to end: remove unused includes
...
- also sort includes
2022-10-03 03:42:22 +02:00
Uwe
4fd3612c1c
[FEM] FemPost*: remove unused includes
...
- also sort includes
2022-10-03 03:15:04 +02:00
Uwe
4f882c0c64
[FEM] FemMesh*: remove unused includes
...
- also sort includes
2022-10-03 00:47:24 +02:00
Uwe
0fb0dd57ad
[FEM] App, FemConstraint*: remove unused includes - part 2/2
...
- also sort includes
2022-10-02 19:36:38 +02:00
Uwe
a2c9c3e3f0
[FEM] App, FemConstraint*: remove unused includes - part 1
...
- also sort includes
2022-10-02 18:51:28 +02:00
fandaL
0a11ed0288
FEM:fix remaining result object in memory in femmesh2mesh
2022-10-01 04:29:00 +02:00
marioalexis
834f79845b
Fem: Replace C cast
2022-09-18 11:06:51 -05:00
luzpaz
b34d200c54
[FEM] tweak function docstrings in resulttools.py
...
- migrate to pep8 compatible docstrings
- tweak source comment whitespace
2022-09-16 03:12:50 +02:00
HarryvL
3c3e2f63e6
[FEM] added critical strain ratio functionality ( #7467 )
...
* added critical strain ratio functionality
2022-09-14 01:30:17 +02:00
wmayer
bff8a73ba6
Mod: modernize C++: replace 'typedef' with 'using'
2022-08-29 16:21:46 +02:00