Commit Graph

40505 Commits

Author SHA1 Message Date
Maxim Moskalets
b59cd79427 Add support of compile/link jobs pooling 2025-03-03 18:51:27 -06:00
Joao Matos
855ad6c709 CMake: Add GCC/Clang -fdiagnostics=color compiler option. 2025-03-03 18:13:39 +01:00
wandererfan
d7e98b61cc [TD]change scaling default for Draft & BIM views 2025-03-03 10:44:03 -06:00
paul
1f695e36f8 [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
72d8a7be71 Merge pull request #19411 from benj5378/enums2
TechDraw: hard type enums, part 2
2025-03-03 10:37:21 -06:00
Chris Hennes
215e966c3e Merge pull request #19753 from benj5378/tag
TechDraw: centralize tag functionality
2025-03-03 10:36:24 -06:00
Aurélien Pascal
e97aa7d47e 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
b4b93763ae 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
b08a259b50 Merge pull request #19930 from marioalexis84/fem-current_density
Fem: Improve current density boundary condition
2025-03-03 10:32:35 -06:00
xtemp09
4cb8384145 [Spreadsheet] Fix unset zoom level 2025-03-03 10:27:39 -06:00
tritao
7d28636e05 Remove Python-generated bindings comparison against XML-generated version. 2025-03-03 10:22:41 -06:00
PaddleStroke
50394a6ef3 Update PreCompiled.h 2025-03-03 10:21:37 -06:00
Roy-043
4d48c0de55 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
Roy-043
8a0d6a23bb Draft: fix Draft_Edit isAttachedToDocument issue
Fixes #19939

The `isAttachedToDocument` method only works in certain circumstances.
https://forum.freecad.org/viewtopic.php?t=94709
2025-03-03 17:17:55 +01:00
Roy-043
ff9e84e181 Draft: fix NaN issue with Draft_Rotate
Fixes #19690

The issue was caused by a zero distance between the center and the point picked for the rotation angle.
2025-03-03 17:09:11 +01:00
Roy-043
084a0b3b4a Draft: fix polar coords regression
Fixes #19961

Regression caused by #19179.
2025-03-03 17:07:20 +01:00
Chris Hennes
6f44ab3522 Gui: Add QOpenGLWidget to QtAll.h 2025-03-02 22:59:30 -06:00
marioalexis
8a2d4aeb19 Fem: Update constraint symbol rotation 2025-03-03 00:02:11 -03:00
marioalexis
2b1cd6fe95 Fem: Fix Elmer magnetodynamic boundary condition keyword 2025-03-03 00:02:11 -03:00
marioalexis
8e07da0a29 Fem: Improve current density boundary condition 2025-03-03 00:02:02 -03:00
Chris Hennes
2bde30a4c5 Merge pull request #19951 from chennes/missingColorFix
Misc. compilation fixes
2025-03-02 17:32:51 -06:00
Chris Hennes
c762d56603 Spreadsheet: Fix old ref to name in doc 2025-03-02 17:23:26 -06:00
Chris Hennes
20050d002d Inventor: Fix old color ref 2025-03-02 17:09:19 -06:00
Chris Hennes
7f1c43a335 Merge pull request #19636 from kadet1090/color-in-base
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Joao Matos
a9b7490a82 CI: Extract apt packages installation into a script.
This provides a few benefits, as regular users can just call this script
as well and not need to copy this from the CI files to know which files
to install.
2025-03-02 16:35:30 -06:00
Chris Hennes
0c4ed644c4 Merge pull request #19450 from tritao/base-python-api-model
Base: Modernize Python bindings APIs
2025-03-02 16:34:25 -06:00
Chris Hennes
729f09ede4 Merge pull request #19626 from tritao/qt-gl-cleanup
Gui: Remove QtOpenGL.h.
2025-03-02 16:22:57 -06:00
Andrew
f3643af82b Merge pull request #19747 from Shkolik/sketcher_datums_projection
fix #18894 Sketcher: Create external projection geometry not working with datum objects
2025-03-02 16:20:45 -06:00
Chris Hennes
6512dc69e9 Merge pull request #19761 from chennes/coverityFixesFeb2025
Base: Coverity fixes from February 2025 run (round 1)
2025-03-02 16:15:17 -06:00
mosfet80
5375025e8b Clean AppPartPy.cpp
Python version is always greater than 3.9
2025-03-02 16:13:55 -06:00
Roy-043
6c40857f0e Draft: fix Draft_Edit issue with Gesture navigation
Fixes #19519
2025-03-02 16:13:13 -06:00
Benjamin Bræstrup Sayoc
b386e461c2 Remove magic number and hard type enums in DrawViewPart.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
Benjamin Bræstrup Sayoc
738608db07 Remove magic number and hard type enums in DimensionValidator.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
Benjamin Bræstrup Sayoc
ee11eb188f Remove magic number and hard type enums in DrawViewDimension.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
Benjamin Bræstrup Sayoc
6184ed19aa Remove magic number and hard type enums in BalloonPropEnum.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
Benjamin Bræstrup Sayoc
e60c800a0b Remove magic number and hard type enums in ArrowPropEnum.h
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-03-02 17:14:24 +01:00
Chris Hennes
0c65673a6f Merge pull request #19789 from hyarion/spreadsheet-tests
Spreadsheet: Break down large tests into smaller units
2025-03-02 01:08:00 +00:00
Mino-Tsuzuku
9aef91b3ca fix #19723 SVG: transform attribute is not handled collectly (#19845)
* * Move pyopen with encoding to utils.
 and modify all importing library to use pyopen with encoding.
with this change, DXF OCA AirfoilDAT with multibyte sequence always read as utf-8.

* Fix SVG transform attribute is not handler collectly.
2025-03-01 19:06:46 -06:00
Chris Hennes
18ea2bf9d5 Merge pull request #19918 from furgo16/startpage-prefs
Start: add initial preferences page
2025-03-02 01:04:49 +00:00
Furgo
7a0fba1294 Move CustomFolder parameter migration to more appropriate location 2025-03-02 01:04:19 +00:00
Furgo
e23249ff45 Remove dead code 2025-03-01 20:11:59 +01:00
Joao Matos
c71e11101a Base: Modernize Python bindings APIs 2025-03-01 16:32:22 +00:00
Joao Matos
8e7c3e9f2f Tools: Update binding generator. 2025-03-01 16:23:54 +00:00
Furgo
aa1b6db5d4 Add Start label for Start page PRs 2025-03-01 16:17:08 +01:00
Furgo
4abbbe2adb Use the correct file chooser mode for folders, update tooltip 2025-03-01 01:31:07 +01:00
Furgo
a1f01bfd3b Add icon for Start page preferences tab 2025-03-01 01:10:36 +01:00
Furgo
77e75fec01 Add initial preferences page for Start 2025-02-28 19:10:46 +01:00
Chris Hennes
089605bb4d CI: Remove readability/todo check 2025-02-28 14:33:13 +00:00
Joao Matos
006feaf276 App: Remove old DAG implementation. 2025-02-28 14:32:32 +00:00
Kacper Donat
46b9ff9c50 Gui: Properly reset light directions
This fixes lights not getting reset after user demands so.
2025-02-28 14:25:57 +00:00