Commit Graph

39339 Commits

Author SHA1 Message Date
Benjamin Nauck
52ac9873bf Sketcher: Fix 513269 Variable copied when it could be moved 2025-05-03 23:38:05 +02:00
Benjamin Nauck
2b6c9f7d92 Sketcher: Fix · · ·
532547 Variable copied when it could be moved
2025-05-03 23:38:05 +02:00
Benjamin Nauck
a8db75a35e Sketcher: Fix 512328 Use of auto that causes a copy 2025-05-03 23:38:05 +02:00
Benjamin Nauck
6e8e096198 Sketcher: Fix 529853 Variable copied when it could be moved 2025-05-03 23:38:05 +02:00
Benjamin Nauck
4c372cfde3 Sketcher: Fix 515688, 513858, 515692, Variable copied
# Conflicts:
#	src/Mod/Sketcher/App/SketchObject.cpp
2025-05-03 23:38:05 +02:00
Benjamin Nauck
d202f89f2c Sketcher: Fix 513105 Variable copied when it could be moved 2025-05-03 23:37:26 +02:00
Benjamin Nauck
3998f498a4 Sketcher: 532658 Use of auto that causes a copy
Also fixes 532658
2025-05-03 23:37:26 +02:00
Benjamin Nauck
05a4fb1bc3 Sketcher: Fix 512301 Variable copied when it could be moved 2025-05-03 23:37:26 +02:00
Benjamin Nauck
79e2d2f08d Sketcher: Fix 512831 Variable copied when it could be moved 2025-05-03 23:37:26 +02:00
Benjamin Nauck
2afc6bfeb8 Sketcher: Fix 463717 Variable copied when it could be moved 2025-05-03 23:37:26 +02:00
Benjamin Nauck
ecc2571d12 App: use contains() instead of count() 2025-05-03 22:22:10 +02:00
Benjamin Nauck
2a32acfa74 Sketcher: Use contains instead of std::find 2025-05-03 22:22:10 +02:00
Benjamin Nauck
966ef92b35 Gui: Use contains instead of std::find 2025-05-03 22:22:10 +02:00
Benjamin Nauck
ea6ea1ee9c App: Use contains instead of std::find 2025-05-03 22:22:10 +02:00
Benjamin Nauck
f6b62fcc99 Spreadsheet: use isEmpty() instead of count() where possible 2025-05-03 22:22:10 +02:00
Benjamin Nauck
87f355105e Part: use empty() and isEmpty() instead of count() where possible 2025-05-03 22:22:10 +02:00
Benjamin Nauck
51f73c05c0 Material: use contains() and isEmpty() instead of count() where possible
# Conflicts:
#	src/Mod/Material/App/ModelLibrary.cpp
2025-05-03 22:22:10 +02:00
Benjamin Nauck
015cf36c38 Import: use contains() instead of count() where possible 2025-05-03 22:19:51 +02:00
Benjamin Nauck
eff392f509 CAM: use contains() instead of count() where possible 2025-05-03 22:19:51 +02:00
Benjamin Nauck
df3c324b7d Gui: use contains() and isEmpty() instead of count() where possible 2025-05-03 22:19:51 +02:00
Benjamin Nauck
02d095f6e2 App: use contains() instead of count() where possible 2025-05-03 22:19:51 +02:00
pre-commit-ci[bot]
4839988bb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-02 07:29:09 +00:00
Stefan Tröger
f3edddcbdb FEM: Fix typos in python post processing code 2025-05-02 09:25:57 +02:00
Stefan Tröger
346558ab71 FEM: Handle python vtk user installs that conflict with FreeCAD VTK 2025-05-02 09:25:57 +02:00
Stefan Tröger
e6c82c1c20 FEM: Fix test with new python filter and other small fixes 2025-05-02 09:25:56 +02:00
Stefan Tröger
f20852e7e1 Fem: correctly handle python filters if vtk python is not available 2025-05-02 09:25:56 +02:00
Stefan Tröger
bbf5695562 Fem: make python filter build process more elegant 2025-05-02 09:25:56 +02:00
Stefan Tröger
9430bdde01 Fem: Implement basic python filter functionality and glyph example 2025-05-02 09:25:56 +02:00
marioalexis
d2e04a6326 Fem: Use string format to round Elmer quantity values - fixes #20938 2025-05-01 20:23:19 -03:00
marioalexis
e918952bb5 Fem: Move code from Elmer electrostatic writer to proxy class 2025-05-01 20:23:18 -03:00
Leticia Vong
7a5487670c GUI: Refactor - removed soft dependency from freeze toggle 2025-04-30 15:11:44 +02:00
Andrea
922a2c25f2 Removed unused function
Removed unused function
2025-04-29 22:52:04 -05:00
Pieter Hijma
ecb61310c1 Doc: Improve PropertyContainer documentation 2025-04-29 22:50:14 -05:00
mosfet80
16a4e11eb2 clean SoFCSelection.cpp
removed unused code
2025-04-29 22:49:40 -05:00
David Carter
8519b0c0b8 Materials: External Module Support
The final PR for the external module feature that allows materials to
be stored in an external datastore, webservice, etc.

This includes the final material manager classes, and the UI support in
the form of commands and preference pages.
2025-04-29 19:06:16 -05:00
wandererfan
b4a9c2222c [TD]Lint brushing 2025-04-29 09:22:11 -04:00
Chris Hennes
b916ed67c4 Merge pull request #20874 from 3x380V/main-cleanup
Main: cleanup
2025-04-29 07:20:12 -05:00
Ralf Habacker
3669cefd17 BIM: Fix Python syntax error
Due to the use of an incorrect exponentiation operator the following
exception was triggered when changing attributes of a wave profile:

TypeError: Unsupported operand type(s) for ^: 'float' and 'float'

fixes #21048
2025-04-29 07:14:17 -05:00
Roy-043
60f872ce1e Draft: store 3 ShapeString parameters and remove font from prefs (#21054)
* Draft: store 3 ShapeString parameters and remove font from prefs

With this PR 3 ShapeString parameters are stored:
* ShapeStringFontFile: this replaces the old FontFile parameter.
* ShapeStringHeight
* ShapeStringText

The ShapeStringFontFile is just the last selected font file and not exposed in the Preferences editor.

Additionally:
* Changed the label of the text input box from "String" to "Text".
* Changed the label of the point reset button to sentence case.

* Remove faulty docstring
2025-04-29 07:13:17 -05:00
Ladislav Michl
b6e27b4f6f Main: unistd.h is not needed 2025-04-29 07:33:37 +02:00
Ladislav Michl
e4e99aa789 Main: output exception stream directly to stdout
printf is used to output formated stringstream. Not only introductory
information is somewhat repeated, but text can be sent directly to
standard output.
2025-04-29 07:33:37 +02:00
Ladislav Michl
181fb46ad6 Main: create QString from std::string directly 2025-04-29 07:33:37 +02:00
Ladislav Michl
67c587e287 Main: use inGuiMode() consistently
Dialogs to show exception follow different logic than presenting
gui itself. Unify that.
2025-04-29 07:33:18 +02:00
Ladislav Michl
b245ce6355 Main: inGuiMode() helper 2025-04-29 07:33:05 +02:00
Chris Hennes
27e825ce4d Merge pull request #21007 from ickby/FEM_post_fixes
Fem post fixes
2025-04-28 21:19:43 -05:00
Stefan Tröger
10eb015353 FEM: correct typos 2025-04-28 20:52:47 -05:00
wandererfan
59801c8366 [TD]Add check for invalid section coordinate system 2025-04-28 19:15:58 -04:00
wandererfan
6c9951deec [TD]improve ComplexSection handling of bad section normal choice 2025-04-28 19:15:58 -04:00
captain0xff
68a8575536 Gui: rename TaskCSysDragger to TaskTransform 2025-04-28 23:30:14 +02:00
Stefan Tröger
dcb35d0107 FEM: Post task dialog opens transaction only if none is pending. Fixes item 4 in #20263 2025-04-28 18:45:05 +02:00