Commit Graph

40982 Commits

Author SHA1 Message Date
Andrea
fe951f6332 Update Eigen Requirement
ubuntu 22.04 use eigen 3.4. The minimum eigen version is raised to 3.4.
Old cmake code is also removed.
2025-03-24 21:09:48 -05:00
Chris Hennes
50bc99c3eb Merge pull request #20428 from pieterhijma/fix-doxygen-structural-warnings
Fix doxygen structural warnings
2025-03-24 21:07:53 -05:00
Joao Matos
74493358da Gui: Remove XML binding files. 2025-03-24 22:47:33 +01:00
karliss
f0fe00e16a PartDesign: Update counterbore min size in reaction to diameter changes (#20217)
Can't rely purely on `TaskHoleParameters::threadDiameterChanged` to update it since the signal is intentionally blocked while syncing state to GUI.

Closes #19744
2025-03-24 21:18:40 +00:00
Joao Matos
0206ff59cd CMake: Fix build dependency tracking for Python bindings generation.
This caused a rebuild to always happen due to incorrect dependency
tracking.

Fixes https://github.com/FreeCAD/FreeCAD/issues/20402.
2025-03-24 21:43:31 +01:00
mosfet80
b33c236322 Clean QGTracker.cpp
Clean code
2025-03-24 19:02:34 +01:00
j-hap
aa725c6866 TechDraw: Replace annotation edit dialog with QPlainTextEdit (#20092)
* TechDraw: Replace annotation edit dialog with QPlainTextEdit

* Remove useless include introduced in previous commit

* Remove trailing _ for members to conform with rest of the codebase

* Add const & to string vectors that don't need copying

* Fix IWYU linter warnings

* Forward all annotation double clicks to the StringList property editor

* Remove unused dialog

* Fix Qt 5 build error

* Fix missing exports with MSVC
2025-03-24 13:27:55 -04:00
Kacper Donat
4c5c88bcf4 Gui: Remove -1 min-width from dialog buttons
This ensures that minimum width from QStyle is still applied while buttons still respect minimum size hint
2025-03-24 12:25:56 -05:00
hasecilu
fd44970530 Linux: Add Spanish translation to desktop file 2025-03-24 14:09:41 -03:00
Chris Hennes
c0b14e6b77 Merge pull request #20369 from WandererFan/SplineAsCircleYetAgain20347
[TD] Spline as circle yet again  (fix 20347)
2025-03-24 12:05:59 -05:00
tritao
ce8a545fb6 Part: Convert XML bindings to Python API bindings model. 2025-03-24 12:00:16 -05:00
sliptonic
d71cfabd4c Merge pull request #19910 from LarryWoestman/refactor
CAM:  Used inheritance to simplify the refactored postprocessors even more
2025-03-24 17:58:58 +01:00
tritao
7cbbe403cc Gui: Convert XML bindings to Python API bindings model.
This converts the existing XML binding files to the new Python bindings
generator model.
2025-03-24 11:56:53 -05:00
Chris Hennes
325ae6fd9a Addon Manager: Create AddonCatalog class 2025-03-24 17:52:09 +01:00
aprospero
7dab93abac get rid of get/set_param doublette in Draft utils
we have the same functionality already in params from draftutils
2025-03-24 11:48:42 -05:00
mosfet80
b1395a7b04 Update sub_buildPixi.yml
changelog 
switch from 0.41.3 to 0.42.1
https://github.com/prefix-dev/pixi/releases
2025-03-24 11:46:41 -05:00
Johannes Thyssen Tishman
c8b1ea2836 Configure and install thumbnailer
Currently the file "src/XDGData/FreeCAD.thumbnailer" gets installed, but
the associated freecad-thumbnailer script isn't. Install the script,
too.

While here, have the paths to the default icon and freecad-thumbnailer
script follow ${CMAKE_INSTALL_DATAROOTDIR} and ${CMAKE_INSTALL_BINDIR}
respectively.
2025-03-24 13:46:17 -03:00
Chris Hennes
2fe3631fd9 Merge pull request #19908 from davesrocketshop/external_modules_part1_pr2
Materials: External Modules Part 1
2025-03-24 11:41:02 -05:00
Pieter Hijma
aa768e2a90 [Doc] Fix Robot kdl documentation issues 2025-03-24 16:33:54 +01:00
Pieter Hijma
00428ff014 [Doc] Fix multiple use section label 2025-03-24 16:33:54 +01:00
Pieter Hijma
b3ae844792 [Doc] Fix CAM documentation problems
- Fix nested comments
- Fix section labels
2025-03-24 16:33:54 +01:00
Pieter Hijma
d1ed87073e [Doc] Fix nested groups in FEM 2025-03-24 16:33:54 +01:00
Pieter Hijma
d0c1f2c073 [Doc] Fix nested comment problem 2025-03-24 16:33:54 +01:00
Pieter Hijma
2a99c26c95 [Doc] Fix missing CXX directory 2025-03-24 16:33:54 +01:00
Chris Hennes
26b2ba2a7e FEM: Add missing vtkTransform.h header to PCH file
Also sort the VTK includes.
2025-03-24 10:29:00 -05:00
tritao
d5a1098add Part: Remove Py_UNICODE usage from Part.makeWireString and FT2FC. 2025-03-23 22:49:13 +01:00
Chris Hennes
97638e0c82 Gui: Check return value from getDetail()
Coverity issue 251377. Every other use of this method follows this idiom, update the last call to match.
2025-03-23 22:47:30 +01:00
Chris Hennes
af8a86f6bf Base: Eliminate use of deprecated PyWeakref_GetObject
Co-authored-by: João Matos <joao@tritao.eu>
2025-03-23 22:43:03 +01:00
Chris Hennes
ebc0dc165d Base: Initialize tp_versions_used in PyTypeObject (3.13)
This field is undocumented, but exists in the source code for 3.13
(see https://github.com/python/cpython/blob/3.13/Include/cpython/object.h#L232)
and gives a compiler warning if left uninitialized.
2025-03-23 22:42:08 +01:00
J-Dunn
d3f617bb4b CAM: thread-mill Shape , more robust model (#20320)
* CAM:  thread-mill Shape , more robust model 

Purpose: prevent solver dumping arcane coding errors to report window if "crest" value is (legitimately) set to zero by user. 

Single tooth thread-mill tools exist which have a sharp point, ie zero flat "crest " surface. Thus the user can reasonably expect to configure a zero dimension to the truncated end of the tool if it is not truncated. This should not provoke an error condition and certainly not crash the model and dump lots of arcane developer info on the machinist user. 

The problem is that a zero dimension makes two points concurrent and removes an edge from the model. This leads to and ill-defined model which crashes the solver. The user should not be exposed to this kind of coding breakage when entering legitimate data for a tool shape. The solution (or workaround) here is to add a very small faction of the shaft diameter to the user supplied zero to prevent the solver crashing. Since this is proportional to the tool shaft it will scale to any use of the tool shape without disrupting path accuracy.

This is a drop in replacement for the existing file and caters for both types of this tool:  truncated tip and pointed tip.

* threadmill Shape update

This thread-mill Shape file uses max()  in the expression for crest. 
This allows user setting zero crest by adding a small finite dimension to prevent the solver crashing, while not making any change to finite crest tools. 
Best of both worlds.
2025-03-23 19:12:36 +01:00
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
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