Commit Graph

40547 Commits

Author SHA1 Message Date
FEA-eng
ccf66e50ce FEM: Update CMakeLists.txt 2025-03-05 18:54:29 +01:00
FEA-eng
38734fe0df FEM: add example file 2025-03-05 18:53:02 +01:00
Roy-043
43762780bd Merge pull request #19986 from Roy-043/Draft-fix-make_sketch-hang
Draft: fix make_sketch hang
2025-03-05 11:10:28 +00:00
Chris Hennes
e8fe364090 Merge pull request #19977 from chennes/bofdahofApplicationTidyUpEasyOnes
Application tidy up (the easy ones)
2025-03-05 05:20:01 +00:00
Chris Hennes
900984844a Merge pull request #19211 from Syres916/Drag_Drop_File_Checks
[Gui] Trigger the same checks for Drag & Dropping files as File > Open
2025-03-05 04:13:59 +00:00
Chris Hennes
60a839eb7b Merge pull request #19889 from Shkolik/sketcher_external_point
fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not
2025-03-05 04:03:36 +00:00
Andrew Shkolik
01ffabccaa fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not 2025-03-04 21:29:54 -06:00
Syres916
7f3632ba8e [Gui] Trigger the same checks for Drag & Drop files as File > Open 2025-03-04 20:45:15 -06:00
Chris Hennes
a3d07821b5 Merge pull request #19997 from chennes/chennesCIMergeGroupTrigger
CI: Add merge_group as trigger
2025-03-05 01:19:28 +00:00
Chris Hennes
953e1cb9be CI: Add merge_group as trigger
Required to force CI run on merge queue
2025-03-04 18:28:07 -06:00
Chris Hennes
7a6cf9e02c Merge pull request #19992 from oursland/build-date-clipboard
About: Add build date to clipboard data.
2025-03-05 00:12:30 +00:00
Chris Hennes
d6849c10b0 Apply suggestions from code review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-04 18:12:10 -06:00
Jacob Oursland
2dd4343164 About: Add build date to clipboard data. 2025-03-04 18:12:10 -06:00
Chris Hennes
e4e957f273 Merge pull request #19932 from alfrix/start_fixes_2
Start: fix fileview use scrollbars as needed
2025-03-05 00:01:57 +00:00
Chris Hennes
7fd0eff512 Merge pull request #19928 from furgo16/startpage-option-showonlyfcstd
Start: add option to show only FreeCAD native files in custom folder
2025-03-04 23:59:50 +00:00
mosfet80
d20a9f1a40 clean FindOCC.cmake (#19755)
* clean FindOCC.cmake

cmake version is always major then 3.16.3
.

* Update cMake/FindOCC.cmake

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* Update cMake/FindOCC.cmake

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

---------

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-03-04 16:10:12 -06:00
Chris Hennes
da12de5d5e Merge pull request #19933 from tritao/ci-initial-lint-refactor
CI: Refactor generic whitespace checks linting setup.
2025-03-04 15:26:10 -06:00
Chris Hennes
f956c7cd4a Addon Manager: Adjust use of QDialogButtonBox 2025-03-04 13:52:38 -06:00
Furgo
616eadd238 BIM: make ifcopenshell version upgrade more robust (#19823)
* BIM: make ifcopenshell version detection and comparison more robust

* Add reference to FreeCAD bug

* Use create_pip_call for compatibility with different platforms/packages

* Demote workaround logging category for quieter output

* Correct ifcopenshell's actual version in the workaround as well

* Allow upgrading packages

* Provide more verbose output if there is an error with the pip call

* Really print the exception message

* Fix catch-all exception syntax

* Remove ifcopenshell version workaround

Weekly build 40444 containing the fix (https://github.com/FreeCAD/FreeCAD/pull/19861) has been released at https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds
2025-03-04 11:37:22 +01:00
mosfet80
649bf19e2f Update actions/stale
https://github.com/actions/stale/releases/tag/v9.1.0
2025-03-04 10:39:55 +01:00
Roy-043
01ced7dd4c Draft: fix Trimex visibility change
Fixes #19966
2025-03-04 10:13:44 +01:00
Roy-043
db3b0640f8 Draft: fix make_sketch hang
Fixes #19978

The onebyone argument of makeMissingPointOnPointCoincident and makeMissingVerticalHorizontal should be set to False.
2025-03-04 10:12:44 +01:00
Chris Hennes
a027a2e6d5 TD: Add missing Boost headers to PCH 2025-03-03 23:18:47 -06:00
Chris Hennes
070e2cc8fa App: Switch to isNullOrEmpty() 2025-03-03 19:24:15 -06:00
Chris Hennes
94adb6b28b App: Minor formatting from review
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-03 19:21:05 -06:00
bofdahof
9f880497ed Calling static via instance 2025-03-03 19:21:04 -06:00
bofdahof
80b3a7e3de Narrowing conversion 2025-03-03 19:21:04 -06:00
bofdahof
9d11fb9079 Don't use endl 2025-03-03 19:21:04 -06:00
bofdahof
65895ae0ed Reserve vector size 2025-03-03 19:21:04 -06:00
bofdahof
e5497af44b Redundant c_str() 2025-03-03 19:21:04 -06:00
bofdahof
f6f759a992 Else after return 2025-03-03 19:21:04 -06:00
bofdahof
e1eb7e6643 Declaration hides previous 2025-03-03 19:21:04 -06:00
bofdahof
0a4d9a2b37 C++ style cast instead of C 2025-03-03 19:21:04 -06:00
bofdahof
bffdf7feb2 Join declaration and assignment 2025-03-03 19:21:04 -06:00
bofdahof
1e4cecdc07 Use auto 2025-03-03 19:21:04 -06:00
bofdahof
a1c9ed4385 Simplify expression 2025-03-03 19:21:04 -06:00
bofdahof
668aaf7511 DRY 2025-03-03 19:20:59 -06:00
Maxim Moskalets
ca86613f5b Add support of compile/link jobs pooling 2025-03-03 18:51:27 -06:00
Joao Matos
ed27ab85de CMake: Add GCC/Clang -fdiagnostics=color compiler option. 2025-03-03 18:13:39 +01:00
wandererfan
4f9bf0e72e [TD]change scaling default for Draft & BIM views 2025-03-03 10:44:03 -06:00
paul
534c32975b [ArchWindow] Improve SubVolume() HoleDepth deduction algorithm (#19774)
* [ArchWindow] Improve SubVolume() HoleDepth deduction algorithm

https://github.com/FreeCAD/FreeCAD/issues/19559
https://forum.freecad.org/viewtopic.php?t=92360
https://forum.freecad.org/viewtopic.php?p=812844#p812844

Current HoldeDepth deduction algorithm is too 'agressive' and may punch holes in adjacent wall segment.

With improved algorithm, ArchComponent pass the Window's host information to ArchWindow getSubVolume() to deduce HoleDepth taking into account of Wall's Width /getWidths for Wall Base is ArchSkech

TODO: For future development - More robust approach
With ArchSketch, on which wall segment an ArchObject is attached to is declared by user and saved.
The extrusion of each wall segment could be done per segment, and punch hole in the exact wall segment before fusing them all. No need to care about each wall segement thickness.

* [ArchWindow] Typo Lint reported

* [ArchWindow] Fix getSubFace(self) raise NotImplementedError

Github comment - https://github.com/FreeCAD/FreeCAD/pull/19774#discussion_r1972052310
2025-03-03 17:38:22 +01:00
Chris Hennes
d41114589c Merge pull request #19411 from benj5378/enums2
TechDraw: hard type enums, part 2
2025-03-03 10:37:21 -06:00
Chris Hennes
d9ab6c1645 Merge pull request #19753 from benj5378/tag
TechDraw: centralize tag functionality
2025-03-03 10:36:24 -06:00
Aurélien Pascal
15c3b560e2 TechDraw: Fix hatch drawing (#19458)
* TechDraw: Fix hatch drawing (#16353)

* TechDraw: Fix hatch drawing in Tech View
2025-03-03 10:35:13 -06:00
WandererFan
da8602c1b0 Broken view no compress19647 (#19688)
* [TD]fix broken view does not collapse

* [TD]delint and clean up code

* Update src/Mod/TechDraw/App/DrawBrokenView.cpp

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* Update src/Mod/TechDraw/App/DrawBrokenView.cpp

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* Update src/Mod/TechDraw/App/DrawBrokenView.h

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* Update src/Mod/TechDraw/App/DrawBrokenView.h

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* Update src/Mod/TechDraw/App/DrawBrokenView.cpp

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

* [TD]fix merge errors

---------

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-03-03 10:34:23 -06:00
Chris Hennes
729fffaade Merge pull request #19930 from marioalexis84/fem-current_density
Fem: Improve current density boundary condition
2025-03-03 10:32:35 -06:00
xtemp09
7600f58e23 [Spreadsheet] Fix unset zoom level 2025-03-03 10:27:39 -06:00
tritao
6792d6bfd7 Remove Python-generated bindings comparison against XML-generated version. 2025-03-03 10:22:41 -06:00
PaddleStroke
643830624a Update PreCompiled.h 2025-03-03 10:21:37 -06:00
Roy-043
bc430234d2 Draft: fix Draft_Trimex boundary subelement selection
Fixes #19614

Instead of using the whole object, the hovered subelement should be used for the boundary.

With this PR the handling of the boundary is also  'nesting-aware'. This is however still not the case for the object being extended/trimmed. That object has to be in the global space.
2025-03-03 17:18:25 +01:00