Commit Graph

38426 Commits

Author SHA1 Message Date
PaddleStroke
b95c395d06 TechDraw: Fix Dimension tool being active at wrong times 2024-08-08 10:23:07 -04:00
bgbsww
fcd6d10748 Toponaming: fix loft mistake and complete test 2024-08-08 09:12:48 -05:00
bgbsww
4fd5b0b562 Toponaming: Additional element map changes to transform 2024-08-08 09:09:46 -05:00
Roy-043
f851eea6a8 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
046853262b [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
a0b44f8405 Toponaming: Fix PropertyTopoShape restore; tweak Loft test; missing TopoShape method. 2024-08-07 20:31:21 -05:00
Chris Hennes
9b898346a7 Revert "[PD] Revert 316506f, back to shell algo for some helix cases (#15678)"
This reverts commit 50add521d67939bfac2b259e54b77600fa03af25.
2024-08-06 18:54:46 -05:00
Jacob Oursland
acb88ad122 CI: Disable Windows conda due to mamba bug. 2024-08-05 12:31:04 -04:00
Chris Hennes
3deb8d96d2 Merge pull request #15734 from bgbsww/bgbsww-toponamingFixTopoShapeToHaveHasher
Toponaming: make sure TopoShapes have Hashers
2024-08-05 11:17:46 -05:00
luzpaz
753c86c66a 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
87664f6ce8 Assembly: Fix migrationScript2 2024-08-05 11:09:45 -05:00
MisterMaker
401642b355 Stylesheet-fixes V: The final frontier (#15742) 2024-08-05 11:07:49 -05:00
Yorik van Havre
2958648b66 BIM: Fixed nativeIFC psets loading - fixes #15436 2024-08-05 11:03:49 -05:00
marioalexis
271cc7ab35 Fem: Remove callback on right click during point marker selection - fixes #13694 2024-08-05 11:03:06 -05:00
bgbsww
8b6b43b073 Toponaming: add code to implement guessing missing references 2024-08-05 11:01:46 -05:00
FEA-eng
dfeb96ef08 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
a6eadd9f91 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
3b33d73b7e Sketcher: Modernize license text 2024-08-05 10:49:14 -05:00
Chris Hennes
7edf30a578 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
2cd760ac40 Add a command line option to keep application open after running tests 2024-08-05 10:47:59 -05:00
xtemp09
a721dae67a Fix the crash involving context menu
Closes #13637.
2024-08-05 11:43:56 -04:00
Yorik van Havre
23a9f47780 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
30863382de Merge pull request #15588 from cjmayo/ThemeSearchPaths
Remove icon ThemeSearchPaths option on Linux
2024-08-05 10:41:41 -05:00
Florian Foinant-Willig
84e25ed38d [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
1f67a96a66 cMake: ensure the Shiboken target exists before using it 2024-08-05 10:46:22 -04:00
bgbsww
8825e5dce1 Toponaming: reformat tnp tests 2024-08-04 17:57:38 -04:00
luzpaz
e4da596ac5 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
9e71d052a3 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
08ef98a293 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
66fad63dff [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
6269196acf Toponaming: use correct face maker 2024-08-02 21:55:51 -04:00
bgbsww
e425f2367f Toponaming: make sure toposhapes have hashers 2024-08-02 21:42:16 -04:00
marioalexis
c57817292e Fem: Handle PropertyError exception 2024-08-02 20:19:16 -03:00
marioalexis
f8a0a0a727 Fem: Fix link scope for Python objects 2024-08-02 20:19:16 -03:00
marioalexis
fd5eb34d6a Base: Add PropertyError exception 2024-08-02 20:19:16 -03:00
bgbsww
5f657bc1ce Toponaming: bring in code to fix delExternal breakage. 2024-08-02 14:13:38 -05:00
hasecilu
5c70bb70b8 Fix typos on Assembly & Sketcher WBs 2024-08-01 21:25:28 -05:00
Roy-043
1979f47714 BIM: Fix calculation of wall blocks
At the corners of the base wire the joint width was wrongly added.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=89504
2024-08-01 11:04:05 +02:00
hasecilu
4e2a6a68d9 BIM: Don't mark for translation names of CC licenses 2024-07-31 11:47:31 +02:00
wmayer
66dcb7d109 Windows: Sync StackWalker class with upstream 2024-07-30 13:09:35 -05:00
bgbsww
cfb4514df7 Toponaming: Update tests, implement missing subtractive operation tests,
fix helix and revolution
2024-07-30 09:12:58 -05:00
Roy-043
10f03c46fa BIM: Fix BIM Views panel open behavior on WB activation (#15617)
* BIM: Fix BIM Views panel open behavior on WB activation

Fixes #15524.

* Something obvious was missed...
2024-07-30 10:29:30 +02:00
MisterMaker
e6863d0d15 Stylesheet fixes part IV - A new hope (to be done for 1.0) (#15586)
* Qcolor dialog fixes

* Fix for white hoover on tabbar

* Changes active color and selected feature color

* update same colors in cfg

* fix for tab pan in material editor

* some fixes

mostly theme accent colors fixes.

* fixed text edit being cut off

https://github.com/FreeCAD/FreeCAD/issues/15603

* extend arrow fix

https://github.com/FreeCAD/FreeCAD/issues/15616

* checkboxes links qpushbuttons etc.

Fixed https://github.com/FreeCAD/FreeCAD/issues/15610#event-13642470770
and hopefully also
https://github.com/FreeCAD/FreeCAD/issues/15136#issuecomment-2254156398

* fixed selection-text color in the preference menu also White is white.

* forgot checkbox spacing for light

* colors update

fix for https://github.com/FreeCAD/FreeCAD/issues/15660#event-13670498420
and
https://github.com/FreeCAD/FreeCAD/issues/15620#issuecomment-2251144435

* Delete CMakeSettings.json

* get out of here

* title a tat higher

* change rubberband from white to blue to make it work with white background.

* setting the colors.

* tree colors
2024-07-29 17:31:17 -05:00
Chris Hennes
b8213ed656 Merge pull request #15661 from FEA-eng/mesh_gmsh_quasi_quad
MESH: Add missing Gmsh 2D algorithm (Quasi-structured Quad)
2024-07-29 15:28:11 -05:00
Chris Hennes
369a2f7654 Merge pull request #15652 from kadet1090/ui-fixes
Gui: Cosmetic Fixes
2024-07-29 11:26:58 -05:00
David Carter
5d90969c82 Material: PartDesign DiffuseColor custom attribute
PartDesign features did not inherit the custom attribute for
DiffuseColors as expected. The inheritance chain was incorrect. Also
added tests to ensure it's available.

fixes #15364
2024-07-29 11:24:46 -05:00
Chris Hennes
b78ca52aad Merge pull request #15624 from marioalexis84/fem-mesh_shape_object
Fem: Improve FemMeshShape objects
2024-07-29 11:13:43 -05:00
wandererfan
3bc2dde5bd [TD]fix autoscale loop
- checkfit and autoscale were calculating page size differently
2024-07-29 11:08:59 -05:00
fandaL
1cae7ffc3f FEM: FemMesh2Mesh fix quad elements 2024-07-29 11:07:18 -05:00
wmayer
f0a1f60aad Gui: Fix Gui.Control.showModelView() 2024-07-29 11:06:42 -05:00