marioalexis
5350f94201
Fem: Update constraint symbols when moving reference shape - fixes #6093
2024-02-26 04:01:28 -03:00
wmayer
b85aabcc88
Fixes #12586 : FEM requires OpenMP 5.0 (e.g. GCC >= 9)
2024-02-24 21:11:06 +01:00
marioalexis
b23c5f6721
Fem: Move Points and Normals properties to base class
2024-02-15 13:31:20 -06:00
marioalexis
88df52c955
Fem: Use override
2024-02-08 08:29:19 -06:00
Alexander Neumann
4260e4b3ad
move #include <SMESH_Version.h> out of ifndef _PreComp_
...
fix position of #endif for MEFISTO removal
2024-02-05 08:50:56 -06:00
marioalexis
7e5bb7361a
Fem: Improve constraint contact - partial fixes #11653
2024-01-26 13:44:16 -03:00
marioalexis
336bf03ada
Fem: Call base class handleChangedProperyType function
2024-01-20 20:20:56 -07:00
marioalexis
7b63799a7e
Fem: Fix constraint arrows - fixes #6073
2024-01-15 19:21:09 -06:00
Alexander Neumann
2bf42925f5
Guard MEFISTO code with version check against SMESH.
2024-01-15 10:44:06 -06:00
mosfet80
f9f1f88426
casts clean ( #11548 )
...
* remove unecessary casts
clean unused code
revert example py code
* [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>
2023-12-04 10:51:36 -06:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [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>
2023-11-27 17:37:29 +01:00
Chris Hennes
37a8e348c6
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
1e3179e9bc
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Florian Foinant-Willig
027ac1b456
Fem: modernize type checking
2023-10-23 18:09:04 +02:00
marioalexis
4036dbd5e8
Fem: Remove FemPostDataAtPointFilter Radius property and add PointSize to their view provider - fixes #5719
2023-10-16 15:58:57 +02:00
marioalexis
121d29771b
Fem: Plot vector components in FemPostDataAlongLineFilter - fixes #5916
2023-10-12 12:49:18 +02:00
Uwe
af684644ab
Fem: Change ConstraintPressure::Force property to App::PropertyForce
2023-10-04 17:03:28 -03:00
Uwe
d115018b94
Fem: Change ConstraintPressure::Pressure property to App::PropertyPressure
2023-10-03 17:44:31 -03:00
liukaiwen
329904a055
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
wmayer
e66404523c
Fem: Apply clang-format
2023-09-25 14:50:43 +02:00
andrea
4897202bc4
fix vtk > 6.1 check
2023-09-09 17:52:11 +02:00
luzpaz
09a965d595
Fix typos
2023-08-21 20:20:47 +02:00
wmayer
2bcec7717d
Fem: modernize C++: use equals default
2023-08-21 13:35:54 +02:00
wmayer
9383d2d0aa
Fem: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
Jonas Bähr
34b176c1db
Remove C++ escaping from *Py.xml templates
...
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.
Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
wmayer
89b9a7ae0f
FEM: modernize C++: use range-based for loop
2023-08-15 01:09:53 +02:00
Benjamin Bræstrup Sayoc
da2ae719f2
[Everywhere] FileInfo::hasExtension for multiple values ( #9774 )
...
* [Base] Add hasExtension for multiple values
* [Gui] Use hasExtension for multiple values
* [Drawing] Use hasExtension for multiple values
* [Fem] Use hasExtension for multiple values
* [Import] Use hasExtension for multiple values
* [Mesh] Use hasExtension for multiple values
* [Part] Use hasExtension for multiple values
* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06:00
wmayer
6f142d250a
Fem: modernize C++: use override
2023-08-04 17:09:53 +02:00
luzpaz
3110980e6e
Fix various typos
2023-07-15 11:17:45 +02:00
luzpaz
055447a702
Fix various typos
2023-07-01 10:08:21 +00:00
luzpaz
38a01939e0
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
Uwe
962dd41734
[FEM] Transform constraint overhaul
...
- fix warning about local scope
- make the angles a PropertyAngle to handle the unit
- also fix some too long code lines
2023-03-28 02:11:36 +02:00
Uwe
cc6c98c1d4
[FEM] Temperature constraints overhaul
...
- fix bug that changing constraint type in dialog lost flux value
- accept and not immediately save any changed value
- make the temperatures a PropertyTemperature to get rid of hacks
- also fix some too long code lines
2023-03-28 01:23:47 +02:00
Uwe
7d17ecfeba
[FEM] ConstraintDisplacement: fix property conversion
...
- as the comment correctly wrote it was a PropertyFloat before and PropertyDistance after - fox the routine accordingly
2023-03-27 21:29:52 +02:00
Uwe
e90347e3f7
[FEM] fix binary check
...
- the current implementation only considers explicitly given binaries (with full path) and ignores the setting to check the environment paths
- also remove 2 trailing whitespaces
2023-03-26 19:35:20 +02:00
Uwe
3ddb996c04
[FEM] App: improve PreCompiled.h
...
- remove unused includes
- sort entries and remove duplicates
2023-03-25 19:22:57 +01:00
Uwe
4c9afb4546
[FEM] activate spring constraint
...
- the spring constraint is currently unused but it can be used for Elmer mechanical analyses
This PR does so and also overhaul the dialog UI.
- use the spring constraint also in an example file
2023-03-23 15:14:50 +01:00
Uwe
45743d4fbd
[FEM] improve displacement constraint
...
- use a Distance and Angle property to get the unit handling right
2023-03-23 00:50:40 +01:00
Uwe
c9cb01531f
[FEM] extend displacement constraint
...
- add fields to specify a formula for the displacement, this is necessary to make transient deformation analyses with Elmer
- add option to set displacement from result of flow equation
- this way also a major overhaul -> simpler dialog logic etc.
2023-03-22 15:23:32 +01:00
wmayer
cbd0f792bb
C++17: remove workaround for external smesh to fix build failure on Conda
2023-03-22 13:24:21 +01:00
marioalexis
b51eec232f
Fem: Add box filter function
2023-03-11 03:13:57 +01:00
Uwe
3289a9cccc
[FEM] improve cylinder function
...
- set better initial position and size
- add misting triggering of ViewProvider
- some code style improvements (fix too long lines, consistency etc.)
2023-03-09 17:25:46 +01:00
Uwe
baf5a51e1a
[FEM] [skip ci] fine-tune FEM function filter
...
- just for consistency use always the form "x.0"
2023-03-09 02:40:32 +01:00
Uwe
68690edb0a
[FEM] fox compilation of new Cylinder function
...
- vector must be initialized and vector size requires a const int
- also some sorting
- also some formatting changes to be consistent (either always "x." or "x.0")
2023-03-08 18:02:10 +01:00
marioalexis
3e61ca0fbb
FEM: Add cylinder filter function
2023-03-08 17:16:41 +01:00
wmayer
28a9830b85
FEM: implement interface of ComplexGeoData
2023-03-03 18:17:54 +01:00
marioalexis
be3718deea
Fem: Implement getNodeElements function
2023-02-21 03:13:13 +01:00
Uwe
05af64ae9e
[FEM] improve checks for datasets
...
- check if datasets exists before we access them
- speed up the check for the datatype by testing after the downcast
2023-02-15 10:54:45 +01:00
luzpaz
7a0acd1db6
FEM: fix trailing whitespace
...
Fix trailing whitespace in `Fem/App/FemPostFilter.cpp`
2023-02-15 10:45:00 +01:00
Uwe
921ecca691
[FEM] [skip ci] Countours: remove unused code
...
- also fix a trailing whitespace
2023-02-14 13:48:03 +01:00