Commit Graph

4356 Commits

Author SHA1 Message Date
wmayer
2a88c7c7df modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
wmayer
39e53e5eb0 Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
luzpaz
16e083c8f3 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
eb49318ad6 Fem: modernize C++: use override 2023-08-04 17:09:53 +02:00
Yorik van Havre
ebc65ee713 Merged crowdin translations 2023-07-26 11:05:11 +02:00
Yorik van Havre
6bfeb5ff53 Update ts files 2023-07-26 11:04:24 +02:00
Chris Hennes
6838740153 Update translations 2023-07-24 13:37:52 +00:00
Jed Brown
9e18bd2d00 FEM: fix gmsh relative paths
Relative paths appearing in Gmsh .geo files are relative to the .geo
file, not relative to the cwd when the gmsh executable was invoked. This
is okay when using absolute paths with the default "Temporary
directories" mode, but if one selects (in Preferences -> FEM) "Beside
.FCStd file", then relative paths are written to the .geo file. This
causes a (suppressed in FreeCAD output) warning from Gmsh that the brep
file is missing as well as the error:

Unexpected error when creating mesh: File to load not existing or not readable: partname/FEMMeshGmsh/BaseFeature_Mesh.unv

In this commit we just use relative paths, which is also convenient if
users move these files elsewhere (e.g., to work directly with advanced
features in Gmsh).
2023-07-20 10:46:49 -05:00
luzpaz
525eacca39 Fix various typos 2023-07-15 11:17:45 +02:00
Petter Reinholdtsen
a480e5e225 Skip open_de9b3fb438 s390x to avoid OOM.
The load of the current file in test_open_head is fine, but
open_de9b3fb438 goes into an OOM even in huge (e.g. 10GB) systemd.
This probably needs a proper fix by upstream in regard to the migration
modules that load the old code, but until then (since the rest works on s390x)
this unblocks the package self-test in Debian & Ubuntu.

Patch by Christian Ehrhardt <christian.ehrhardt@canonical.com>.

This is Debian bug https://bugs.debian.org/984952 and Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1918474.

Been part of the Debian edition of FreeCAD since 2021.
2023-07-10 09:53:20 -05:00
Chris Hennes
6f97b74fdb Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
b529a0a67c FEM: Add missing translation string 2023-07-09 17:28:04 -05:00
Chris Hennes
97771dc673 Update translations 2023-07-06 08:20:59 -05:00
luzpaz
19d0a11c40 Fix various typos 2023-07-01 10:08:21 +00:00
Chris Hennes
86d77c2814 Merge pull request #9786 from yorikvanhavre/translations
Translations
2023-06-26 20:53:55 -05:00
Jed Brown
d5292d7b0a FEM: let gmsh infer format from file name
I sometimes use the FEM workbench to create meshes for a problem that
I'll solve with an external FE solver that doesn't yet have workbench
integration, or to prepare a Gmsh file for tweaks from directly running
Gmsh. The .unv format is pretty limited on technical grounds so I rename
the file to .msh (can express everything Gmsh can) or a
parallel-friendly format. Explicitly setting Mesh.Format = 2 is
confusing because this line also needs to be fixed (or deleted) when
renaming the output file name.
2023-06-23 21:35:36 +02:00
grubertechnic
45c009dff7 small gmsh panel tweak (#9569)
Co-authored-by: WandererFan <WandererFan@gmail.com>
2023-06-23 21:33:14 +02:00
Chris Hennes
d2ee5e3525 FEM: Update license on box.FCStd, per forums discussion 2023-06-19 17:49:24 -05:00
Chris Hennes
bdc0077497 FEM: Remove improperly licensed files
The original authors of these files could not be contacted to correct the licensing mistake in the FCStd files, so the test cases are removed.
2023-06-19 17:47:22 -05:00
Yorik van Havre
0977aac30d merged crowdin translations 2023-06-16 16:42:32 +02:00
Yorik van Havre
23491db16b Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
62434ea85b Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
f733aeeb9b Merge pull request #9561 from luzpaz/FEM_ClippingPlaneAdd-fix
Fix FEM_ClippingPlaneAdd.svg (#9550)
2023-06-12 15:19:29 -05:00
Chris Hennes
291b0f3aa6 FEM: Add translation for Electromagnetic Constraints 2023-06-06 11:31:12 -05:00
Chris Hennes
e405a0570a Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
a2d457e88f Update translations 2023-05-25 21:32:26 -05:00
Chris Hennes
20f073e84e Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
0b41c4a8a8 Update translations 2023-05-18 07:49:08 -05:00
Abdullah Tahiri
2eb7badb1e Fem: Remove Unused variable 2023-05-16 08:29:28 +02:00
luzpaz
9ce14bd93b Fix FEM_ClippingPlaneAdd.svg (#9550)
SVG was incorrectly edited in a previous commit.  
Fixes #9550
2023-05-13 09:26:45 -04:00
wmayer
7bb204b790 Fem: Create .qm out of .ts files 2023-05-07 08:46:14 +02:00
Chris Hennes
1a4b85121b Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
d30946b4e5 Merge pull request #9456 from chennes/femCalculixCommandName
FEM: Adjust translation context for SolverCalculiX
2023-05-04 19:20:42 -05:00
Chris Hennes
1f78e35916 FEM: Adjust translation context for SolverCalculiX 2023-05-02 09:07:55 -05:00
Chris Hennes
fb60e9a0e6 Update translations 2023-04-29 11:10:27 -05: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
Chris Hennes
e9250684db FEM: Translate Solver Calculix 2023-04-21 15:54:51 -05:00
joha2
bfb3efbc72 FEM: XML/XDMF: removed trailing whitespaces 2023-04-20 22:42:50 +02:00
joha2
1e49852fa8 FEM: XML/XDMF: Console.Print* strings to F-strings (where necessary) and reformated them to avoid long lines 2023-04-20 22:42:50 +02:00
joha2
5d30b30c5e FEM: XML/XDMF: bumped year numbers in license comments 2023-04-20 22:42:50 +02:00
joha2
400048b22d Fem: feminout: XML Fenics format: fixed error in read function 2023-04-20 22:42:50 +02:00
joha2
d10c941d1f Fem: feminout: write XML/XDMF Fenics formats: fixed some errors in written meshs read by meshio library
* XDMF: capital "Version" in tag
* XDMF: capitalizing topology names
* XML: removed data tag throwing a warning in meshio
2023-04-20 22:42:50 +02:00
Bernd Hahnebach
708cbde90e FEM: pep8 code formatting 2023-04-20 22:40:59 +02:00
Chris Hennes
2815620fa5 FEM: Correct mis-spelled 'Elmer' 2023-04-20 22:39:37 +02:00
Yorik van Havre
33c2e485e3 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
d96042fc24 Updated ts files 2023-04-20 13:53:35 +02:00
Chris Hennes
c094c88308 FEM: Fix translation of long phrase
The lupdate tool does not correctly parse Python string concatenation. Also, .format() calls should be made on the string returned from tr(), not on the string going into it.
2023-04-16 21:13:54 -05:00
Bernd Hahnebach
8ea5d9bac1 FEM: pep8, more code formatting 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
4fe41c5372 FEM: code formatting, pep8, E265 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
4b71146e5d FEM: code formatting, pep8, E225 2023-04-06 08:13:42 +02:00