Commit Graph

41712 Commits

Author SHA1 Message Date
Chris Hennes
723d16fcff PD: Eliminate unused variable in FeatureHole 2025-03-23 18:25:40 +01:00
Chris Hennes
90432f967f Gui: Eliminate implicit capture of this via =
Per clang: "implicit capture of 'this' with a capture default of '=' is deprecated"
2025-03-23 18:23:37 +01:00
Kacper Donat
2a81e9d18d Merge pull request #20216 from alfrix/start_fixes_5
Start: fix newbuttons vertical sizing
2025-03-23 17:10:19 +01:00
Roy-043
996fbe5410 Part: remove rogue margins from ui file
Added margin=0. Same as in DlgExportStep.ui:
718ac63365/src/Mod/Part/Gui/DlgExportStep.ui (L17-L19)
2025-03-23 14:09:11 +01:00
Roy-043
718ac63365 Merge pull request #20355 from Roy-043/Draft-move-statusbar-widget-delays-to-init_draft_statusbar.py
Draft: move statusbar hide delay to init_draft_statusbar.py
2025-03-23 10:19:53 +01:00
Roy-043
cff93fbbf0 Merge pull request #20354 from Roy-043/Draft-show-and-hide-Tray-with-delay
Draft: show and hide Tray with delay
2025-03-23 10:19:16 +01:00
Chris Hennes
fabe25bd06 FEM: myStudyId not needed when SMESH >= 9
Put guards not just around its use, but also its creation.
2025-03-23 08:56:31 +01:00
Chris Hennes
74dd1b15f4 Fem: remove unused variable in Command 2025-03-23 08:53:55 +01:00
Chris Hennes
867e4507cc App: Prevent exceptions in destructors
Coverity issues 251332 and 356538. These destructors call methods
that could throw exceptions. Catch them and convert to console
print statements to prevent calls to `terminate()`.
2025-03-23 08:52:44 +01:00
Chris Hennes
a546517588 Gui: Check return value
Coverity issue 513113
2025-03-23 08:51:38 +01:00
Paul Lee
07fcf551d0 [Draft-Faces] Bind: Improve fuse and warning
1. Face fuse per segment
   (original code has a whole face/segment disappear when a face is self-intersecting or reversed)
2. Return warning if face is self-intersecting Or reversed

Github Issue:
- https://github.com/FreeCAD/FreeCAD/issues/19721#issuecomment-2744738019
FreeCAD Forum:
- https://forum.freecad.org/viewtopic.php?p=816758#p816758
- https://forum.freecad.org/viewtopic.php?p=813062#p813062
2025-03-23 12:06:27 +08:00
Chris Hennes
3cbcab042e Main: Replace uses of Py_GetPath()
Deprecated in Python 3.13
2025-03-22 21:57:00 -05:00
Chris Hennes
f0fc6ccde1 Base: Remove deprecated Py_GetPath call
Replace it with a piece of code that replicates the functionality. Also eliminate the round-trip through char * that this function was using (the final variable is stored as a std::string anyway).
2025-03-22 18:59:05 -05:00
pre-commit-ci[bot]
c15e45e7e2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-22 23:27:10 +01:00
Stefan Tröger
9fb0d7b0bb FEM: Update multiframe code after review 2025-03-22 23:27:10 +01:00
Stefan Tröger
f264e0c932 FEM: Multistep test fix for vtk 7.x 2025-03-22 23:27:10 +01:00
Stefan Tröger
22c8d389d4 FEM: Port elmer transient analysis to multiframe results 2025-03-22 23:27:10 +01:00
Stefan Tröger
c815612dc6 FEM: Fix multiframe bugs and add correct units for all cxx analysis types 2025-03-22 23:27:10 +01:00
Stefan Tröger
9738b9b6ea FEM: Modernize multiframe code and incorporate review feedback 2025-03-22 23:27:10 +01:00
Stefan Tröger
0a1cc21b5c FEM: Make post object placement work 2025-03-22 23:27:10 +01:00
Stefan Tröger
c8a4ff0a70 FEM: Backward compatibility for post pipeline and multiple fixes 2025-03-22 23:27:10 +01:00
Stefan Tröger
53a7e5ab34 FEM: Correctly implement Drag/Drop for post objects 2025-03-22 23:27:10 +01:00
Stefan Tröger
4bc2a1d6f3 FEM: Add post pipeline branch 2025-03-22 23:27:10 +01:00
Stefan Tröger
a65a7feb87 FEM: Switch post groups to extension based system 2025-03-22 23:27:10 +01:00
Stefan Tröger
1cff507a7f FEM: Multiframe adoptions
- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data
 - Multiblock source algorithm is needed to supply the time data for the algorithms
2025-03-22 23:27:10 +01:00
xtemp09
2119f9dfb4 [Spreadsheet] Code base update in SheetModel.cpp (#20343)
* [Spreadsheet] Code base update in SheetModel.cpp

* [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>
2025-03-22 21:19:11 +00:00
Furgo
d4f99901ae Do not specify a version in FindOCC.cmake 2025-03-22 16:49:33 -03:00
Alfredo Monclus
45ddcf8317 start: fix file cards not respecting styling 2025-03-22 18:59:11 +00:00
Alfredo Monclus
2513c056d6 start: fix newfilebuttons sizehint and split it into it's own widget 2025-03-22 15:52:55 -03:00
Alfredo Monclus
1ba9e693bd start: modify the flowlayout to have homogeneous rows 2025-03-22 15:39:46 -03:00
PaddleStroke
3b6cb37dd9 Assembly: ignore joints in error (#20253)
Co-authored-by: drwho495 <drwho495555@gmail.com>
2025-03-22 18:27:24 +01:00
PaddleStroke
0f00c6d2d1 Sketcher: Slot tool: Enforce correctly when angle is set (#20269) 2025-03-22 18:21:24 +01:00
Chris Hennes
f15ba6b681 Merge pull request #20110 from WandererFan/HeadlessViewCreation20024
[TD]Headless view creation (fix #20024)
2025-03-22 12:20:58 -05:00
PaddleStroke
1fc61423f3 Sketcher: Line tool: Enforce correctly when angle is set (#20267) 2025-03-22 18:20:26 +01:00
Yorik van Havre
c1614001a0 BIM: Fixed project manager's save/restore - fixes #20288 2025-03-22 11:51:01 -05:00
pre-commit-ci[bot]
82e57fdeb6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-22 11:38:48 -05:00
pre-commit-ci[bot]
0b077fc914 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: f9a52e87b6cdcb01b0a62b8611d9ba9f2dad0067 → 458d954d175f16d216d7d04d5c182e3b10ddfbb4](f9a52e87b6...458d954d17)
2025-03-22 11:38:48 -05:00
Bas Ruigrok
ffc12e2892 Gui: Align to selection using a smaller rotation 2025-03-22 11:35:46 -05:00
hasecilu
c1d03b24a9 Mesh: change context for strings on task panel 2025-03-22 11:30:55 -05:00
xtemp09
b3008feaa1 [Spreadsheet] Fix input in expression editor (#19934)
* [Spreadsheet] Fix input in expression editor

Closes #19804

* [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>
2025-03-22 11:25:17 -05:00
PaddleStroke
8353c44958 PartDesign : Subshapebinder tooltip (#20023)
* PartDesign : Subshapebinder tooltip

* Update src/Mod/PartDesign/Gui/Command.cpp

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>

---------

Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com>
2025-03-22 11:21:31 -05:00
WandererFan
b255deb354 [TD]fix view loses dimensions (fix #19968) (#20122)
* [TD]fix view loses dimensions (fix #19968)

* [TD]Apply review comment
2025-03-22 11:12:42 -05:00
Adrian Insaurralde
9f9610076e cmake: remove distutils usage for python < 3.10 2025-03-22 11:08:36 -05:00
Chris Hennes
f33687535d FEM: Ensure node is initialized before use
Coverity issue 545328
2025-03-22 07:15:15 +01:00
Chris Hennes
8f2e330a53 PD: Check threadType before using to index
Coverity issue 545314
2025-03-22 07:15:15 +01:00
Chris Hennes
23824028c1 FEM: Initialize scalar
Coverity issue 545304
2025-03-22 07:15:15 +01:00
Chris Hennes
1092c9704a FEM: Ensure node is valid before accessing
Coverity issue 545293
2025-03-22 07:15:15 +01:00
Chris Hennes
47615b8464 Spreadsheet: Ensure copy of temp string is kept
Coverity issue 545269. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
28b62eb52b Sketcher: Ensure copy of temp string is kept
Coverity issue 545249. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
eb86151307 Mesh: Sanity-check old file format size 2025-03-22 07:15:15 +01:00