Commit Graph

783 Commits

Author SHA1 Message Date
marioalexis
e84eb920dc Fem: Add frd format converter to VTK 2025-02-22 14:46:50 -03:00
Joao Matos
27ebc68a11 CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
tritao
9636068460 Base: Move zipios library to 3rdParty folder. 2025-02-14 13:08:28 -06:00
Benjamin Nauck
8cc98b9a88 Mod: Use new addObject<T>(...) that requires additional changes 2025-02-10 18:35:38 +01:00
Benjamin Nauck
a1c5767643 Mod: Use new addObject<T>(...) using regex 2025-02-10 18:35:38 +01:00
Benjamin Nauck
cb4ee4737d Simplify logic using freecad_dynamic_cast 2025-01-27 16:08:19 +01:00
Benjamin Nauck
45c997f40a Manual changes to improve isDerivedFrom usage 2025-01-27 16:08:19 +01:00
Benjamin Nauck
dd6aa9f3c7 Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Tobias Frost
7a5a3d1ffc spelling fixes (#18688)
* Fixes spelling of "Allow to" to "Allow one to"

and those variants:
Allows to -> Allows one to
allow to -> allow one to
allows to -> allows one to

* Fix "Let's -> Lets"

(and lower case variant.)

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

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

* Update src/3rdParty/salomesmesh/inc/MED_Wrapper.hxx

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Base/PyObjectBase.cpp
Update src/App/ExtensionContainer.h
Update src/App/PropertyContainer.h

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Use gerund in user-facing texts.

* Use gerund for two more user-facing strings.

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Co-authored-by: Tobias Frost <tobi@debian.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-01-13 11:22:20 -06:00
Chris Hennes
9459b85081 Merge pull request #18704 from wwmayer/fix_line_dir
App: Add methods to get base and direction of datum element
2025-01-13 10:56:55 -06:00
marioalexis
3d830b5b2e Fem: Add suppressible extension to objects - fixes #12115 2025-01-06 17:56:30 +01:00
wmayer
b3a1fd9676 App: Add methods to get base and direction of datum element
Add the methods DatumElement::getBasePoint() and DatumElement::getDirection() to hide implementation details and guarantee consistent behaviour.

Using the methods fixes several regressions in:
* Constraint::getDirection
* PolarPattern::getTransformations
2025-01-02 13:24:57 +01:00
marioalexis
a58c3caac1 Fem: Fix mesh export to vtk formats 2024-12-20 11:46:46 -05:00
marioalexis84
d1e65a47f3 Fem: Add smoothing filter extension to contours filter (#18088)
* Fem: Add smoothing filter extension to contours filter
2024-12-16 10:40:02 -06: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
Chris Hennes
7bd413066f Update src/Mod/Fem/App/FemPostPipeline.cpp 2024-12-06 11:29:37 -06:00
marioalexis
c01e9ed63b Fem: Fix FemPostPipeline base class 2024-12-03 11:45:41 -03:00
PaddleStroke
3c1358da10 Core: Rename 'OriginFeature' file to 'Datums' 2024-11-26 15:36:48 +01:00
marioalexis
98a15bcc9d Fem: Avoid legacy Netgen meshing if there is no referenced shape - fixes #17814 2024-11-22 12:24:46 -05:00
mosfet80
8f0e61bffd [Mod] clean FemMesh.cpp
Removed dead code
2024-11-18 18:01:59 +01:00
marioalexis
40531158f2 Fem: Enable expression for the heat flux constraint task panel 2024-10-10 20:33:54 -05:00
marioalexis
5ff4d427a5 Fem: Use reference subshape transformation on the underlying geometry 2024-09-23 08:11:15 -05:00
marioalexis
5a7bc6101b Fem: Add set of mesh elements from a list 2024-09-15 20:47:09 -03:00
wmayer
3e33f184b4 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
marioalexis
ad28897c09 Fem: Disconnect connection when destroying Constraint object 2024-08-24 19:51:24 -05:00
marioalexis
56001d3f74 Fem: Add FemMeshShapeBaseObject and fix FemMeshShapeObject meshing 2024-07-28 16:27:20 -03:00
marioalexis
9a2c9564de Fem: Import/export 1D elements from mesh to vtk - fixes #15541 2024-07-22 11:10:05 -05:00
marioalexis
789353b52a Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556 2024-07-22 10:50:15 -05:00
Chris Hennes
6351313554 FEM: Add QStandardPaths to PreCompiled.h 2024-07-10 09:08:33 -05:00
hyx0329
b5ed48f564 Fem: fix and improve searching 3rd-party binaries 2024-07-10 09:08:33 -05:00
marioalexis
0bc2717788 Fem: Check null shape in constraint bearing 2024-07-08 10:55:08 -05:00
Chris Hennes
5c83297e80 Merge pull request #14793 from lyphrowny/reformat_fem_src
FEM: Reformat fem .py sources
2024-07-01 11:19:29 -05:00
Chris Hennes
6f277af10a FEM: Remove set but unused variable 2024-06-24 18:17:11 +02:00
lyphrowny
cc8a0c529c FEM: remove trailing spaces and newlines when writing input files for solvers 2024-06-23 16:27:20 +03:00
wmayer
47a9ec8481 FEM: Fix linking errors
The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like.
Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
2024-06-18 18:14:10 +02:00
wmayer
6c0f42bb15 Fem: Fix copyright notices
Do not clutter copyright notices with changes made to a file. That's the task of the VCS
2024-06-18 18:01:22 +02:00
Chris Hennes
c726198106 Merge branch 'main' into erase-version-4 2024-06-17 11:10:12 -05:00
marioalexis
f8027a16d0 Fem: Force z=0 for plane stress, plane strain and axisymmetric elements in writeABAQUS - fixes #12875 2024-06-17 10:57:31 -05:00
wmayer
9b198c7704 MSVC: Fix warnings and build failure 2024-06-12 10:36:58 -05:00
wmayer
dd816a635c Fix several compiler warnings
* variable 'xAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* variable 'yAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* variable 'zAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* unused variable 'base' [-Werror,-Wunused-variable]
* unused variable 'extrude' [-Werror,-Wunused-variable]
2024-06-11 11:42:12 +02:00
marioalexis
f17ad4f143 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
536a2b0aad Fem: Move functions to Tools class 2024-06-05 13:12:25 -03:00
wmayer
4185605d5e clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
dzid26
61e5c27065 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
pre-commit-ci[bot]
2b619949eb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-22 10:21:10 +02:00
mos
bf1f16ac53 [fem] clean
clean unused code
2024-05-22 10:21:10 +02:00
marioalexis
a73d081a46 Fem: Load heat flux from CalculiX results - fixes #12117 2024-05-20 11:00:19 -05:00
marioalexis
b799b390b9 Fem: Change properties of the rigid body constraint 2024-05-16 12:51:37 -05:00
FEA-eng
3739d06528 Fem: Update writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
FEA-eng
ab6afeb261 Fem: Update properties of ConstraintRigidBody 2024-05-16 12:51:37 -05:00