Commit Graph

4824 Commits

Author SHA1 Message Date
FEA-eng
1c35d08d87 FEM: Allow shell faces for tie constraint (#18325)
FEM: Update meshtools.py
2024-12-09 19:21:09 +01:00
marioalexis
babc88f40d Fem: Add options for Elmer solver output file - fixes #17569 2024-12-09 12:06:42 -05:00
Max Wilfinger
2f42341481 Merge pull request #18268 from marioalexis84/fem-post_pipeline
Fem: Fix FemPostPipeline base class
2024-12-08 21:56:25 +01:00
FEA-eng
f1995ef76c FEM: ResultsPurge - delete all results objects including pipelines and filters (#18328)
* FEM: Update resulttools.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* FEM: Update resulttools.py

* FEM: Update commands.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* FEM: Update resulttools.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-07 07:17:02 +01:00
Kacper Donat
651cefde4d Gui: Use getObject<T>() helpers in classes
This commit is generated using regex based find and replace:

```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```

To regenerate if needed.
2024-12-06 18:29:39 +01:00
Chris Hennes
7bd413066f Update src/Mod/Fem/App/FemPostPipeline.cpp 2024-12-06 11:29:37 -06:00
Kacper Donat
deb15a57e4 Gui: Add getObject<T>() helpers to various classes
Obtaining specific kind of document object is very common task. This
commit introduces handy helper which makes that a lot easier.
2024-12-06 18:19:53 +01:00
marioalexis
726eee50c2 Fem: Fix references assignment in centrif example 2024-12-06 12:12:55 -05:00
Chris Hennes
b87bdc1f84 Merge pull request #18126 from Ondsel-Development/core_LCS2
Core datums : Card2 : Core implementation
2024-12-06 12:12:04 -05:00
marioalexis
7411ffd199 Fem: Add box and elliptical beam section types - fixes #12614 2024-12-06 11:44:05 -05:00
FEA-eng
870e260bc9 FEM: Update checksanalysis.py 2024-12-05 21:21:17 +01:00
luzpaz
96c838f3b9 Fix various typos
Found with codespell
2024-12-04 23:18:00 -05:00
marioalexis
c01e9ed63b Fem: Fix FemPostPipeline base class 2024-12-03 11:45:41 -03:00
Ladislav Michl
0ee3c9f8e6 Base: Drop QString-std::string conversion functions from Tools
Convenience helpers function Tools::toStdString and Tools::fromStdString
were implemented for Qt4 or older to perform utf8 aware conversion as
QString::toStdString/QString::fromStdString were using toAscii/fromAscii
internally (see https://dreamswork.github.io/qt4/classQString.html).

Since Qt5 QString uses toUtf8/fromUTf8, which makes the helper functions
obsolete (see https://doc.qt.io/qt-5/qstring.html#fromStdString).
2024-12-02 23:30:53 -05:00
PaddleStroke
3c1358da10 Core: Rename 'OriginFeature' file to 'Datums' 2024-11-26 15:36:48 +01:00
Chris Hennes
e3f6fc5708 Merge pull request #14362 from je-cook/fix_deprecated_import_style
Fem: Fix deprecated import style
2024-11-25 12:02:11 -05:00
marioalexis
96cc00b74e Fem: Check empty remaining femelements array - fixes #17570 2024-11-25 12:01:44 -05:00
marioalexis
98a15bcc9d Fem: Avoid legacy Netgen meshing if there is no referenced shape - fixes #17814 2024-11-22 12:24:46 -05:00
marioalexis
be8dfbfc7e Fem: Add preference entry to set Gmsh log verbosity - fixes #17673 2024-11-22 12:24:11 -05:00
Chris Hennes
b15bcbf8d1 Merge pull request #17170 from marioalexis84/fem-netgen_local_refinement
Fem: Add local refinement and second order linear for Netgen meshing
2024-11-22 12:05:39 -05:00
mosfet80
8f0e61bffd [Mod] clean FemMesh.cpp
Removed dead code
2024-11-18 18:01:59 +01:00
marioalexis
f638c38dfd Fem: Set mesher task panel log text to read-only 2024-11-16 14:31:48 +01:00
marioalexis
38bf51c768 Fem: Adapt FemPostObject transparency to changes made in #ffa3fa5b5a 2024-11-16 12:49:47 +01:00
marioalexis
a41f38bd8a Fem: Minor change to Mesh task panels and renaming Gmsh mesh properties group 2024-11-15 18:46:58 +01:00
Max Wilfinger
616028efe5 Merge pull request #15957 from hasecilu/fix/capitalization
TechDraw: Fix capitalization of 2D and 3D
2024-11-15 18:37:47 +01:00
Chris Hennes
f2cc3f40da Merge branch 'main' into fix_deprecated_import_style 2024-11-15 12:09:07 -05:00
Roy-043
a8533ca58e FEM: FEM_CreateElementsSet menu text in sentence case 2024-11-15 11:56:32 -05:00
Yorik van Havre
8486a6ded4 Merge pull request #17778 from marioalexis84/fem-material_editor
Fem: Use new material editor in materials task panels - fixes #16814
2024-11-11 17:58:49 +01:00
Yorik van Havre
a9b4cb5611 Translations (#17725)
* Translations: updated ts files

* Translations: merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-11 17:01:52 +01:00
marioalexis
d34b5c6fda Fem: Save empty UUID if customizing material from task panel 2024-11-11 11:02:30 -03:00
marioalexis
4da4b744f0 Fem: Use quantity spin boxes in material task panel 2024-11-10 22:09:33 -03:00
marioalexis
5b1155cb2e Fem: Use new material editor in materials task panels - fixes #16814 2024-11-10 12:33:28 -03:00
marioalexis
854ce9e0b8 Fem: Fix spelling in Netgen enumeration property 2024-11-09 10:24:32 -05:00
marioalexis
40debf7daf Fem: Save empy mesh if last step is AnalyzeGeometry in Netgen mesher 2024-11-09 10:24:32 -05:00
marioalexis
6328c7ece1 Fem: Add second order linear option to Netgen mesh 2024-11-07 23:05:27 -03:00
marioalexis
795730382a Fem: Netgen local refinement 2024-11-07 23:05:27 -03:00
marioalexis
bbb4f2664e Fem: Prevent race condition between signals in timer update 2024-11-06 14:41:23 -05:00
Eric Price
c9874294af FEM: Allow assigning materials to compounds to avoid having to assign the same material by hand to all subsolids (#17562)
* fix #17561

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* added missing code to have it also work without MeshRegions

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-05 10:15:21 -06:00
marioalexis
4c50f29442 Fem: Print real-time log messages in mesher task panels - fixes #17594 2024-11-04 13:32:51 -05:00
marioalexis
8865450a3e Fem: fix Gmsh analysis mesh groups - fixes #17427 2024-10-31 15:28:44 -05:00
marioalexis
7558282580 Fem: Remove unnecessary system name check 2024-10-28 17:11:05 +01:00
marioalexis
3be681ef62 Fem: Do not try to set EndStep property for legacy Netgen 2024-10-25 12:11:12 -05:00
marioalexis
3a56a8a004 Fem: Set startupinfo for gmsh subprocess - fixes #17298 2024-10-21 20:59:42 -05:00
Yorik van Havre
c295ac4eb5 Merge pull request #17197 from marioalexis84/fem-netgen_parameters
Fem: Netgen meshing parameters improvements
2024-10-21 17:43:11 +02:00
marioalexis
a22f1241cb Fem: Do not use main window widget from another thread - fixes #17255 2024-10-16 08:31:50 -05:00
marioalexis
ba72cc20e3 Fem: Netgen meshing parameters improvements 2024-10-16 10:25:36 -03:00
marioalexis
94f96ff562 Fem: Set converted property value after property type change 2024-10-16 10:25:36 -03:00
pre-commit-ci[bot]
dda69c8b60 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-10-14 17:56:08 +02:00
Yorik van Havre
e8fc9cf45f crowdin translations 2024-10-14 17:56:08 +02:00
Yorik van Havre
6c08b5a63c updated ts files 2024-10-14 17:56:08 +02:00