Commit Graph

40490 Commits

Author SHA1 Message Date
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
Roy-043
cff2d4f8fb 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
14c88e288e 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
0b81e6e318 Draft: fix polar coords regression
Fixes #19961

Regression caused by #19179.
2025-03-03 17:07:20 +01:00
Chris Hennes
8593beb6f1 Gui: Add QOpenGLWidget to QtAll.h 2025-03-02 22:59:30 -06:00
marioalexis
7821b2e611 Fem: Update constraint symbol rotation 2025-03-03 00:02:11 -03:00
marioalexis
d2eb1b7ff3 Fem: Fix Elmer magnetodynamic boundary condition keyword 2025-03-03 00:02:11 -03:00
marioalexis
d4dca9fd93 Fem: Improve current density boundary condition 2025-03-03 00:02:02 -03:00
Chris Hennes
e94adfe164 Merge pull request #19951 from chennes/missingColorFix
Misc. compilation fixes
2025-03-02 17:32:51 -06:00
Chris Hennes
0a94747bf6 Spreadsheet: Fix old ref to name in doc 2025-03-02 17:23:26 -06:00
Chris Hennes
15a9efe356 Inventor: Fix old color ref 2025-03-02 17:09:19 -06:00
Chris Hennes
1a2070c36f 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
f2a8bc92af 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
1ea26a4a94 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
98537f00b1 Merge pull request #19626 from tritao/qt-gl-cleanup
Gui: Remove QtOpenGL.h.
2025-03-02 16:22:57 -06:00
Andrew
8605bc1747 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
50adb86a1f 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
54f43eb501 Clean AppPartPy.cpp
Python version is always greater than 3.9
2025-03-02 16:13:55 -06:00
Roy-043
cdfa386f87 Draft: fix Draft_Edit issue with Gesture navigation
Fixes #19519
2025-03-02 16:13:13 -06:00
Chris Hennes
bec9c2e405 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
a29895dd3c 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
b85dc0c2e7 Merge pull request #19918 from furgo16/startpage-prefs
Start: add initial preferences page
2025-03-02 01:04:49 +00:00
Furgo
6442ad581e Move CustomFolder parameter migration to more appropriate location 2025-03-02 01:04:19 +00:00
Furgo
a4bf8b5194 Remove dead code 2025-03-01 20:11:59 +01:00
Joao Matos
22dae7d1b6 Base: Modernize Python bindings APIs 2025-03-01 16:32:22 +00:00
Joao Matos
2e879c8982 Tools: Update binding generator. 2025-03-01 16:23:54 +00:00
Furgo
948f36eb05 Add Start label for Start page PRs 2025-03-01 16:17:08 +01:00
Furgo
05e1f49370 Use the correct file chooser mode for folders, update tooltip 2025-03-01 01:31:07 +01:00
Furgo
463d2025ec Add icon for Start page preferences tab 2025-03-01 01:10:36 +01:00
Furgo
3942ec7794 Add initial preferences page for Start 2025-02-28 19:10:46 +01:00
Chris Hennes
58dc95a2f2 CI: Remove readability/todo check 2025-02-28 14:33:13 +00:00
Joao Matos
6797cfdfbe App: Remove old DAG implementation. 2025-02-28 14:32:32 +00:00
Kacper Donat
09b6389c8e Gui: Properly reset light directions
This fixes lights not getting reset after user demands so.
2025-02-28 14:25:57 +00:00
marioalexis
01ce34e3c7 Fem: Update test 2025-02-28 14:53:27 +01:00
marioalexis
3d79de4ab3 Fem: Add support for Elmer static current solver - fixes #11895 2025-02-28 14:53:27 +01:00
paul
3f9ad28acf [BimShape2DView] Bug-Fix : Shape2DCut Not Working (#19316)
* [BimShape2DView]  Bug-Fix : Shape2DCut Not Working

GitHub Issue - https://github.com/FreeCAD/FreeCAD/issues/18947

* Update src/Mod/BIM/bimcommands/BimShape2DView.py

Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>

---------

Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>
2025-02-28 10:08:56 +01:00
mosfet80
bf1c057467 Clean ifc_tools.py (#19395)
* Clean ifc_tools.py

Removed dead code

Auto stash before rebase of "patch-47" onto "main"

* Update ifc_tools.py

revert wrong remove
2025-02-28 10:07:53 +01:00
Chris Hennes
cf25609491 Addon Manager: Show versions in update all 2025-02-27 18:36:07 +00:00
Chris Hennes
61c02090be Addon Manager: Add <bundle> and <other> 2025-02-27 18:15:53 +00:00
Roy-043
b021e39c54 Gui: put SolidWorks navigation style in A-Z order
#19568 adds the SolidWorks navigation style. In the Gui the new style appeared at the bottom of the list below 'Touchpad'. This PR restores the A-Z order of the list.
2025-02-27 15:03:27 -03:00
Roy-043
cca8a27aa4 Draft: Fix error in #19738 (#19896)
My bad. Goes to show that even 'simple' PRs must be tested.
2025-02-27 14:06:01 +01:00
Gaël Écorchard
ea08ac2888 Fix error on missing attribute IfcProject.Declares (#19398)
* [BIM] Use relative imports

Also fix other issues with imports.

Signed-off-by: Gaël Écorchard <gael@km-robotics.cz>

* [BIM] Avoid two bare except

Signed-off-by: Gaël Écorchard <gael@km-robotics.cz>

* [BIM] Replace not ... in with ... not in

Also fix whitespace between functions.

Signed-off-by: Gaël Écorchard <gael@km-robotics.cz>

* [BIM] Fix error with missing IFC2X3.IfcProject.Declares

Fix `entity instance of type 'IFC2X3.IfcProject' has no attribute 'Declares'`.

Signed-off-by: Gaël Écorchard <gael@km-robotics.cz>

---------

Signed-off-by: Gaël Écorchard <gael@km-robotics.cz>
Co-authored-by: Gaël Écorchard <gael@km-robotics.cz>
2025-02-27 13:58:13 +01:00
Roy-043
000de1c8f3 BIM: fix ArchAxis index errors
Fixes #19577

Apparently the ViewObject can be updated before the Shape of the objects has been changed. To catch this the number of edges is checked in the `onChanged` method of the ViewObject.

There was an additional index error if the Limit property was not zero.
2025-02-27 11:15:26 +01:00
Roy-043
202f4cf3af Draft: Fix error in #19738
My bad. Goes to show that even 'simple' PRs must be tested.
2025-02-27 10:41:54 +01:00
Chris Hennes
493e940da3 Merge pull request #19886 from chennes/tdAddMissingPrecomp
TD: Adding missing PCH include
2025-02-27 03:58:52 +00:00
xtemp09
0f68c0403a [Spreadsheet] Remove prepended apostrophe if cell content is copied into clipboard (#19781)
* [Spreadsheet] Remove prepended apostrophe if cell content is copied into
clipboard

Closes #10058.
2025-02-26 21:27:55 -06:00