marioalexis
b2ad8d79de
Fem: Acquire the GIL before running Python code
2025-08-27 14:58:06 +02:00
wwmayer
df4486733e
Fem: Fix crash when writing mesh to z88 file
...
For the z88 export the FemMesh must be passed to its Python wrapper which will increase the counter upon construction and decrease it upon destruction. If the counter becomes 0 the FemMesh will be destroyed too which causes a crash.
To fix the crash the counter must be increased and safely decreased after the lifetime of the Python wrapper.
This fixes https://github.com/FreeCAD/FreeCAD/issues/23380
2025-08-27 14:57:50 +02:00
wwmayer
e055ce777d
Fem: Fix file suffixes
...
*i1.txt or *o2.txt are not valid suffixes for a file dialog. In the past (until 2018) the suffixes were set to *.txt but this has been changed with 65b1484b7.
To avoid creating invalid filenames the original suffixes are restored.
2025-08-26 22:22:56 -05:00
Max Wilfinger
3129bc9a1e
Fix UI strings reported on Crowdin ( #23297 )
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2025-08-25 06:10:53 +00:00
FEA-eng
b4974a6c32
FEM: Update write_step_output.py
2025-08-24 22:59:22 -05:00
Ian Abreu
300d971e98
Core: Fixing missing python bindings. ( #23054 )
...
* Adding missing python interfaces.
* fixing interface includes.
* attempting fix for CI build error related to path resolution.
* testing build
* More testing via Github Actions...
* renaming files
* fixing comparison operator.
* reverting...
* fixing CMakeLists
* fixing binding generation issue
2025-08-24 22:43:39 -05:00
Stefan Tröger
17ec624997
FEM: Extract postprocessing data only if available. Fixes #22193 ( #23127 )
...
* FEM: Extract postprocessing data only if available. Fixes #22193
* [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>
2025-08-24 22:16:29 -05:00
Max Wilfinger
ab5e9e0ded
Fix source string mistakes reported on Crowdin ( #23157 )
...
* Fix source string mistakes reported on Crowdin
* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftfunctions/upgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftfunctions/upgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/draftguitools/gui_downgrade.py
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
* Update src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
---------
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2025-08-24 20:51:32 -05:00
FEA-eng
f048ae8bd4
FEM: Update writeFenicsXDMF.py
2025-08-24 20:38:14 -05:00
luzpaz
73b055faa9
FEM: fix source comment typos
...
Found via codespell
2025-08-23 16:47:53 +02:00
Chris Hennes
1ac1d93069
Merge pull request #23164 from ickby/FEM_post_fixes_4
...
Fem: Fix for 3 issues
2025-08-19 19:00:55 -05:00
marioalexis
71d7a2b0c6
Fem: Fix module import in solver CalculiX object
2025-08-19 16:33:43 -05:00
pre-commit-ci[bot]
58afc1ea3c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-08-19 15:48:09 +00:00
Stefan Tröger
261b2205b5
FEM: Update color bar when switching postprocessing frames. Fixes #22284
2025-08-19 17:44:21 +02:00
Stefan Tröger
96ed82f0cf
FEM: Keep result pipeline and only reload data. Fixes #20542
2025-08-19 17:44:21 +02:00
Stefan Tröger
a8cd293d6a
FEM: Update color bar of children when switching postprocessing frames
2025-08-19 17:43:52 +02:00
FEA-eng
0ebd8e9d3c
FEM: Update commands.py
2025-08-19 08:05:02 +02:00
Chris Hennes
40b1ea294c
Update translations
2025-08-18 17:55:24 +02:00
Stefan Tröger
188ebaf6af
FEM: Fix post processing branch working with data extraction. Fixes #23030
2025-08-18 10:35:42 -05:00
FEA-eng
ce66713c57
FEM: Amplitude support for rigid body constraint ( #22898 )
...
* FEM: Update FemConstraintRigidBody.cpp
* FEM: Update FemConstraintRigidBody.h
* FEM: Update write_constraint_rigidbody_step.py
* FEM: Update write_amplitude.py
2025-08-18 10:35:23 -05:00
marioalexis
c9df4da05b
Fem: Add option to create conformal mesh from Netgen
2025-08-18 10:34:48 -05:00
marioalexis
07f5f50119
Fem: Create CalculiX output from .dat file - fixes #22983
2025-08-18 10:34:32 -05:00
marioalexis
79f840bd95
Fem: Set Elmer equation priority based on the order of definition - fixes #21351
2025-08-18 10:34:13 -05:00
FEA-eng
b8179953e0
FEM: Add support for CalculiX membrane elements ( #22912 )
...
* FEM: Update solver.py
* FEM: Update write_femelement_geometry.py
* FEM: Update write_mesh.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* FEM: Update solver_calculix.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-18 10:33:49 -05:00
Stefan Tröger
3dd39db073
FEM: Purge tool deletes all result objects. Fixes #23028
...
- Correctly deletes children of pipeline without error on delete
- Ensures visualizations are also deleted as they are result objects too
- Ensures purge tool uses a transaction, like all tools should
2025-08-17 18:29:31 +02:00
marioalexis
9a06277cfe
Fem: Fix VTK check version
2025-08-12 11:36:29 -05:00
marioalexis
46689e46d3
Fem: Fix VTK submodule import
2025-08-09 14:03:39 -05:00
Max Wilfinger
1850c5dc0f
Fix missed strings for UI consistency
...
Fix ellipsis rendering
2025-08-08 06:37:59 -05:00
FEA-eng
2eeff96e99
FEM: Update FemConstraintDisplacement.cpp
2025-08-07 18:36:53 -05:00
Ian Abreu
aee7354dea
Core: Generation of FEM interface bindings ( #22581 )
...
* Initial commit of FEM bindings.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* running black.
* Fixing imports.
* Update src/Mod/Fem/Gui/ViewProviderFemMeshPy.pyi
Co-authored-by: João Matos <joao@tritao.eu >
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: João Matos <joao@tritao.eu >
2025-08-04 10:48:00 -05:00
FEA-eng
79e6d8f016
FEM: Add support for amplitudes with CalculiX ( #22851 )
2025-08-01 15:22:01 -05:00
FEA-eng
c41c50e946
FEM: Add support for references for CalculiX's initial temperature ( #22864 )
...
* FEM: Update checksanalysis.py
* FEM: Update FemConstraintInitialTemperature.cpp
* FEM: Update meshsetsgetter.py
* FEM: Update writer.py
* FEM: Update write_constraint_initialtemperature.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* FEM: Update thermomech_bimetal.inp
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-01 14:03:37 -05:00
Chris Hennes
2e28b2bd63
FEM: Fix multiplication result converted to larger type
2025-07-21 22:04:10 -05:00
FEA-eng
9437396596
FEM: Add cavity radiation with CalculiX ( #22593 )
2025-07-20 21:26:03 -05:00
FEA-eng
2a42e87c57
FEM: Add hard contact with CalculiX ( #22513 )
2025-07-18 09:56:39 -05:00
FEA-eng
28e90e668c
FEM: Add offset property for CalculiX's shell section ( #22385 )
...
* FEM: Update element_geometry2D.py
* FEM: Update write_femelement_geometry.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* FEM: Update ccx_cantilever_ele_quad4.inp
* FEM: Update ccx_cantilever_ele_quad8.inp
* FEM: Update ccx_cantilever_ele_tria3.inp
* FEM: Update ccx_cantilever_ele_tria6.inp
* FEM: Update constraint_contact_shell_shell.inp
* FEM: Update material_multiple_bendingbeam_fivefaces.inp
* FEM: Update square_pipe_end_twisted_edgeforces.inp
* FEM: Update square_pipe_end_twisted_nodeforces.inp
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-14 18:10:00 +02:00
FEA-eng
2379cc28c1
FEM: Add thermal contact with CalculiX ( #22121 )
2025-07-14 11:03:43 -05:00
FEA-eng
0367c952dd
FEM: Update ElementGeometry1D.ui ( #22134 )
2025-07-07 18:16:22 +02:00
Kacper Donat
93a472c202
Merge pull request #22138 from chennes/compilerWarningCleanup20250622
...
Compiler warning cleanup
2025-07-06 16:32:08 +02:00
pre-commit-ci[bot]
43cb525948
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-07-03 10:45:55 +02:00
FEA-eng
c593d8e8c1
FEM: Update Command.cpp
2025-07-03 10:45:55 +02:00
FEA-eng
914b566677
FEM: Update commands.py
2025-07-03 10:45:55 +02:00
FEA-eng
8f8b1afc8c
FEM: Update TaskPostFrames.ui
2025-07-03 10:45:55 +02:00
FEA-eng
21eff41238
FEM: Update Command.cpp
2025-07-02 10:52:39 -05:00
pre-commit-ci[bot]
b6e51d6b69
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-06-30 10:35:42 -05:00
Max Wilfinger
3d154e64c7
Update src/Mod/Fem/femtaskpanels/task_constraint_centrif.py
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:42 -05:00
Max Wilfinger
8e69f876af
Update src/Mod/Fem/femtaskpanels/task_constraint_centrif.py
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:42 -05:00
Max Wilfinger
690fef734c
Update src/Mod/Fem/femcommands/commands.py
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:42 -05:00
Max Wilfinger
373b94ea12
Update src/Mod/Fem/Gui/DlgSettingsFemCcx.ui
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:42 -05:00
Max Wilfinger
de4763d1f7
Update src/Mod/Fem/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:42 -05:00