Commit Graph

4118 Commits

Author SHA1 Message Date
luz paz
3148ea6651 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
e7490c9ee1 L10N: Don't translate "..." string
Follow-up to db18325a39
2022-12-02 11:57:34 +01:00
luz paz
7310ff4bb8 FEM: remove trailing whitespace 2022-11-30 16:24:06 +01:00
Bernd Hahnebach
f0b151dc09 FEM: gmsh binary location on osx, add comment 2022-11-18 12:05:36 +01:00
Bernd Hahnebach
c0a45ec61e FEM: add standard path for gmsh on osx 2022-11-18 12:02:22 +01:00
wmayer
5225a5f904 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
7c5557b3cb Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
Uwe
e6b968397c [FEM] better safe Elmer executable path handling
- simplify and correct non-Windows case
2022-11-05 23:00:14 +01:00
Uwe
14953f66c8 [FEM] more safe Elmer executable path handling
- handle the case of mangles user.fcg file
2022-11-05 17:42:19 +01:00
fandaL
f9dfec020d FEM: femmesh2mesh add disp scale factor 2022-11-05 12:27:04 +01:00
Uwe
161be27191 [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
abb12aed2a [skip ci] [FEM] DlgSettingsFemCcx.ui: omit already set default values 2022-11-05 01:45:31 +01:00
Chris Hennes
2f7be9e782 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
a346884c90 [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
c5d9b8e4ed FEM: get LGTM silent 2022-10-23 21:43:04 +02:00
Bernd Hahnebach
062f9f6616 FEM: Python pep8 code formatting 2022-10-22 23:05:51 +02:00
Kuzemko Alexsandr
63174d487f [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
d8d55a0e88 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Uwe
81143c17a1 [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
63cc042299 [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
459f6bd476 [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
a96a3a505f 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
fce72e46c8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
wmayer
a5e2a5ace9 Fem: [skip ci] remove QRegExp 2022-10-06 13:55:21 +02:00
Yorik van Havre
8b7c61277a Merged crowdin translations 2022-10-06 12:48:05 +02:00
Yorik van Havre
d87fd4d97e Updated ts files 2022-10-06 12:16:32 +02:00
Uwe
33031555e5 [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
79d17d13bf [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
1527a731e7 [FEM] ViewProviderFem*: remove unused includes
- also sort includes
2022-10-03 15:01:37 +02:00
Uwe
8a77ea8c98 [FEM] ViewProvider*: remove unused includes
- also sort includes
2022-10-03 06:07:55 +02:00
Uwe
1a32e6ad9c [FEM] TaskFemConstrain*: remove unused includes
- also sort includes
2022-10-03 05:20:52 +02:00
Uwe
4b79b9ff56 [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
d067502a3b [FEM] Task*: remove unused includes
- also sort includes
2022-10-03 04:41:35 +02:00
Uwe
10e71da57f [FEM] Dlg* etc.: remove unused includes
- also sort includes
2022-10-03 03:57:21 +02:00
Uwe
1705e8b9d0 [FEM] FemResult* to end: remove unused includes
- also sort includes
2022-10-03 03:42:22 +02:00
Uwe
447cc015f0 [FEM] FemPost*: remove unused includes
- also sort includes
2022-10-03 03:15:04 +02:00
Uwe
3b4cbbb943 [FEM] FemMesh*: remove unused includes
- also sort includes
2022-10-03 00:47:24 +02:00
Uwe
02d5c6288c [FEM] App, FemConstraint*: remove unused includes - part 2/2
- also sort includes
2022-10-02 19:36:38 +02:00
Uwe
449d52ffa8 [FEM] App, FemConstraint*: remove unused includes - part 1
- also sort includes
2022-10-02 18:51:28 +02:00
fandaL
bfa9825080 FEM:fix remaining result object in memory in femmesh2mesh 2022-10-01 04:29:00 +02:00
marioalexis
72962ed923 Fem: Replace C cast 2022-09-18 11:06:51 -05:00
luzpaz
277ad4f7c4 [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
9dc9d6735a [FEM] added critical strain ratio functionality (#7467)
* added critical strain ratio functionality
2022-09-14 01:30:17 +02:00
wmayer
e205daa43d Mod: modernize C++: replace 'typedef' with 'using' 2022-08-29 16:21:46 +02:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
luz paz
1a7ddfdc24 Fix typos and whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +02:00
Uwe
0e24ed6342 [FEM] pipelines: distinguish stresses (#7246)
- it seems using the same Field name for a vector and a scalar result causes problems with ParaView, see https://forum.freecadweb.org/viewtopic.php?p=601775#p601775
 therefore rename the vectors
2022-08-23 02:22:52 +05:00
wmayer
5014bab534 Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
Uwe
ee68391bc8 [FEM] point filter: add units for flux results 2022-08-17 00:10:22 +02:00
Uwe
876b4ebb8e [FEM] Elmer: fix flux equation
- the Flux solver must be executed before Heat and Electrostatic
- the analysis can have multiple Flux equations -> write a unique solver name to case.sif
- the Flux equation can currently only take 2 possible values. Therefore provide them as enum
2022-08-16 03:49:26 +02:00