Commit Graph

35910 Commits

Author SHA1 Message Date
wmayer
ca03d18355 Py3.12: initialize field 'tp_watched' 2024-02-12 11:41:49 -06:00
wmayer
0158b6fd2a Py3.12: harmonize with upstream of PyCXX 2024-02-12 11:41:49 -06:00
wmayer
70b8e7a07b 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
c425e675ba 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
5eabeff94e 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
395797d018 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
562aa28883 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
05916fcbd3 Fem: Enable "Stop CalculiX" button - fixes #11448 2024-02-12 11:35:59 -06:00
André
4fb4288905 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
2bd0a06991 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
3b6dda2d70 Resolve #12235: labels in Mod/Part/Gui/TaskAttacher.ui 2024-02-12 11:29:51 -06:00
marioalexis84
de13c4cb09 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
45e6e3561e 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
59107aab26 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
dc942368db Sketcher: CommandConstraint.cpp : modernize for loops and use some auto 2024-02-12 11:14:22 -06:00
PaddleStroke
4f508067ed Sketcher: Parallel: Ignore selected points instead of throwing an error. 2024-02-12 11:14:22 -06:00
mos
561803455e removed unused example 2024-02-12 11:12:25 -06:00
LemonBoy
8fc02829f1 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
bb52790710 Gui: Add ability to set coordinate system axis letter color
Fixes: #12172
2024-02-12 18:07:02 +01:00
Chris Hennes
32fe5564b9 Merge pull request #12171 from Rexbas/tux-remove-duplicate-icons
Tux: Remove duplicate icons
2024-02-12 11:05:24 -06:00
Max Wilfinger
4b71f44414 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
516a7dd2af Merge pull request #12104 from Rexbas/navigation-fixes
Gui: Mouse navigation fixes
2024-02-12 10:56:35 -06:00
Florian Foinant-Willig
056b90cce3 Set Suppressed false if no shape 2024-02-12 17:55:51 +01:00
Florian Foinant-Willig
f4763109c3 [PD] Add a Suppressed property to disable a feature 2024-02-12 17:55:51 +01:00
Adrian Insaurralde Avalos
ffb3fabd21 Fix warning in DlgMacroExecute.ui 2024-02-12 10:48:08 -06:00
mosfet80
7b5222ac7c 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
e078ec936f Update TopoShapeMapper.cpp 2024-02-12 08:53:02 -06:00
PaddleStroke
4ddd377208 Update TopoShapeExpansion.cpp
...
2024-02-12 08:53:02 -06:00
PaddleStroke
13f68fbb13 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
cfddbc2b4c Fix compilation failures in TopoShapeExpansion and TopoShapeMapper. 2024-02-12 08:53:02 -06:00
Roy-043
594e620d36 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]
5867aedd3b [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
d8e9c46e09 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
11bbc84b5c 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
d7b934ce02 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
pavltom
ff14c58ccc [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
Chris Hennes
37aba37baf Addon Manager: Use the installed macro icon 2024-02-10 18:38:20 -05:00
Chris Hennes
a636994a21 Merge pull request #12086 from bgbsww/bgbsww-toponamingMakeElementBoolean
Toponaming: makeElementBoolean
2024-02-10 12:14:20 -05:00
Roy-043
4d47aebad5 Merge pull request #12325 from Roy-043/Draft-ShapeString-improve-stick-font-detection-and-fix-fuse-error
Draft: ShapeString improve stick font detection and fix fuse error
2024-02-10 18:08:02 +01:00
Roy-043
c06ceba0da Draft: ShapeString improve stick font detection and fix fuse error
Forum topic:
https://forum.freecad.org/viewtopic.php?t=85147
2024-02-10 16:10:55 +01:00
Roy-043
dc8a817459 Merge pull request #12292 from Roy-043/Draft-importDXF.py-make_bezcurve-args-should-be-lowercase
Draft: importDXF.py: make_bezcurve args should be lowercase
2024-02-10 15:41:14 +01:00
Roy-043
ed88b0396b Merge pull request #12280 from Roy-043/Draft-Draft_Edit-restore-Relative-checkbox
Draft: Draft_Edit: restore Relative checkbox
2024-02-10 15:40:44 +01:00
bgbsww
a6095da2af Toponaming/Part: Add tests, dependencies, and cleanup 2024-02-09 16:42:20 -05:00
Chris Hennes
84f63b2b6b Addon Manager: Correct usage of QByteArray 2024-02-09 13:56:11 -06:00
Chris Hennes
4e19000836 Addon Manager: Correct connection check
The connection check code incorrectly handled the case of multiple incoming connections, interpreting them all as connection check signals.
2024-02-09 10:04:46 -06:00
Zheng, Lei
b2dac5a97d Toponaming/Part: Transfer makeElementBoolean in 2024-02-09 08:23:30 -05:00
JULIEN MASNADA
70d69cf90c Fixed access to Addon::Metadat::Url attributes (#12310) 2024-02-09 08:05:40 -05:00
Chris Hennes
6777b4843a Merge pull request #12189 from CalligaroV/toponamingTopoShapeWire
Toponaming makeElementWire
2024-02-08 20:59:26 -06:00
Chris Hennes
67fb5fb0e0 Addon Manager: Fix signals in connection check 2024-02-08 18:59:38 -06:00
marioalexis
86794b0378 Fem: Add support for cyclic symmetry - fixes #12155 2024-02-08 16:08:59 -06:00