Commit Graph

33 Commits

Author SHA1 Message Date
Benjamin Nauck
a6e1b894fe Fem: Add #include <limits> where used 2025-03-31 23:51:06 +02:00
Benjamin Nauck
d0dc4c00ef FEM: Use std::numeric_limits and std::numbers instead of defines 2025-03-29 13:32:38 +01:00
bofdahof
4dd92724b6 FEM: apply std::ranges 2025-03-16 17:16:30 -05:00
tritao
65466d580b Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
Ladislav Michl
2ea8a633ac Base: Quantity: return std::string 2024-12-23 17:48:42 +01:00
Kacper Donat
651cefde4d Gui: Use getObject<T>() helpers in classes
This commit is generated using regex based find and replace:

```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```

To regenerate if needed.
2024-12-06 18:29:39 +01:00
marioalexis
6c0f3bde92 Fem: Use base class open and reject methods in constraint task panels 2024-06-24 22:03:07 -03:00
marioalexis
0361543cfb Fem: Set Scale in TaskFemConstraint base class 2024-06-24 22:03:07 -03:00
marioalexis
6e75703425 Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
wmayer
b8b94c249e Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
kaktus Jacek
41fb0d45a3 Fem: Removing "constraint" from the names
Removing "constraint" from the names of most FEM workbench features.

https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
wmayer
d525e0d308 Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
wmayer
009f9f2222 FEM: modernize C++: use range-based for loop 2023-08-15 01:09:53 +02:00
Uwe
97103b3bf3 [FEM] use std::unique_ptr for all dialog objects
- also fix too long line
- also further clang automatic code style changes
2023-03-22 20:08:13 +01:00
wmayer
a9b9899846 FEM: move to new style connect() 2023-01-15 19:50:46 +01:00
luz paz
d02f6330fc FEM: remove trailing whitespace from various FEM files 2022-08-08 02:10:17 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
Uwe
2e084ed18a [FEM] remove some unused includes for some dialogs
- also some style fixes made by MSVC
2022-03-17 19:53:12 +01:00
Uwe
c0ceecbcf6 [FEM] Contact and Displacement: remove unused headers 2022-03-17 03:46:41 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
luz paz
cfebd3f1e6 FEM: remote superfluous double semicolons [skip ci] 2021-02-14 22:13:16 +01:00
Bernd Hahnebach
943d8e0e50 FEM: rename icon, Constraint Contact 2020-03-06 08:38:55 +01:00
donovaly
27395bbba2 [FEM] spread the fixes from commit a5be62b8 to the other dialogs 2020-03-01 14:37:28 +01:00
donovaly
520cfd8953 [FEM] constraint contact: sort out already available function
additionally add some comments in TaskFemConstraint.cpp
2020-02-25 19:59:01 +01:00
Bernd Hahnebach
a1ac85bf3f FEM: contact constraint task panel, fix build failure 2019-06-11 21:31:19 +02:00
Bernd Hahnebach
b795896a30 FEM: contact constraint task panel, better reference handling 2019-06-11 21:13:39 +02:00
wmayer
b9b0a973e4 fixes 0003819: no proper input for contact stiffness 2019-02-22 11:51:57 +01:00
sL1pKn07
018b41032a [For v018] Fix build with Qt5 beta
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
wmayer
480191c8ee fix -Wextra in Fem 2016-09-24 02:17:15 +02:00
wmayer
f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
Bernd Hahnebach
fe47ef78ab FEM: code formating, replace tabulator with spaces 2016-08-15 21:39:01 +02:00
Bernd Hahnebach
55d2884658 FEM: code formating: remove trailing white spaces 2016-08-04 17:45:04 +02:00
vdwalts
4eb39c5c36 FEM: constraint contact: object implementation 2016-08-04 17:45:04 +02:00