Commit Graph

29271 Commits

Author SHA1 Message Date
Chris Hennes
ef26846c93 Addon Manager: Don't crash on bad XML
Wrap all metadata reads in try/except blocks and gracefully bail out if the data is bad.
2024-09-19 08:45:37 -05:00
Roy-043
4bfeaa86e4 BIM: show AutoUpdate of existing ArchSchedule
Fixes #16655.
2024-09-19 14:17:45 +02:00
Yorik van Havre
b97362bf0a Translations (#16582)
* updated ts files

* merged crowdin translations

* [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>
2024-09-19 09:36:54 +02:00
Syres916
5fd27dbd03 [Draft] Improve the color activation and ability to change… (#16603)
* [Draft] Improve the color activation and ability to change size of the snap text

* [Draft] Correct dimension text size calculation
2024-09-19 09:03:33 +02:00
bgbsww
888391414d Sketcher: Do not consider missing external geometry to be an error (#16590)
* Do not consider missing external geometry to be an error; highlight in conflict color.
2024-09-18 15:18:11 -05:00
hlorus
8fb03c0583 MeasureGui: Auto close task on document deletion 2024-09-18 13:03:56 -05:00
Benjamin Bræstrup Sayoc
a76143b4ca Revert "[Measure] Fix redundant variable assignment"
Fixes #16564. This reverts commit a7831eee4b.

Co-authored-by: Murmele <Murmele@users.noreply.github.com>
2024-09-18 08:36:22 -05:00
bgbsww
0f5af54069 If we are creating a Sketch inside a Body that is in a link, use link position 2024-09-18 08:35:20 -05:00
hlorus
91a45c2277 Measure: Use getGlobalPlacement method (#16251)
* Initial commit to apply delta also for interactive measurement

* Not required special logic to check if possible, it can be easily checked if the property exists

* remember setting so it is not required to turn it always on

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Measure: Use getGlobalPlacement method

Fixes #16058

---------

Co-authored-by: Martin Marmsoler <martin.marmsoler@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-16 18:05:21 +02:00
Yorik van Havre
dc26d641e0 Merge pull request #16558 from CalligaroV/toponaming-sketcher-ViewProviderSketch-addSelection2-call-convertSubName
Sketcher/Toponaming: call SketchObject::convertSubName() in Gui selections
2024-09-16 18:01:23 +02:00
Yorik van Havre
21663bba4a Merge pull request #16433 from marioalexis84/fem-mesh_netgen
Fem: New implementation of FemMesh Netgen object
2024-09-16 17:56:56 +02:00
Yorik van Havre
e4d12626ac Merge pull request #16515 from marioalexis84/fem-meshing_no_blocking
Fem: Enable cancel meshing for Gmsh - fixes #5914
2024-09-16 17:53:29 +02:00
Yorik van Havre
78a95759eb BIM: Support for IfcOpenShell 0.8 2024-09-16 09:51:34 -06:00
bgbsww
16129930ab Add override flag for recomputes; set it in relevant tests with old files. 2024-09-16 17:49:35 +02:00
bgbsww
4a04a7eb91 Move code for recompute dialog and disable warning 2024-09-16 17:49:35 +02:00
Shai Seger
8ab7ea57ff [Cam Simulator][1.0] Limit anti alias samples for better compatibility. (#16416)
* Limit anti alias samples for better compatibility. might solve Wayland problem, issue #15665

* Antialias samples are taken from display prefs

* [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>
2024-09-16 10:42:05 -05:00
Jiří Pinkava
a87701916f Sketcher: initialize geometry history limit variable (#16337)
* Sketcher: initialize geometry history limit variable

The variable seems to be uninitialized, valgrind complais about it.

The `git grep geoHistoryLevel` and the code ispection suggest it is never set.
If initialized to zero, most of the related code is never used, which
can point to the fact there is either another bug or the code is unused.

The variable was introduced in 58a0bb40ed.

* Sketcher: Default geoHistoryLevel to 1

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-09-16 17:41:12 +02:00
wandererfan
9e86a3558f [TD]allow SaveCopy from MDIViewPage (fix #16447) 2024-09-16 17:35:51 +02:00
Roy-043
d282334099 BIM: exportIFC.py fix UnboundLocalError
As shown in the image here:
https://github.com/FreeCAD/FreeCAD/issues/16485#issue-2523042111
2024-09-16 13:37:56 +02:00
Jiří Pinkava
de0edd5b59 BIM: refactor wellcome window, drop most obvious comment 2024-09-16 13:27:25 +02:00
Jiří Pinkava
aab4451249 BIM: drop unnecessary setPixmap from wellcome window
The image is already set in the UI file, it is not necessary to set it again
2024-09-16 13:27:25 +02:00
Jiří Pinkava
3f24172325 BIM: adjust size of wellcome window to fit content
The actual optimal size of the window depends on many details, like UI style, system fonts,
OS etc ... so lets auto-resize the window to fit the content before display.
2024-09-16 13:27:25 +02:00
Roy-043
4f7aae94c1 Draft: Fix regression with layer print color
Problem with the same cause as #16212.
2024-09-16 10:07:40 +02:00
hoshengwei
b0b2578495 fix Material TaskPanel Load Preset not working bug 2024-09-16 10:03:26 +02:00
marioalexis
cc0cdcf138 Fem: Replace old FemMesh Netgen object implementation 2024-09-16 00:06:20 -03:00
marioalexis
0a8ba60620 Fem: Enable cancel meshing for Gmsh - fixes #5914 2024-09-15 21:04:41 -03:00
marioalexis
1272be317b Fem: Add base class for FemMesh task panels 2024-09-15 21:03:17 -03:00
marioalexis
9ec44feb53 Fem: New implementation of FemMesh Netgen object 2024-09-15 20:49:38 -03:00
marioalexis
352eeff000 Fem: Add set of mesh elements from a list 2024-09-15 20:47:09 -03:00
marioalexis
0167773382 Fem: Add base class for FemMesh task panels 2024-09-15 20:46:08 -03:00
CalligaroV
5036f09086 Do the same for the elements selected in the Task Panel
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-15 19:54:09 +02:00
Zheng, Lei
5b60514217 Sketcher/Toponaming: call SketchObject::convertSubName() in ViewProviderSketch::addSelection2() 2024-09-15 19:26:48 +02:00
Yorik van Havre
5c38080296 Draft: Fixed restrained movement - Fixes #16386 2024-09-13 13:20:45 -06:00
Chris Hennes
8e070a7c14 Merge pull request #15262 from Rexbas/fix-alignment-direction
Move getGlobalPlacement() and fix alignment direction for transformed objects
2024-09-13 13:09:23 -06:00
Chris Hennes
d264804f41 Merge pull request #16480 from benj5378/measurementSegFault
[Measure] Redirect enter key press to apply button
2024-09-13 08:42:41 -05:00
wmayer
3d5551c6b8 Port: Include changes of FreeBSD port 2024-09-13 08:31:54 -05:00
Yorik van Havre
d804fb10ab Draft: Fixed function case 2024-09-13 15:00:47 +02:00
Yorik van Havre
54a811354d Draft: Fixes error in Draft trackers when not on a 3D view 2024-09-13 15:00:47 +02:00
hoshengwei
84bd1ab3a5 fix ArchMaterialTaskPanel wrong import BimClassification Path
1. fix ArchMaterialTaskPanel wrong import BimClassification Path and icon after BIM merge into Arch

2. change taskpanel name to BIM material 

3. fix Qt slot and signal (more up to date style)
2024-09-13 12:11:56 +02:00
Roy-043
d10b1ba96a Use max instead of if-else for numerical checks (as per linter warning) 2024-09-13 12:07:52 +02:00
Roy-043
9ec88feabc Draft: fix division by zero and count is zero for path arrays
Fixes #16468.
2024-09-13 12:07:52 +02:00
Chris Hennes
7aa9aeb8af Merge pull request #16451 from wwmayer/fix_qt6_warnings
Fix Qt6 warnings
2024-09-12 21:22:37 -05:00
Scott Noyes
8066aa8c09 consistent preposition 2024-09-12 21:17:55 -05:00
Chris Hennes
7831bf06d1 Merge pull request #16355 from CalligaroV/Sketcher-checkSubName-from-LS3
Sketcher/Toponaming: import SketchObject::checkSubName() from LS3
2024-09-12 21:11:39 -05:00
Benjamin Bræstrup Sayoc
b0928cf115 [Measure] Redirect enter key press to apply button
Fixes #16401. Now call of the save function is dependent on whether the apply button is enabled. The button is only enabled if valid objects to save.
2024-09-12 16:23:17 +02:00
Benjamin Bræstrup Sayoc
b64cd15535 [Measure] Fix redundant variable assignment 2024-09-12 16:17:29 +02:00
luzpaz
cd7c56eda9 TechDraw: fix typo ballon->balloon 2024-09-12 09:25:40 -04:00
Yorik van Havre
e3fa0266fb BIM: Fixed bug in BimViews - fixes #16452 2024-09-12 14:30:41 +02:00
Furgo
1e84a82ed9 Check location and call corresponding addObject, add missing import. Fixes #16435 2024-09-12 14:29:10 +02:00
wmayer
265909da4a StartPage: Make sure to pass a container widget to the QScrollArea
Fixes #16047: FreeBSD: Segfault in StartView::firstStartWidgetDismissed
2024-09-12 12:04:23 +02:00