Commit Graph

34267 Commits

Author SHA1 Message Date
Chris Hennes
c566498d8f Merge pull request #12298 from NomAnor/visibility-icon
Add an icon to toggle the visibility of items in the tree view
2024-02-26 10:45:07 -06:00
PaddleStroke
fec1a86e30 Core: Tree: Allow reordering in root and groups allowing it (parts, groups 2024-02-26 10:42:21 -06:00
Florian Foinant-Willig
cc5d4146cf PartDesign_Helix: use computed wires
use the wires of the computed face instead of the selected ones.
2024-02-26 17:41:21 +01:00
Ladislav Michl
933fc55828 Base: Fix #12061
While rebasing after 794deeb0e5f6 ("fix readability-*:") a mistake was
make, causing  exception been thrown for every file opened. While there,
invert file test existence logic, so we return early on failure.

Fixes: a47f0a9b0a05 ("Base: Do not use else before return")
2024-02-26 17:39:33 +01:00
mos
037fbbc5c5 removed deprecaded functions
.

.
2024-02-26 17:38:01 +01:00
marioalexis
5350f94201 Fem: Update constraint symbols when moving reference shape - fixes #6093 2024-02-26 04:01:28 -03:00
marioalexis
08eb60037b Part: Make fromPlacement function return general trasformation 2024-02-26 04:01:28 -03:00
Chris Hennes
542c6ddaf8 Merge pull request #12553 from bgbsww/bgbsww-toponamingMakeElementSliceMirror
Toponaming: Part: make element slice mirror
2024-02-25 23:36:32 -06:00
Chris Hennes
641e3dbbb4 Update translations (#12557)
* Update 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-02-24 21:38:37 -06:00
wmayer
be3de50660 Sketcher: fixes #12343: Undo/Redo for sketcher constraints doesn't work correctly 2024-02-25 00:59:35 +01:00
wmayer
64a91968a3 MSVC: fix compiler warnings 2024-02-25 00:12:34 +01:00
wmayer
78ffa29629 Sketcher: expose the LabelDistance and LabelPosition members of Constraint to Python 2024-02-25 00:10:56 +01:00
wmayer
8d8d47df70 Gui: improve PropertyMaterialListItem 2024-02-24 23:59:58 +01:00
wmayer
190c3bf17a Gui: improve PropertyMaterialItem 2024-02-24 23:59:58 +01:00
wmayer
906e163e12 Gui: allow to set ranges for property item editors when used as sub-items 2024-02-24 23:59:58 +01:00
wmayer
b85aabcc88 Fixes #12586: FEM requires OpenMP 5.0 (e.g. GCC >= 9) 2024-02-24 21:11:06 +01:00
marioalexis84
7363daf166 Fem: Enable checkbox for references mesh groups - fixes #10071 (#12437) 2024-02-24 10:29:00 -06:00
Chris Hennes
7d824fc774 Addon Manager: Add sorting (#12561) 2024-02-23 22:33:20 -06:00
Chris Hennes
bc935c028f Addon Manager: Fix ZIP-based update 2024-02-23 22:31:36 -06:00
Ladislav Michl
282c44ead1 Gui: PythonWrapper: Do not steal reference
Foreign Python objects needs to be passed as Py::Object().
Py::asObject() is stealing reference and object might be garbage
collected even before dereferenced. Problem didn't show in the
original code because methods Py::asObject() was used in were
never called.

Fixes: 26babf4d3674 (Gui: Consolidate Python -> Qt class conversion)
2024-02-24 01:18:30 +01:00
bgbsww
a09da5af52 Correct incorrect comment 2024-02-23 11:54:32 -05:00
bgbsww
078bd87acb Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:37:47 -05:00
bgbsww
ea43c3a3f2 Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:24:44 -05:00
bgbsww
551bcbc17d Remove redundant from merge 2024-02-22 20:11:08 -05:00
bgbsww
678926cdae Merge branch 'main' into bgbsww-toponamingMakeElementSolid 2024-02-22 20:06:51 -05:00
bgbsww
e7d44e7594 Clean and add tests for makeElementSolid 2024-02-22 19:18:08 -05:00
Chris Hennes
6a763c395f Merge pull request #12523 from bgbsww/bgbsww-toponamingMakeElementTransform
Toponaming/Part: make element transform, _transform and gtransform
2024-02-22 17:46:19 -06:00
bgbsww
a3e97b7839 Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-22 17:28:35 -05:00
bgbsww
fe72c59e41 Toposhape/Part: Cleanups and tests for makeElementSlice, makeElementSlices, and makeElementMirror 2024-02-22 17:16:46 -05:00
FEA-eng
968859c542 FEM: Beam reduced integration (#12513) 2024-02-22 15:30:47 -06:00
Chris Hennes
48f73f49e8 App: Add PreCompiled.h to Varset cpp file (#12541)
* App: Add PreCompiled.h to Varset cpp file
2024-02-22 11:23:14 -06:00
Chris Hennes
3f81ead31b Addon Manager: Fix metadata license fetch and display 2024-02-22 11:22:51 -06:00
Zheng, Lei
75296929d6 Toposhape/Part: Transfer in _makETransform, makETransform, makEGTransform 2024-02-22 12:13:54 -05:00
Zheng, Lei
e5247001cb Toposhape/Part: Transfer in makESlice and makEMirror 2024-02-22 08:57:01 -05:00
bgbsww
1470616abe Toposhape/Part: clean, add tests for makeElementFillet and makeElementChamfer 2024-02-22 08:27:40 -05:00
Zheng, Lei
952ae46d49 Toposhape/Part: Transfer in makEFillet and makEChamfer 2024-02-22 07:40:59 -05:00
wmayer
572a2f4243 Gui: fix linter warnings 2024-02-22 11:47:48 +01:00
wmayer
f22bfcef9b Gui: fixes #12540: ‘ModuleShiboken’ was not declared in this scope 2024-02-22 11:47:48 +01:00
Chris Hennes
6f2a457e0b Merge pull request #12528 from bgbsww/bgbsww-toponamingMoveEqualOperator
Toponaming/Part:  Bring in = operator, resetMap and flushMap overrides, and fix affecte…
2024-02-21 16:08:32 -06:00
André Althaus
6dda38074a Unrelated changes from automatic code generation
These are mostly comment changes.
2024-02-21 19:28:33 +01:00
André Althaus
8ed244df3f Add a new preference for the visibility icons
Add a preference to Display->UI that allows the user to choose if
the visibility icons are shown in the tree view.
2024-02-21 19:28:28 +01:00
André Althaus
65cb454559 Add a function to recalculate the icons for use when the visibility icon preference changes 2024-02-21 19:25:13 +01:00
André Althaus
d0c3b0d01a Toggle visibility when clicking the visibility icon
If the visibility icon is enabled a mouse press on that part of the icon
toggles the visibility of the tree item.
2024-02-21 19:25:13 +01:00
André Althaus
00ed73b909 Add visibility icon
Prepends the visibility icon to the normal icon if enabled and uses
the result as the new icon.
2024-02-21 19:25:12 +01:00
André Althaus
a3a1b63abd Add visibility icons to resources
The icons are taken from https://github.com/realthunder/FreeCAD/tree/LinkMerge
2024-02-21 19:25:12 +01:00
bgbsww
91191c7be3 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00
Zheng, Lei
c6d443dfa5 Toposhape/Part: Transfer in makESolid 2024-02-21 12:00:51 -05:00
bgbsww
907f59dc40 Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-21 11:56:22 -05:00
Zheng, Lei
97b84fc9f6 Toposhape/Part: Transfer in _makETransform, makETransform, makEGTransform 2024-02-21 11:56:22 -05:00
wandererfan
1853dd8680 [TD]use correct tooltip in first/third angle 2024-02-21 11:46:18 -05:00