Commit Graph

4350 Commits

Author SHA1 Message Date
Chris Hennes
dd40387478 Update translations 2023-07-24 13:37:52 +00:00
Jed Brown
f26c8d02ab 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
3110980e6e Fix various typos 2023-07-15 11:17:45 +02:00
Petter Reinholdtsen
747f07bbdd 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
e1ca567172 Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
597a8fe927 FEM: Add missing translation string 2023-07-09 17:28:04 -05:00
Chris Hennes
0ca283cc3e Update translations 2023-07-06 08:20:59 -05:00
luzpaz
055447a702 Fix various typos 2023-07-01 10:08:21 +00:00
Chris Hennes
44c6fc0484 Merge pull request #9786 from yorikvanhavre/translations
Translations
2023-06-26 20:53:55 -05:00
Jed Brown
542223f5b6 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
90481b535a small gmsh panel tweak (#9569)
Co-authored-by: WandererFan <WandererFan@gmail.com>
2023-06-23 21:33:14 +02:00
Chris Hennes
aed7ffa089 FEM: Update license on box.FCStd, per forums discussion 2023-06-19 17:49:24 -05:00
Chris Hennes
7187cdc811 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
398de2d031 merged crowdin translations 2023-06-16 16:42:32 +02:00
Yorik van Havre
3c07d567cf Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
d61e60511a Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
617dc203e0 Merge pull request #9561 from luzpaz/FEM_ClippingPlaneAdd-fix
Fix FEM_ClippingPlaneAdd.svg (#9550)
2023-06-12 15:19:29 -05:00
Chris Hennes
0f9f0f29ca FEM: Add translation for Electromagnetic Constraints 2023-06-06 11:31:12 -05:00
Chris Hennes
05b85d0ddc Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
2686ad58b9 Update translations 2023-05-25 21:32:26 -05:00
Chris Hennes
452067c43c Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
2798528b8f Update translations 2023-05-18 07:49:08 -05:00
Abdullah Tahiri
260187f924 Fem: Remove Unused variable 2023-05-16 08:29:28 +02:00
luzpaz
b961d1a6c7 Fix FEM_ClippingPlaneAdd.svg (#9550)
SVG was incorrectly edited in a previous commit.  
Fixes #9550
2023-05-13 09:26:45 -04:00
wmayer
870c732d9d Fem: Create .qm out of .ts files 2023-05-07 08:46:14 +02:00
Chris Hennes
e30a768e0a Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
6d186183b2 Merge pull request #9456 from chennes/femCalculixCommandName
FEM: Adjust translation context for SolverCalculiX
2023-05-04 19:20:42 -05:00
Chris Hennes
5cdc06c8d4 FEM: Adjust translation context for SolverCalculiX 2023-05-02 09:07:55 -05:00
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -05:00
luzpaz
38a01939e0 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
ef82b99ddc FEM: Translate Solver Calculix 2023-04-21 15:54:51 -05:00
joha2
a6d374c0c6 FEM: XML/XDMF: removed trailing whitespaces 2023-04-20 22:42:50 +02:00
joha2
a7e7c65ffc 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
b59b7f3cea FEM: XML/XDMF: bumped year numbers in license comments 2023-04-20 22:42:50 +02:00
joha2
1f608f2376 Fem: feminout: XML Fenics format: fixed error in read function 2023-04-20 22:42:50 +02:00
joha2
2f0758a128 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
285b5d778f FEM: pep8 code formatting 2023-04-20 22:40:59 +02:00
Chris Hennes
6ab3679aaf FEM: Correct mis-spelled 'Elmer' 2023-04-20 22:39:37 +02:00
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
0fd764454d Updated ts files 2023-04-20 13:53:35 +02:00
Chris Hennes
5cb6e0733f 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
688fe0d2fb FEM: pep8, more code formatting 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
f3cb55ef30 FEM: code formatting, pep8, E265 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
9f99a46379 FEM: code formatting, pep8, E225 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
3f7eaac7a0 FEM: code formatting, pep8, 261 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
cf7f712c44 FEM: code formatting, pep8, 226 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
c05c2f4535 FEM: code formatting, pep8, 211 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
5c1fa3c24e FEM: code formatting, pep8, 302 2023-04-06 08:13:42 +02:00
wmayer
260ac4130d FEM: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
luzpaz
6bd40b5dcd Fem: fix trailing whitespace 2023-04-01 08:39:05 +02:00