Commit Graph

790 Commits

Author SHA1 Message Date
tritao
cdab9c7837 CMake: Cleanup targets with transitive dependencies 2025-03-17 12:12:06 +00:00
bofdahof
1c4ecf576b FEM: apply std::ranges 2025-03-16 17:16:30 -05:00
PaddleStroke
a7489fa69a FEM Update PreCompiled.h to fix build 2025-02-25 16:58:25 +00:00
Benjamin Bræstrup Sayoc
ee1c73cd04 Build: suppress warnings from 3rd party libraries
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.

https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Chris Hennes
1b32e287b2 Merge pull request #19426 from marioalexis84/fem-ccx_vtk
Fem: Add frd format converter to VTK
2025-02-24 16:43:07 +00:00
Joao Matos
15076cb504 Core: Move PyCXX library to src/3rdParty. 2025-02-24 16:36:06 +00:00
marioalexis
fc22f5d2be Fem: Add metadata info to blocks 2025-02-22 14:46:50 -03:00
marioalexis
da614ecc2c Fem: Add frd format converter to VTK 2025-02-22 14:46:50 -03:00
Joao Matos
aace8f7bee CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
tritao
80b299bb88 Base: Move zipios library to 3rdParty folder. 2025-02-14 13:08:28 -06:00
Benjamin Nauck
edb4817872 Mod: Use new addObject<T>(...) that requires additional changes 2025-02-10 18:35:38 +01:00
Benjamin Nauck
265b58c034 Mod: Use new addObject<T>(...) using regex 2025-02-10 18:35:38 +01:00
Benjamin Nauck
5410123f0d Simplify logic using freecad_dynamic_cast 2025-01-27 16:08:19 +01:00
Benjamin Nauck
97bf3c5e33 Manual changes to improve isDerivedFrom usage 2025-01-27 16:08:19 +01:00
Benjamin Nauck
6f535f19fb 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
460da406f8 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
47ff5a1c7d 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
4d5424e422 Fem: Add suppressible extension to objects - fixes #12115 2025-01-06 17:56:30 +01:00
wmayer
d15fd988a4 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
f6e33eb5f4 Fem: Fix mesh export to vtk formats 2024-12-20 11:46:46 -05:00
marioalexis84
072ecb2a4f 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
29632606d1 Merge pull request #18268 from marioalexis84/fem-post_pipeline
Fem: Fix FemPostPipeline base class
2024-12-08 21:56:25 +01:00
Chris Hennes
2cef70823c Update src/Mod/Fem/App/FemPostPipeline.cpp 2024-12-06 11:29:37 -06:00
marioalexis
3fad0cff60 Fem: Fix FemPostPipeline base class 2024-12-03 11:45:41 -03:00
PaddleStroke
8f43f3cc8b Core: Rename 'OriginFeature' file to 'Datums' 2024-11-26 15:36:48 +01:00
marioalexis
3fa067c632 Fem: Avoid legacy Netgen meshing if there is no referenced shape - fixes #17814 2024-11-22 12:24:46 -05:00
mosfet80
a5f6846e7f [Mod] clean FemMesh.cpp
Removed dead code
2024-11-18 18:01:59 +01:00
marioalexis
f7f700eb1c Fem: Enable expression for the heat flux constraint task panel 2024-10-10 20:33:54 -05:00
marioalexis
c029bb08e2 Fem: Use reference subshape transformation on the underlying geometry 2024-09-23 08:11:15 -05:00
marioalexis
352eeff000 Fem: Add set of mesh elements from a list 2024-09-15 20:47:09 -03:00
wmayer
c30d42c441 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
marioalexis
9c92f93452 Fem: Disconnect connection when destroying Constraint object 2024-08-24 19:51:24 -05:00
marioalexis
f089c710bd Fem: Add FemMeshShapeBaseObject and fix FemMeshShapeObject meshing 2024-07-28 16:27:20 -03:00
marioalexis
8aba0f3bb0 Fem: Import/export 1D elements from mesh to vtk - fixes #15541 2024-07-22 11:10:05 -05:00
marioalexis
fc5d57035f Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556 2024-07-22 10:50:15 -05:00
Chris Hennes
383ed6d7e6 FEM: Add QStandardPaths to PreCompiled.h 2024-07-10 09:08:33 -05:00
hyx0329
8e5df2263d Fem: fix and improve searching 3rd-party binaries 2024-07-10 09:08:33 -05:00
marioalexis
966398d497 Fem: Check null shape in constraint bearing 2024-07-08 10:55:08 -05:00
Chris Hennes
e38259c307 Merge pull request #14793 from lyphrowny/reformat_fem_src
FEM: Reformat fem .py sources
2024-07-01 11:19:29 -05:00
Chris Hennes
94360c706e FEM: Remove set but unused variable 2024-06-24 18:17:11 +02:00
lyphrowny
4e2e81b68a FEM: remove trailing spaces and newlines when writing input files for solvers 2024-06-23 16:27:20 +03:00
wmayer
a2939767ce 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
b8905ff87e 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
3181c4f2a8 Merge branch 'main' into erase-version-4 2024-06-17 11:10:12 -05:00
marioalexis
99aebd8a33 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
636fa43c99 MSVC: Fix warnings and build failure 2024-06-12 10:36:58 -05:00
wmayer
d88253c2a1 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
d228d50755 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
25febcd7af Fem: Move functions to Tools class 2024-06-05 13:12:25 -03:00
wmayer
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00