Commit Graph

35945 Commits

Author SHA1 Message Date
PaddleStroke
7af02003d8 vector3d getAngleOriented test. 2024-02-13 08:26:49 +01:00
Paddle
cdb1af6543 Assembly : Add support for perspective camera.
Remove exportASMT from toolbar.
Fix Fixedjoint name and tooltip
Fix various bugs
Introduce solver drag functions.
2024-02-13 08:25:46 +01:00
Paddle
46b1a1ebfc Assembly: set the rotating joint visible when dragging. 2024-02-13 08:25:46 +01:00
Paddle
a0749888c4 Assembly: Enable part manipulation in active App::Part with the fixed joint. 2024-02-13 08:25:46 +01:00
Paddle
d13df26333 Assembly: Adds a pre-solve when creating joint, preventing wrong orthogonal solutions from solver. 2024-02-13 08:25:46 +01:00
howie-j
672b04c0c4 Assembly: Fixes FreeCAD#10748 (Card 4: Elements should highlight) 2024-02-13 08:25:46 +01:00
Paddle
48173f2b9d Assembly: Implement special drag mode for revolute. 2024-02-13 08:25:46 +01:00
Paddle
43019a8f34 Assembly: Add support for body subobjects (coordinate systems, datums...) and various fixes 2024-02-13 08:25:46 +01:00
Paddle
22e4d7f2dd Assembly: Change the joint placements to be relative to the object rather than to the doc origin.
This enable 'detaching' them, so that they are not recomputed
2024-02-13 08:25:46 +01:00
Paddle
4a119c43f1 Assembly: Add support to external objects. (And various fixes) 2024-02-13 08:25:45 +01:00
Paddle
323deff46a Assembly: Replace Tangent+Parallel+Planar by 'Distance'. 2024-02-13 08:25:45 +01:00
Paddle
d77cd7acf5 Assembly: Introduce core functionality of assembly workbench. 2024-02-13 08:25:45 +01:00
Paddle
13d4cb128a Update Ondsel Solver 2024-02-13 08:25:45 +01:00
Chris Hennes
a1fcb66536 Merge pull request #11267 from Ondsel-Development/pw_translate
[Sketcher] Translate DSH : replacement for rectangular array / move / copy / clone
2024-02-12 13:24:08 -06:00
Adrián Insaurralde Avalos
9c3ab15ecb Base: escape quotes in Quantity::getSafeUserString
fix #12204 and fix #12206
2024-02-12 12:09:30 -06:00
mosfet80
006f64b64e Clean SetupQt.cmake (#12335)
* Update SetupQt.cmake
2024-02-12 12:08:09 -06:00
mosfet80
b546b17342 Clean CompilerChecksAndSetups.cmake
CMAKE_CXX_COMPILER_VERSION are always greater than  3.9
2024-02-12 12:05:11 -06:00
wmayer
cc8452a545 Part: use of ShapeMapHasher for code simplification 2024-02-12 12:02:17 -06:00
wmayer
b45fcead7a Part: add helper class ShapeMapHasher to reduce conditional inclusions 2024-02-12 12:02:17 -06:00
wmayer
134a5f0f50 Mod: remove leftovers of includes of Standard_math.hxx 2024-02-12 12:02:17 -06:00
wmayer
e3a5703c1f Gui: check dialog width after language change 2024-02-12 12:00:11 -06:00
wmayer
4d6a5ee456 Gui: set minimum width of preferences dialog to avoid to truncate or hide controls 2024-02-12 12:00:11 -06:00
Yorik van Havre
638e398bec Crowdin translations (#12313)
* 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-02-12 11:59:08 -06:00
wmayer
b03ed3b42e Base: fix IsNormal() and IsParallel()
Fix the IsNormal() and IsParallel() methods to pass the unit tests
2024-02-12 11:58:45 -06:00
wmayer
5368465ec1 Tests: add unit tests for IsNormal() and IsParallel() 2024-02-12 11:58:45 -06:00
sliptonic
49b0889a8d Merge pull request #12247 from bgbsww/bgbswwFixTestArtifacts
Stop tests from leaving files around after execution
2024-02-12 18:56:21 +01:00
LemonBoy
82582ace52 Clear projected shape when changing extrude height
When the height is zero no solid is produced, the code was thus showing
the result of the previously selected projection height.

Closes #12113
2024-02-12 11:54:48 -06:00
LemonBoy
aa977648c3 Fix icon order in constraint menu
Closes #12264
2024-02-12 11:50:41 -06:00
wmayer
e03fcf9c3f Gui: fixes #12043: Treeview doesn't work if not in combo view mode 2024-02-12 18:46:29 +01:00
wmayer
100ab2a975 Py3.12: initialize field 'tp_watched' 2024-02-12 11:41:49 -06:00
wmayer
6043c90462 Py3.12: harmonize with upstream of PyCXX 2024-02-12 11:41:49 -06:00
wmayer
37e3cc91ee Gui: Give property editors an object name
This allows it to easily find the widgets with Qt's findChild() method
2024-02-12 11:41:09 -06:00
wmayer
ad605d6e23 Mesh: fixes #11985: 3MF export to Prusa with clone = open edge warnings on clone
See https://forum.freecad.org/viewtopic.php?p=738731#p738731
2024-02-12 11:40:45 -06:00
wmayer
df7e783513 Mod: fix several compiler warnings:
* fix -Wsometimes-uninitialized
* fix -Wunused-parameter
* fix -Wunused-variable
* fix -Winconsistent-missing-override
* fix -Wsign-compare
* fix -Wreorder-ctor
* fix -Wtautological-overlap-compare
2024-02-12 11:39:32 -06:00
LemonBoy
5af7933462 Avoid overriding ImagePlane size during import
When copying&pasting an ImagePlane whose ImageFile property is a
PropertyFile we'd get two updateData notifications, one when the
property value is restored (which doesn't do much as the file doesn't
exist yet) and another when the RestoreDocFile method is invoked.

The solution is simple, do not set Xsize and Ysize when importing the
object as we expect the properties to already have the correct values.

Closes #11036
2024-02-12 11:38:18 -06:00
mosfet80
aca71dfb05 removed unused code (#12276)
* removed unused code

* [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-12 11:36:57 -06:00
marioalexis
c7b7071308 Fem: Enable "Stop CalculiX" button - fixes #11448 2024-02-12 11:35:59 -06:00
André
571fa00292 Resolve #12248: Remove redundant and non-functional selection checkbox preference (#12263)
Remove the selection checkbox preference from Display->UI.
The same preference exists under General->Selection.

When changing the preference and then applying the settings, it reverts
back to the value under General->Selection and thus is not usable.
2024-02-12 14:34:28 -03:00
Roy-043
3b3ed05dc8 Draft: fix wrong selection after commands
Fixes #10469

The code of the `end_all_events()` function is by Chris Hennes (chennes).
See https://forum.freecadweb.org/viewtopic.php?p=656362#p656362.
2024-02-12 11:32:58 -06:00
Andrei Pozolotin
4ff2ee43d2 Resolve #12235: labels in Mod/Part/Gui/TaskAttacher.ui 2024-02-12 11:29:51 -06:00
marioalexis84
b8e460f2a2 Fem: Prevent selection of partially attached object - fixes #12163 (#12220)
* Fem: Use of wrong class name in macro
* Fem: Prevent selection of partially attached object - fixes #12163
2024-02-12 11:22:44 -06:00
Florian Foinant-Willig
1eb0444bd5 Part & PartDesign Cone: allow equal radii (#12219)
* PartDesign_Cone: allow equal radii

* fix R2 < R1

* Part_Cone: allow equal radii
2024-02-12 14:21:53 -03:00
Zolko-123
51f546f1f6 Update Mod/PartDesign/Gui/ViewProviderDatumCS.cpp
This is a small harmless visual improvement of the LCS representation in the 3D window: it leaves a small empty gap at the origin of the LCS which allows to select the point/vertex on which the LCS is attached
2024-02-12 11:20:20 -06:00
PaddleStroke
ada76964c3 Sketcher: CommandConstraint.cpp : modernize for loops and use some auto 2024-02-12 11:14:22 -06:00
PaddleStroke
f06bcf3163 Sketcher: Parallel: Ignore selected points instead of throwing an error. 2024-02-12 11:14:22 -06:00
mos
81d7d542e4 removed unused example 2024-02-12 11:12:25 -06:00
LemonBoy
fc6d4b6d0f Dim the Navigation Cube when not active
Implement the InactiveOpacity option, allowing the user to dim the
navigation cube when not focused by making it transparent.
2024-02-12 18:10:12 +01:00
Kacper Donat
e40131d4b8 Gui: Add ability to set coordinate system axis letter color
Fixes: #12172
2024-02-12 18:07:02 +01:00
Chris Hennes
913a5dd60f Merge pull request #12171 from Rexbas/tux-remove-duplicate-icons
Tux: Remove duplicate icons
2024-02-12 11:05:24 -06:00
Max Wilfinger
4164919e58 Improvements to contextual right click menu in Sketcher.
Consider preselection, external geo and copy/cut/paste commands.
2024-02-12 11:04:06 -06:00