Commit Graph

37100 Commits

Author SHA1 Message Date
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
Chris Hennes
47005e837f Merge pull request #12104 from Rexbas/navigation-fixes
Gui: Mouse navigation fixes
2024-02-12 10:56:35 -06:00
Florian Foinant-Willig
86e75037d9 Set Suppressed false if no shape 2024-02-12 17:55:51 +01:00
Florian Foinant-Willig
4d929d3301 [PD] Add a Suppressed property to disable a feature 2024-02-12 17:55:51 +01:00
PaddleStroke
b7656abfc5 Sketcher: change DSH framework so that tab cycle through OVP and widget parameters. 2024-02-12 17:48:35 +01:00
PaddleStroke
b3e4bf1031 Sketcher: DSH: add two shortcuts for DSH to use. Fix a small syntax error in polygon/rotate. 2024-02-12 17:48:29 +01:00
Paddle
f8b57283e5 Remove Copy/clone/move and RectangularArray from the toolbar/menu. But does not remove the code of these. 2024-02-12 17:48:29 +01:00
Paddle
c4720e56c1 Translate DSH : A replacement for rectangular array. 2024-02-12 17:48:22 +01:00
Adrian Insaurralde Avalos
b70dddb3b2 Fix warning in DlgMacroExecute.ui 2024-02-12 10:48:08 -06:00
Chris Hennes
70e707217e Merge branch 'main' into facemakerTranslationFix 2024-02-12 10:45:47 -06:00
mosfet80
7f3851fb64 CI: update setup-miniconda to version 3 and checkout to v4 (#12032)
Fix condaBasePath when useBundled is false, and there's no pre-existing conda

..other fix and improvements
Update sub_buildMacOSCondaIntel.yml

Revert
updated action checkout to version 4

updated setup-miniconda to version 3
2024-02-12 13:42:21 -03:00
PaddleStroke
458d9aea63 Update TopoShapeMapper.cpp 2024-02-12 08:53:02 -06:00
PaddleStroke
7ef3464a5f Update TopoShapeExpansion.cpp
...
2024-02-12 08:53:02 -06:00
PaddleStroke
8b4a211f13 Update TopoShapeExpansion.cpp
Fix I have not seen it's in the precompiled if but not in the precompile.h
2024-02-12 08:53:02 -06:00
PaddleStroke
fddab25ed8 Fix compilation failures in TopoShapeExpansion and TopoShapeMapper. 2024-02-12 08:53:02 -06:00
Roy-043
063bec95ca Help: Update prefs ui file
Specify `Gui::FileChooser::Directory` mode for `Gui::PrefFileChooser` and update path in tooltips.
2024-02-12 12:01:48 +01:00
pre-commit-ci[bot]
54d2f5a61d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-12 12:01:48 +01:00
Roy-043
bcd237fa5e Help: Fix path for off-line documentation
See: https://github.com/FreeCAD/FreeCAD-Help/pull/23
2024-02-12 12:01:48 +01:00
Roy-043
b11475f45c Arch: importIFC fix clone placement
Forum topic:
https://forum.freecad.org/viewtopic.php?p=738864#p739039
2024-02-12 11:52:21 +01:00
Roy-043
65b211259d Arch: Arch_Window fix clone recompute issue
See https://github.com/FreeCAD/FreeCAD/pull/11868#issuecomment-1937633689
2024-02-12 11:23:54 +01:00
Chris Hennes
d3a53f4a23 Addon Manager: Fix abort_all() code 2024-02-11 17:19:23 -06:00
Chris Hennes
269273e102 Addon Manager: Protect call to setTransferTimeout
Unsupported by Qt 5.12
2024-02-11 17:19:23 -06:00
Chris Hennes
92d2fcdb70 Addon Manager: Qt < 5.15 fallback for network timeout 2024-02-11 17:19:23 -06:00
Chris Hennes
4b0e2555f3 Addon Manager/Tests: Update license string in tests 2024-02-11 17:19:23 -06:00