Commit Graph

38442 Commits

Author SHA1 Message Date
Syres916
2995e6aeb7 [Gui] Ensure FreeCAD Classic theme is properly reset...
... but doesn't click Done and so when Preferences>General is opened the Theme displayed in the combobox is always FreeCAD Classic
2024-08-12 11:42:51 -04:00
Max
f79a230db1 Change default to not include the icon file to the file thumbnail on save.
Windows renders the application image on top so it appears twice.
Update example file thumbnails on start page to have a consistent background (classic theme) and remove the old FreeCAD logos.
2024-08-12 11:37:38 -04:00
Syres916
970dc4710d [Gui] Overlay hide mode improve contrast in both themes... 2024-08-12 11:37:06 -04:00
Chris Hennes
e52ef2a525 GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use
Q_OS_APPLE.
2024-08-12 11:34:39 -04:00
Chris Hennes
f846cc7acf Addon Manager: Fix Qt6 button name 2024-08-12 08:49:06 -04:00
Chris Hennes
6f849e1ce2 Merge pull request #15845 from bgbsww/bgbsww-toponamingTransformedFixes
Toponaming: Fix transformed; abstract index element name generation
2024-08-12 08:48:11 -04:00
MisterMaker
d62444e230 Update FeatureLoft.cpp (#15851)
caused compile issues on MSVC with PCH.
See
https://forum.freecad.org/viewtopic.php?t=89702
4925957185
2024-08-11 19:38:36 -04:00
Chris Hennes
7186c6861f Addon Manager: Ensure metadata exists before use 2024-08-11 14:21:28 -04:00
bgbsww
26b2631251 Toponaming: Squash to one index character in element names 2024-08-11 13:29:40 -04:00
luzpaz
b5281158f3 Fix various typos 2024-08-11 12:09:27 -04:00
bgbsww
25ba8ab223 Toponaming: Fix transformed; abstract index element name generation 2024-08-10 23:02:05 -04:00
bgbsww
99b753b006 Toponaming: Refactor out duplicated code using elementMap() 2024-08-10 10:47:01 -04:00
bgbsww
aab0b31aec Toponaming: Make FeatureThickness elementMap aware 2024-08-09 16:40:07 -04:00
Chris Hennes
362cf1c80e Gui: Fix crash in DlgSettingsLightSources
Fixes #13357
2024-08-08 21:34:28 -04:00
PaddleStroke
8339bd9618 TechDraw: ProjGroup Fix dim disappearing on upgrade. And also scale and scaleType properties not reappearing on downgrade. 2024-08-08 10:23:07 -04:00
PaddleStroke
ef4d79a383 TechDraw: add isDimCmdActive to remove code duplicates. 2024-08-08 10:23:07 -04:00
PaddleStroke
55588b9035 TechDraw: Fix Dimension tool being active at wrong times 2024-08-08 10:23:07 -04:00
bgbsww
4925957185 Toponaming: fix loft mistake and complete test 2024-08-08 09:12:48 -05:00
bgbsww
2b97b20a03 Toponaming: Additional element map changes to transform 2024-08-08 09:09:46 -05:00
Roy-043
f6c8850e80 Draft: Fix cursor scaling (#15745)
* Draft: Fix cursor scaling

The get_cursor_with_tail function was rewritten to match the Sketcher cursor code. Hopefully this fixes the scaling issue.

Related issue:
#13696

Related forum topic:
https://forum.freecad.org/viewtopic.php?t=89494

@maxwxyz
Can you check if this code fixes the issue? Apart from the size the 'hot' pixel should be checked. If you approach a vertical line from the left or right it should get highlighted at the same distance.
2024-08-08 12:07:34 +02:00
paul
f3910b386a [DraftBind] Bug-fix Consecutive Face Touch at Corner (#15350)
* [DraftBind] Bug-fix Consecutive Face Touch at Corner

Bug-fix Consecutive face (Wall segment) touch at corner.

Forum Discussion :  https://forum.freecad.org/viewtopic.php?p=769213#p769213

* [DraftBind] Bug-fix Consecutive Face Touch at Corner


Update following commit at https://github.com/FreeCAD/FreeCAD/pull/15350

* Minor formatting changes

coding_conventions.md says variable_names_without_capitals

* Use areColinear to find problematic edge pairs

It is clearer to use `areColinear` instead of `findIntersection` to detect problematic edge pairs.

@paullee0 Please check. Thanks.

* Use Shape.section() to find touching edges

Using `areColinear` indeed does not work here.

But the `findIntersection` function is very confusing IMO. It finds intersections for collinear edges which does not make sense.

Let's use `Shape.section()` instead.

Also improved the 'ascii art' a little.

* typo

* Some minor improvements.

* [DraftBind] Bug-fix Consecutive Face Touch at Corner

Update handling closed wire(s) case

* Typo

* [DraftBind] Bug-fix Consecutive Face Touch at Corner

Further update handling closed wire(s) case :

# if wires are closed, 1st & last series of faces might be connected
# except when
# 1) there are only 2 series, connecting would return invalid shape
# 2) 1st series of faces happens to be [], i.e. 1st edge pairs touch

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
2024-08-08 11:08:59 +02:00
bgbsww
4afbe73f51 Toponaming: Fix PropertyTopoShape restore; tweak Loft test; missing TopoShape method. 2024-08-07 20:31:21 -05:00
Chris Hennes
74e5c3fafb Revert "[PD] Revert 316506f, back to shell algo for some helix cases (#15678)"
This reverts commit dcfae6a897.
2024-08-06 18:54:46 -05:00
Jacob Oursland
270bb0122e CI: Disable Windows conda due to mamba bug. 2024-08-05 12:31:04 -04:00
Chris Hennes
4801300913 Merge pull request #15734 from bgbsww/bgbsww-toponamingFixTopoShapeToHaveHasher
Toponaming: make sure TopoShapes have Hashers
2024-08-05 11:17:46 -05:00
luzpaz
9b5b9cc45c labels.yml: Add 'Packaging/building' label for CMake related changes
Any changes to `cMake/` are packaging related and therefore label can be applied.
2024-08-05 11:16:06 -05:00
PaddleStroke
e2e613acaa Assembly: Fix migrationScript2 2024-08-05 11:09:45 -05:00
MisterMaker
7db8e118b7 Stylesheet-fixes V: The final frontier (#15742) 2024-08-05 11:07:49 -05:00
Yorik van Havre
33088e006a BIM: Fixed nativeIFC psets loading - fixes #15436 2024-08-05 11:03:49 -05:00
marioalexis
ca70e06a05 Fem: Remove callback on right click during point marker selection - fixes #13694 2024-08-05 11:03:06 -05:00
bgbsww
80045d0e88 Toponaming: add code to implement guessing missing references 2024-08-05 11:01:46 -05:00
FEA-eng
87cc683ccc FEM: Remove obsolete "Fix" property from a few examples to repair them (#15698)
* FEM: Update rc_wall_2d.py

* FEM: Update buckling_platebuckling.py

* FEM: Update equation_deformation_spring_elmer.py

* FEM: Update buckling_lateraltorsionalbuckling.py
2024-08-05 10:54:32 -05:00
Chris Hennes
1566dfa37a Merge pull request #15669 from marioalexis84/fem-link_scope_python_objects
Fem: Fix link scope for Python objects
2024-08-05 10:53:50 -05:00
Chris Hennes
ff693a4dc2 Sketcher: Modernize license text 2024-08-05 10:49:14 -05:00
Chris Hennes
a2f42c6596 CI: Update clang-tidy linter exclusion filter
Don't show an error on unknown NOLINT lines (presuming that someone is using a
newer version, etc.), nor formatting issues (which are handled outside the
linter). Clean up clazy checks to remove non-pod-static check, and to do the
Qt6 checks on main (instead of master)
2024-08-05 10:49:14 -05:00
bgbsww
441fbdd064 Add a command line option to keep application open after running tests 2024-08-05 10:47:59 -05:00
xtemp09
abb362f83a Fix the crash involving context menu
Closes #13637.
2024-08-05 11:43:56 -04:00
Yorik van Havre
aad060c0f0 Translations (#15689)
* 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-08-05 10:42:18 -05:00
Chris Hennes
ef7cbac494 Merge pull request #15588 from cjmayo/ThemeSearchPaths
Remove icon ThemeSearchPaths option on Linux
2024-08-05 10:41:41 -05:00
Florian Foinant-Willig
dcfae6a897 [PD] Revert 316506f, back to shell algo for some helix cases (#15678)
* [PD] Revert 316506f, back to shell algo for some helix cases

* fix test accuracy
2024-08-05 10:40:00 -05:00
Chris Hennes
c141cb3141 cMake: ensure the Shiboken target exists before using it 2024-08-05 10:46:22 -04:00
bgbsww
19b63630c6 Toponaming: reformat tnp tests 2024-08-04 17:57:38 -04:00
luzpaz
6fda739a14 labels.yml: Add Stylesheets + Differentiate between Mod and Topic labels (#15750)
Added the functionality for the labeler to recognize Stylesheet related PRs. Also annotated file to differentiate different types of labels (as opposed to sorting them all alphabetically).
2024-08-04 15:17:29 -05:00
Max Wilfinger
3d8cc4a465 GitHub: Add text to readme and the issue template to record macros for bugs (#15761)
* Add text to readme and the issue template that the user should record a macro when recreating the issue and sharing this macro in the issue.
Updated old links from master branch to main.
2024-08-04 15:15:58 -05:00
Chris Hennes
c87248e373 Merge pull request #14218 from oursland/conda-python3.12-qt6
CI: Add Conda Python 3.12 Qt6 to CI.
2024-08-04 14:02:26 -04:00
Syres916
c845c976aa [AddonManager] Fix regression introduced by #15676 (me)... (#15688)
* [AddonManager] Fix regression introduced by #15676...

...it disabled composite view for more than intended

* [AddonManager] Use QLibraryInfo major and minor version
2024-08-04 09:59:01 -05:00
bgbsww
c0c7bd647d Toponaming: use correct face maker 2024-08-02 21:55:51 -04:00
bgbsww
cd128984e1 Toponaming: make sure toposhapes have hashers 2024-08-02 21:42:16 -04:00
marioalexis
317a664cbd Fem: Handle PropertyError exception 2024-08-02 20:19:16 -03:00
marioalexis
db3f4f0642 Fem: Fix link scope for Python objects 2024-08-02 20:19:16 -03:00