Commit Graph

35201 Commits

Author SHA1 Message Date
PaddleStroke
f9593d237d Assembly: Change 'Insert Link' name to 'Insert Component' Fixes #12165 2024-05-06 18:32:00 +02:00
PaddleStroke
8ae8573282 Assembly: InsertLink : Open File does partial opening. So no tab opens. 2024-05-06 18:32:00 +02:00
PaddleStroke
afa4a696ab Assembly: Fix Object disappears when dragging with slider #12449 2024-05-06 18:32:00 +02:00
PaddleStroke
a6752bf0cc Assembly: Insert: fix non-ascii names issue #12164 2024-05-06 18:32:00 +02:00
PaddleStroke
9aae3504ad Assembly: Fix JCS not drawing correctly when removing selection. 2024-05-06 18:32:00 +02:00
PaddleStroke
534cb58d50 Assembly : Fix : In Joint taskbox, deleting an element in the list should unselect it #10750 2024-05-06 18:32:00 +02:00
PaddleStroke
0270c25d69 Assembly : Typos 2024-05-06 18:32:00 +02:00
PaddleStroke
42e17ecf08 Assembly: Deactivate other tools when insert part is active. Fixes #12551 2024-05-06 18:32:00 +02:00
PaddleStroke
f66e23acc7 Assembly : Replace 'Insert as part' by 'Show only parts' 2024-05-06 18:32:00 +02:00
PaddleStroke
f63abc1cf2 Assembly: Fixed joint should not be active if no part is grounded. Fixes #12544 2024-05-06 18:32:00 +02:00
PaddleStroke
bf0146ca86 Assembly: Fix : Reversing Distance Joint Moves Grounded Part #12457 2024-05-06 18:32:00 +02:00
PaddleStroke
2d06d7d7d4 Assembly: Disable pre-solve for distance joints. 2024-05-06 18:32:00 +02:00
PaddleStroke
dc5f3bfe15 Assembly: Add drag mode for planar distances. 2024-05-06 18:32:00 +02:00
PaddleStroke
b537d0724a Assembly: Add DistanceType enum and getDistanceType function. 2024-05-06 18:32:00 +02:00
PaddleStroke
e96c154c03 Assembly : Fix Fixed joint shortcut. Improve distance joint tooltip. 2024-05-06 18:32:00 +02:00
PaddleStroke
684c424ccc Sketcher: fix OVP placement issue #13827 2024-05-06 12:30:43 -04:00
Kacper Donat
075f3872d4 Gui: Remove redundant overlay header
Fixes: #13349
2024-05-06 18:26:05 +02:00
wmayer
d89bece39a Gui: Replace TreeRank property with a simple int
This fixes that copied & pasted objects are not added at the end of the tree view.
See https://forum.freecad.org/viewtopic.php?p=755532#p755532
2024-05-06 18:24:20 +02:00
wmayer
638cbd02ae Gui: Do not reset placement when reordering top-level objects
This fixes #13690: Reordering top level objects destroys the Placement
2024-05-06 18:24:20 +02:00
wmayer
8a1c3ead0f Gui: fix some linter warnings 2024-05-06 18:24:20 +02:00
marioalexis84
42d772cb5e Fem: Reset field color bar - fixes #13695 (#13820)
* Fem: Reset field color bar - fixes #13695

* Fem: Hide input filter if new filer is created
2024-05-06 11:23:08 -05:00
Chris Hennes
0513f10193 Start: Fix selection and ordering of language (#13823)
Fixes #13814.
2024-05-06 11:22:19 -05:00
Chris Hennes
a2b0941540 Update translations
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
Max Wilfinger
302a202fa6 Change default UMF colors (#13781) 2024-05-06 11:16:48 -05:00
PaddleStroke
497ffd3d01 Measure: QuickMeasure: deactivate solids measures of volume/area because it's slowing down selection. 2024-05-06 18:12:14 +02:00
PaddleStroke
e5780a5e3d Core / Measure: Introduce QuickMeasure 2024-05-06 18:12:14 +02:00
Yorik van Havre
0262d56e89 Help: Removes use of WebGui (#13812)
* Help: Removes use of WebGui - fixes #13788

* [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-05-06 11:09:25 -05:00
LarryWoestman
9b528b0b43 CAM: Added tests for A, B, and C parameters to the linuxcnc post (#13702)
Also added code to keep A, B, C parameters from changing with --inches

Co-authored-by: LarryWoestman <LarryWoestman@users.noreply.github.com>
2024-05-06 11:08:43 -05:00
Florian Foinant-Willig
4499ea5b88 Fix 12755 (#13802) 2024-05-06 11:06:27 -05:00
Max Wilfinger
3d2419effc Sketcher / UI: Update Sketcher Toolbars (#13763)
* Update Sketcher toolbar UIs.
Group all create tools for arcs, conics.
Group toggle driving/active constraints.
Update arrangement of icons.

* Change default to unified coincidence tool.
2024-05-06 18:05:56 +02:00
wmayer
9cfd437214 Gui: simplify MainWindow::showDocumentation()
The Help module is now part of FreeCAD. So, there is no need any more to run the addon manager
2024-05-06 18:04:13 +02:00
Max Wilfinger
4a588df3b7 Add Std_Measure command to tool menu. (#13777) 2024-05-06 11:02:50 -05:00
Martin Rodriguez Reboredo
9759da82e4 Fixups with Qt6 enums (#13611)
* Python PySide enums to C++ converter

* Python IntFlags to C++ int in getStandardButtons

* Remove int conversion in mods Python sources
2024-05-06 18:02:18 +02:00
Zheng Lei
c24ace7f73 Gui: support toolbar drag and drop to status bar and menu bar (#13571)
* Gui: support toolbar drag and drop to status bar and menu bar

Closes FreeCAD/FreeCAD#12979

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

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

* Gui: improve toolbar handling in status and menu bar

* Gui: fix workbench tab bar orientation in status or menu bar

* Gui: remove workbench toolbar position settings

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-06 17:59:16 +02:00
farley
56b938e1de Update Tree.cpp
- Disable document activation when right-clicking
2024-05-06 17:57:15 +02:00
wmayer
913e409b24 Core: Fix crash when loading a file with v0.21 that was created with v0.22
In v0.22 a version number -1 is added to the material files to distinguish between old and new project file.
But v0.21 doesn't know about this version number and interprets it as number of elements instead.
Because this value is assigned to an unsigned type the value becomes 2**32 - 1. Now trying to create a container of this size requires > 280 GB
of RAM. On most systems FreeCAD new handler will jump in and raises a memory exception to stop the allocation. But an other systems with
plenty of RAM it's tried to allocate the memory and then may crash at some point.

This PR fixes this regression. It puts the version number to the MaterialList XML element as an optional attribute.
With this change FreeCAD v0.22 is still able to load projects that have been created prior to this change.
Additionally FreeCAD v0.21 can again load project files without crashing.

For more details see: https://forum.freecad.org/viewtopic.php?t=87268
2024-05-06 17:56:25 +02:00
marioalexis84
0e1e8ce141 Fem: Rescaling and transparency fix for heat constraint symbols (#13723) 2024-05-06 10:54:57 -05:00
marioalexis
1b6fa97472 Fem: Save and restore custom colors of elements in mesh - fixes #6131 2024-05-06 17:53:39 +02:00
PaddleStroke
2e7a1cf358 Sketcher: Dimension tool : add arc length 2024-05-06 17:50:17 +02:00
wmayer
1febe5cde8 Part: Create CompSolid/Compound/Shell if null before adding a sub-shape
Creating a shape with Part.CompSolid(), Part.Compound() or Part.Shell() is a null shape. In order to allow to append sub-shapes with the add()
method a valid shape must be created beforehand.

This fixes #13208
2024-05-06 17:45:58 +02:00
Bas Ruigrok
5ba93dd9f0 Gui: Improve lookAtPoint (#13556)
* Gui: Rename NavigationStyle::pan to setupPanningPlane

* Gui: Replace duplicate code with NavigationStyle::setupPanningPlane

* Gui: Use panning plane when hit point not found in lookAtPoint

Also enables navigation animations when pressing MMB while the mouse is not over an object

* Gui: Remove unused methods
2024-05-06 10:45:14 -05:00
sliptonic
d977689b47 Merge pull request #13529 from davesrocketshop/hardness_units_pr
Materials: Update Material Models
2024-05-06 10:43:32 -05:00
bgbsww
d7ade12dc3 Ensure we set up a valid sketch even with invalid external references 2024-05-06 17:42:38 +02:00
wmayer
4ea1ad58c8 PD: Fix crash when adding sketch to loft via tree view
The underlying problem is the method DocumentItem::updateItemSelection() where
the selection is altered. This may cause the destruction and recreation of the
DocumentObjectItems so that the passed pointer can become dangling.

The issue is fixed in two steps:
1. Add the method 'DocumentObjectItem *findItem(App::DocumentObject* obj, const std::string& subname) const'
   to safely re-access the item.
2. Add a boolean flag 'dirtyFlag' and the methods insertItem() and removeItem() to DocumentObjectData.
   This is needed to check when the iterator over the container becomes invalid.
2024-05-06 17:38:59 +02:00
sliptonic
92a9b3061d Merge pull request #13668 from Ondsel-Development/RefactorPostCommand
Refactor post command
2024-05-06 09:49:28 -05:00
sliptonic
6b25433fbf Merge pull request #13667 from Ondsel-Development/refactorsanity
refactor Sanity
2024-05-06 09:48:59 -05:00
WandererFan
644020f000 Merge pull request #13842 from WandererFan/fixDimRotation3
[TD]fix dimension autocorrect
2024-05-06 08:44:03 -04:00
Furgo
cf59ec5ade Revert missed change on the last commit 2024-05-06 11:32:10 +02:00
Furgo
5179a4b9c5 Look up materials with full path. Revert changes to the Material namespace 2024-05-06 11:32:10 +02:00
Furgo
4448f25923 Arch: adapt materials to new Materials path scheme 2024-05-06 11:32:10 +02:00