wwmayer
8944fd7d5e
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
99ad338d4b
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 6fe8a881e .
To avoid creating invalid filenames the original suffixes are restored.
2025-08-26 22:22:56 -05:00
Max Wilfinger
04e9baf533
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
20f17f7e1b
FEM: Update write_step_output.py
2025-08-24 22:59:22 -05:00
Ian Abreu
8533b4fbb8
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
80f3b21184
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
9fc40b33de
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
60cb0d9d8b
FEM: Update writeFenicsXDMF.py
2025-08-24 20:38:14 -05:00
luzpaz
eb55e07b75
FEM: fix source comment typos
...
Found via codespell
2025-08-23 16:47:53 +02:00
Chris Hennes
5e4fe3a3c3
Merge pull request #23164 from ickby/FEM_post_fixes_4
...
Fem: Fix for 3 issues
2025-08-19 19:00:55 -05:00
marioalexis
d5b1d994a2
Fem: Fix module import in solver CalculiX object
2025-08-19 16:33:43 -05:00
pre-commit-ci[bot]
40ada2daf5
[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
7cd161f066
FEM: Update color bar when switching postprocessing frames. Fixes #22284
2025-08-19 17:44:21 +02:00
Stefan Tröger
c9ca852ad0
FEM: Keep result pipeline and only reload data. Fixes #20542
2025-08-19 17:44:21 +02:00
Stefan Tröger
b20fe6039e
FEM: Update color bar of children when switching postprocessing frames
2025-08-19 17:43:52 +02:00
FEA-eng
91712dc810
FEM: Update commands.py
2025-08-19 08:05:02 +02:00
Chris Hennes
3e1cc8302a
Update translations
2025-08-18 17:55:24 +02:00
Stefan Tröger
27c7eca010
FEM: Fix post processing branch working with data extraction. Fixes #23030
2025-08-18 10:35:42 -05:00
FEA-eng
b110102ca5
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
f8367d263e
Fem: Add option to create conformal mesh from Netgen
2025-08-18 10:34:48 -05:00
marioalexis
dc967cdb1c
Fem: Create CalculiX output from .dat file - fixes #22983
2025-08-18 10:34:32 -05:00
marioalexis
576fed8362
Fem: Set Elmer equation priority based on the order of definition - fixes #21351
2025-08-18 10:34:13 -05:00
FEA-eng
052ff9237b
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
70685aaa5d
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
f7132d7d9b
Fem: Fix VTK check version
2025-08-12 11:36:29 -05:00
marioalexis
fbc4f450be
Fem: Fix VTK submodule import
2025-08-09 14:03:39 -05:00
Max Wilfinger
70f4221993
Fix missed strings for UI consistency
...
Fix ellipsis rendering
2025-08-08 06:37:59 -05:00
FEA-eng
f371622d6f
FEM: Update FemConstraintDisplacement.cpp
2025-08-07 18:36:53 -05:00
Ian Abreu
4aa0aff389
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
a83f34e31c
FEM: Add support for amplitudes with CalculiX ( #22851 )
2025-08-01 15:22:01 -05:00
FEA-eng
fb4c739619
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
1237fbd391
FEM: Fix multiplication result converted to larger type
2025-07-21 22:04:10 -05:00
FEA-eng
949767ea69
FEM: Add cavity radiation with CalculiX ( #22593 )
2025-07-20 21:26:03 -05:00
FEA-eng
fa694ff4c5
FEM: Add hard contact with CalculiX ( #22513 )
2025-07-18 09:56:39 -05:00
FEA-eng
119b8cffd7
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
18acfabea6
FEM: Add thermal contact with CalculiX ( #22121 )
2025-07-14 11:03:43 -05:00
FEA-eng
5f610d32ab
FEM: Update ElementGeometry1D.ui ( #22134 )
2025-07-07 18:16:22 +02:00
Kacper Donat
3d3d3ad6d2
Merge pull request #22138 from chennes/compilerWarningCleanup20250622
...
Compiler warning cleanup
2025-07-06 16:32:08 +02:00
pre-commit-ci[bot]
f0803a620f
[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
489eb47050
FEM: Update Command.cpp
2025-07-03 10:45:55 +02:00
FEA-eng
52d36374db
FEM: Update commands.py
2025-07-03 10:45:55 +02:00
FEA-eng
67c7c97577
FEM: Update TaskPostFrames.ui
2025-07-03 10:45:55 +02:00
FEA-eng
556fc32c30
FEM: Update Command.cpp
2025-07-02 10:52:39 -05:00
pre-commit-ci[bot]
15a41d4274
[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
3f6cc47fa8
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
1db08ca0b8
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
58b036fcb9
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
4572a5f126
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
401163cb83
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
Max Wilfinger
033737d664
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