Commit Graph

39881 Commits

Author SHA1 Message Date
WandererFan
227cd14022 [TD]Fix bad circles (fix #16980) (#17182)
* [TD]fix spurious messages in GeometryMatcher

* [TD]fix closed circle test (fix #16980)
2024-10-14 17:47:04 +02:00
wandererfan
17e9f10ca7 [TD]throttle over aggressive dimension autocorrect 2024-10-14 17:45:53 +02:00
Jiří Pinkava
6ce4c38a61 Gui: add Qt Platform name to splashscreen information dump
There is several bugs in FreeCAD which are related to platform (mostly wayland),
the hope is this will make it easier to identify the dependence of bug on the platform
2024-10-14 17:44:53 +02:00
Furgo
6266e1c96a Assembly: make "Solve failed" error more verbose (#17117)
* Add FC_ERR macro for the 'Solve failed' Assembly error

* Handle standard exceptions during assembly solve

* [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-10-14 10:43:15 -05:00
Kris Wilk
7d4e114d92 Fix tab order in Add Property Dialog (VarSets) 2024-10-14 17:41:55 +02:00
Yorik van Havre
7dc6152a5f BIM: Fixed missing object creation in IFC document conversion (#17093)
* BIM: Fixed missing object creation in IFC document conversion - fixes #17031

* BIM: fixed deleting of non-existing objects - fixes #17032
2024-10-14 17:37:31 +02:00
Florian Foinant-Willig
df8c9d5def Disable closed Loft for less than 3 profiles 2024-10-14 17:35:54 +02:00
Jiří Pinkava
fed918a151 Gui: Workaround for crash on close of MDI window
The Qt6 (up to Qt 6.7.3 now) contains bug, which can lead, under
specific circumstances, to crash of the application, when the
MDI window is closed. The circumstances are:

* at least 2 MDI windows needs to be open
* stylesheet muset set different size (border, margin) for activated and un-activated tabBar tab
* the closed window must be inactive, but created before the window now active and open
* race condition must occur betwee the closing and resize event handlers for the tabBar
  (see qt bug for details)

So this bug only occures with Qt6 with the Dark or Light styles selected (no classic) and only if
specific sequence of steps is followed during opening and closing the MDI windows.

The bug is in Qt code path executed when QMdiArea::ActivationHistoryOrder is set.

The other possible workaround might be to change all the affected stylesheets, but this seems to me
impractical and also fragile, because the affected code path will be still active.

https://bugreports.qt.io/browse/QTBUG-129596
2024-10-14 10:32:53 -05:00
wmayer
95f0bd0a5c Part: Fix XML output of PropertyGeometryList::Save
Write all XML attributes of the Geometry element into a single line.

Currently the XML output looks:
                        <Geometry type="Part::GeomLineSegment"
 id="-1" migrated="1">

With the fix it will be:
                        <Geometry type="Part::GeomLineSegment" id="-1" migrated="1">
2024-10-14 09:07:46 -05:00
PaddleStroke
55b9ed8882 AssemblyObject.cpp : add failsafe checks 2024-10-14 08:58:35 -05:00
PaddleStroke
ed7f1b02f8 AssemblyObjectPyImp.cpp : make sure PyObjects are valid 2024-10-14 08:58:35 -05:00
PaddleStroke
fd432f2bdc JointObject: fix flip one part 2024-10-14 08:58:35 -05:00
marioalexis
0fb57dc7f0 Fem: Fix examples affected by Part workbench preference parameter 2024-10-14 08:51:50 -05:00
Shai Seger
34e618f524 Fix shader compilation error on linux. (#17236) 2024-10-14 08:51:11 -05:00
marioalexis84
35013a0afd Fem: Remove highlighted nodes if ccx finish without error - fixes #14855 (#17203) 2024-10-14 08:50:46 -05:00
PaddleStroke
292b4c22ad Assembly: Fix context menu 'Activate object' not working and causing crash (#17092)
* Assembly: Add setupContextMenu to ViewProviderAssembly.h

* Assembly: Fix right click 'activate object' menu not setting edit

* add QMenu header

* Add NOLINT

* Add one more space before //NOLINT or clang cries...

* Fix isInEditMode

* add isInEditMode to ViewProviderAssemblyPy.xml

* add isInEditMode to ViewProviderAssemblyPyImp.cpp

* update activeAssembly() in Utils to make sure isInEditMode
2024-10-14 08:29:49 -05:00
PaddleStroke
70142112f9 Assembly: Remove JointObject camera callbacks. And fix lock highlight. 2024-10-14 08:27:36 -05:00
Roy-043
673068e6dd Draft: Fix upgrade function: delete argument was ignored in case of draftify
Forum topic:
https://forum.freecad.org/viewtopic.php?t=91357
2024-10-14 08:19:03 -05:00
MisterMakerNL
4f5f90a71e fixing the checked toolbutton issue in Qsint
https://github.com/FreeCAD/FreeCAD/issues/17230
2024-10-14 08:14:09 -05:00
wmayer
f26c696500 PD: Fix crash when clicking on invalid edge in task panel
Fixes #10843
2024-10-13 13:34:14 -05:00
Eric Price
983829d0e2 Added new Feature to force-set Tolerance on a part 2024-10-12 19:47:15 +02:00
Eric Price
ddfb4fe61e Add very basic tolerance Information to GeometryCheck 2024-10-12 18:42:07 +02:00
Eric Price
6397fabb79 disable tesselation limit in ViewProviderGUI to prevent large parts from freezing FreeCAD 2024-10-12 18:41:23 +02:00
Pieter Hijma
68817a104e Gui: Fix showing multiple dialogs VarSet add prop 2024-10-11 08:55:15 -05:00
PaddleStroke
ab4b95a459 Assembly: Joint: add support to non ascii characters. 2024-10-10 20:36:54 -05:00
PaddleStroke
c6c4e8cc25 Assembly: Fix joint labels bad auto-rename issue. 2024-10-10 20:36:54 -05:00
wmayer
2d4049ef52 Core: Check returned pointer of convertSWIGPointerObj 2024-10-10 20:36:03 -05:00
marioalexis
72d5adf4a8 Fem: Remove reduntant info from geometry selector widget title 2024-10-10 20:33:54 -05:00
marioalexis
7da8bbdb47 Fem: Enable expression for the mesh Netgen task panel 2024-10-10 20:33:54 -05:00
marioalexis
0aec77952b Fem: Enable expression for the mesh region task panel 2024-10-10 20:33:54 -05:00
marioalexis
faa8bc2cf9 Fem: Enable expression for the mesh boundary layer task panel 2024-10-10 20:33:54 -05:00
marioalexis
c98af7fa83 Fem: Enable expression for the element geometry 2D task panel 2024-10-10 20:33:54 -05:00
marioalexis
02d62992b5 Fem: Enable expression for the element geometry 1D task panel 2024-10-10 20:33:54 -05:00
marioalexis
c88830e65f Fem: Enable expression for the centrif constraint task panel 2024-10-10 20:33:54 -05:00
marioalexis
7416a4eb62 Fem: Enable expression for the spring constraint task panel 2024-10-10 20:33:54 -05:00
marioalexis
f7f700eb1c Fem: Enable expression for the heat flux constraint task panel 2024-10-10 20:33:54 -05:00
PaddleStroke
5ce79a760b Assembly: Fix gear/belt switch on checkbox toggle 2024-10-10 20:26:18 -05:00
Syres916
6a3915316f [Gui] Disable the ability to change themes and preference packs... 2024-10-10 20:25:30 -05:00
marioalexis
b6dedffa5f Fem: Fix gap in constraint fixed symbol 2024-10-10 20:22:50 -05:00
Benjamin Nauck
752b7db98c Make sure splasher is stopped before showing dialog 2024-10-10 16:14:12 -05:00
Adrian Insaurralde Avalos
c3cd0831d4 CI: update lint action for ubuntu 24.04 2024-10-10 12:25:33 -03:00
Roy-043
f1b8efdcdd BIM: Remove calls to end_all_events to avoid Linux crash
Fixes #15723.
2024-10-10 13:47:09 +02:00
Paul Lee
5eb6fcf6fb [Arch] Bug: ArchRemove Creates Cyclic Dependency and TNP
FreeCAD Discussion Forum -
https://forum.freecad.org/viewtopic.php?t=91180&start=30#p786308
2024-10-10 10:06:09 +02:00
PaddleStroke
abc971254d Sketcher: Fix double click of wire and remove selection that was not working 2024-10-08 10:53:00 -05:00
PaddleStroke
4885b700b8 Core: Fix #7580 (#17013)
Fixes several undo/redo issues with the attachment dialog
2024-10-08 10:21:08 +02:00
PaddleStroke
29b719664b Assembly: Fix migrationScript2 error with bad joints (#17010)
* Fix migrationScript2 to handle bad joints
2024-10-07 18:48:38 -05:00
Bas Ruigrok
db4ab7e1f3 Gui: Fix Touchpad navigation style panning in edit mode 2024-10-07 12:40:35 -05:00
marioalexis
5438cc3a7f Fem: Add option to use old Netgen mesher implementation 2024-10-07 18:11:11 +02:00
Benjamin Bræstrup Sayoc
5b3ab4759d [Gui] TextEdit, zoom on Ctrl + wheel
Fixes #13861
2024-10-07 18:02:53 +02:00
marioalexis
ecaa200ad2 Fem: Use default size for mesh task panel quantity spin boxes 2024-10-07 17:55:39 +02:00