Commit Graph

35735 Commits

Author SHA1 Message Date
wandererfan
9e080d13ce [TD]fix extension hole thread re scale/rotate 2024-01-26 10:02:36 -05:00
wandererfan
9e9cd1342a [TD]fix extension Extend function re scale/rotate 2024-01-26 10:02:36 -05:00
Chris Hennes
f9c8c1034b Addon Manager: Remove new-style type hints 2024-01-25 17:07:54 -07:00
Chris Hennes
7f14714706 Merge pull request #12087 from bgbsww/bgbsww-toponamingMakeElementShell
Toponaming makeElementShell
2024-01-25 12:49:07 -07:00
bgbsww
1aff0ca7f5 Tests for makeElementShell 2024-01-25 11:13:00 -05:00
Chris Hennes
ec545b4cec Addon Manager: Improve macro readme rendering 2024-01-25 09:02:27 -07:00
Zheng, Lei
9aeb396d00 Transfer in MakeElementShell 2024-01-25 11:00:01 -05:00
Roy-043
d646904ca7 Merge pull request #12089 from Roy-043/Draft-Draft_Scale-make-sure-scale-input-boxes-show-at-least-6-decimals
Draft: Draft_Scale: make sure scale inputboxes show at least 6 decimals
2024-01-25 16:51:51 +01:00
bgbsww
a5cf4bdd33 Tweak resetElementMap to default to empty defined element map (#12098)
* Tweak resetElementMap tp default to empty defined element map

* [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-01-24 21:24:08 -06:00
Ladislav Michl
1b3781c2fb Addon Manager: Qt6 fixes 2024-01-24 11:24:07 -06:00
Chris Hennes
a1f31282fd Addon Manager: Replace QtWebEngine with QTextBrowser
Macro display is still a work-in-progress.
2024-01-24 10:42:40 -06:00
Chris Hennes
63a6592f03 Merge pull request #12064 from bdieterm/fixPlaneTransparency
Gui: add explicit transparency specification
2024-01-23 21:33:20 -06:00
Roy-043
1a50e08411 Merge pull request #12085 from Roy-043/Arch-importDAE-DaeUnsupportedError-is-defined-in-common.py
Arch: importDAE: DaeUnsupportedError is defined in common.py
2024-01-23 20:09:31 +01:00
Roy-043
d76db39662 Draft: Draft_Scale: make sure scale inputboxes show at least 6 decimals
Fixes #7386.
2024-01-23 18:07:03 +01:00
Roy-043
497ed24317 Arch: importDAE: DaeUnsupportedError is defined in common.py
Forum topic:
https://forum.freecad.org/viewtopic.php?t=84626
2024-01-23 17:52:32 +01:00
Chris Hennes
c61ed484bd Merge pull request #12028 from bgbsww/bgbsww-toponaming-makeElementFace
Toponaming move makEFace as makeElementFace and dependencies
2024-01-23 08:45:21 -06:00
Chris Hennes
da0efefd83 Merge pull request #12054 from kadet1090/styling-elements-and-constraints-ui
Sketcher: Apply styling to elements and constraints UI
2024-01-23 08:40:48 -06:00
xtemp09
f1fe2bb3a8 Correction of #11775 2024-01-23 07:39:51 -06:00
bgbsww
4d12e338ec Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-23 08:14:07 -05:00
wandererfan
1567b90f39 [TD]fix Compass widget update in section 2024-01-22 20:02:54 -05:00
wandererfan
57d747a83c [TD]fix line number not saved for cosmetic edge 2024-01-22 20:02:54 -05:00
Chris Hennes
096c11e47f Merge pull request #12023 from bgbsww/bgbsww-patch-30
Initial code of mapSubElement Test
2024-01-22 16:02:00 -06:00
Chris Hennes
852c6ae7d3 Part/TopoShapeMapper: Add missing PreCompiled include 2024-01-22 15:57:54 -06:00
bgbsww
5d40864811 Small cleanups 2024-01-22 16:14:20 -05:00
bdieterm
f0eb40f155 Part: add color transparency unit tests 2024-01-22 19:28:35 +01:00
Max Wilfinger
b57a6b504c [Sketcher] enable BSpline commands in contextual right click menu 2024-01-22 12:21:01 -06:00
bgbsww
266d9c880a Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-22 12:50:13 -05:00
WandererFan
e72efde5eb [Import]fix linkage warning on linux/gcc (#12071)
* [Import]fix linkage warning on linux/gcc


https://stackoverflow.com/questions/41167119/how-to-fix-a-wsubobject-linkage-warning

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-22 14:37:33 -03:00
Roy-043
427e75707e Draft: ShapeString double escape backslash in string
Fixes 12058.
2024-01-22 14:35:34 -03:00
Roy-043
6e0112d5f8 Draft: Inform user that objects without a Shape cannot be cloned
Fixes #11923.
2024-01-22 12:31:02 -05:00
Roy-043
7a85dd07e1 Draft: Improve layer functions
The current make_layer function has a `None` default for the shape color and the line color. With that value the current preference is used. This, and how the function is called, results in some confusing behaviors:
* Newly created layers will only use 2 values from the preferences when they might use 5. The latter makes more sense for the end-user IMO.
* Layers created during DXF import (for example) will have a different shape color depending on the current preferences.
* The make_layer function may reapply colors that have already been set by the view provider.

To solve this all view property related function parameter have been changed to a not None value. If a None value is supplied the view property as set by the view provider is not changed. The Layer Manager has been updated accordingly.
I realize that calling a function with 6 None values is not very convenient, but think it is the solution that is least likely to break other exiting code.

Additionally:
* Removed the makeLayer function. Layers were introduced in V0.19 when the naming scheme was changed to "make_*". Maybe it was created by mistake, or before the actual renaming operation started, but it is safe to remove it now.
* Removed overly verbose messages.
* gui_layers.py had a missing import (result of a previous V0.22 PR): `from draftutils import utils`.
2024-01-22 11:29:13 -06:00
Chris Hennes
05f425eab9 Gui: Add missing override 2024-01-22 12:26:50 -05:00
Chris Hennes
5a7956cd61 Merge pull request #12014 from bgbsww/bgbsww-patch-29
Toponaming ShapeMapper
2024-01-22 11:23:56 -06:00
Chris Hennes
1ebcb6c99b Merge pull request #12012 from Ondsel-Development/radius_render_fix
[Sketcher] Improve rendering of arc-angle, line-angle, arc-distances and fix radius
2024-01-22 11:21:53 -06:00
Vincenzo Calligaro
1bd3b531aa [Core] [Preferences] Modernize for loop in DlgSettingsEditor.cpp (#12011)
* Preferences: modernize for loop in DlgSettingsEditor.cpp

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>

* Preferences: modernize for loop in DlgSettingsEditor.cpp
added textType and textColor variables to unpack range-for loops iterators

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>

* Update src/Gui/PreferencePages/DlgSettingsEditor.cpp

Minor linter updates, as suggested

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* Update src/Gui/PreferencePages/DlgSettingsEditor.cpp

Minor linter updates, as suggested

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-01-22 11:19:46 -06:00
mosfet80
049bd9c209 Update action.yml
Updated ccache
https://ccache.dev/releasenotes.html#_ccache_4_9
2024-01-22 14:19:02 -03:00
Paddle
a5d980ff59 Sketcher: Edges pattern and width by type. 2024-01-22 11:12:42 -06:00
bgbsww
17cab3e3ff Update src/Mod/Part/App/TopoShapeExpansion.cpp
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-01-22 12:12:21 -05:00
Adrián Insaurralde Avalos
9b14a56198 Merge pull request #11993 from Syres916/Tux_Nav_Style_Icon_Fix
[Gui] [Tux] Status Bar - Fix Nav Style Icons and theme recognition
2024-01-22 14:12:07 -03:00
Paddle
8889cc1163 Core: tree: prevent object replacement when dragging 2024-01-22 10:53:47 -06:00
xtemp09
fbb114c47c Fix occasional segmentation fault when exiting
Fixes #11521.
2024-01-22 10:49:52 -06:00
Chris Hennes
4d416016e5 Merge pull request #11537 from Ondsel-Development/copy_paste_2023
[Sketcher] Add copy/cut/paste sketcher commands
2024-01-22 10:45:22 -06:00
André Caldas
e6b5fd0a21 Does not rely on the pointervalue returned by getNameInDocument() to use as a DAG key.
In order to make getNameInDocument() always return a valid string,
we implement a getDagKey() method that shall be used instead of getNameInDocument()
when we want to use the pointer value as a "key" to identify the DocumentObject.
2024-01-22 10:40:24 -06:00
bgbsww
7f2d2050bd Single char constants 2024-01-22 11:29:41 -05:00
bgbsww
26dbd32c15 lint / review cleanups 2024-01-22 11:01:19 -05:00
marioalexis
500f3b6086 Material: Initialize types 2024-01-22 08:53:38 -06:00
Chris Hennes
d260e1df43 Merge pull request #12059 from 3x380V/pyside6_fixes
Pyside6 fixes
2024-01-22 08:03:32 -06:00
Chris Hennes
0c403ca2f1 Merge pull request #12061 from 3x380V/base_cleanup
Base cleanup
2024-01-22 08:01:17 -06:00
Ladislav Michl
d03a0dfcd7 Gui: Consolidate Python -> Qt class conversion 2024-01-22 06:58:17 +01:00
Ladislav Michl
3dd2fc8f0f Gui: Consolidate module error message in PythonWrapper 2024-01-22 06:58:17 +01:00