Commit Graph

2860 Commits

Author SHA1 Message Date
Zheng, Lei
8d5f411b22 Toponaming/Part: Transfer makEPipeShell 2024-02-16 21:01:49 -05:00
bgbsww
634e77498b Toponaming/Part: Clean and add tests 2024-02-16 14:01:12 -05:00
Zheng, Lei
9e23a3c086 Toponaming/Part: transfer in makELoft 2024-02-16 11:22:29 -05:00
bgbsww
7ae4542884 TopoNaming/Part: cleanups and tests 2024-02-16 11:22:29 -05:00
bgbsww
98269a5a21 TopoNaming/Part: cleanups and tests 2024-02-15 19:07:19 -05:00
Zheng, Lei
edc3857bdb TopoNaming/Part: transfer in MakERuledSurface 2024-02-15 19:05:55 -05:00
bgbsww
04491c32ed Toponaming/Part: Clean up linearize, add tests, and some delinting 2024-02-15 16:53:01 -05:00
Zheng, Lei
17a01963e0 Toponaming/Part: transfer in linearize 2024-02-15 14:21:32 -05:00
Chris Hennes
93e94d8868 Merge pull request #12414 from bgbsww/bgbsww-toponamingSearchSubShape
Toponaming/Part: Add  searchSubShape as findSubShapesWithSharedVertex
2024-02-15 12:49:42 -06:00
bgbsww
11075c396f Toponaming/Part: Add tests for searchSubShape 2024-02-15 12:36:23 -05:00
Zheng, Lei
0a1024350c Toponaming/Part: transfer in searchSubShape 2024-02-15 07:54:22 -05:00
Chris Hennes
456a6b25de Merge pull request #12405 from bgbsww/bgbsww-toponamingMakeElementDraft
Toponaming/Part: Transfer in MakeElementDraft
2024-02-14 21:10:56 -06:00
Chris Hennes
8229ae07ff Part/Toponaming: Apply clang-format to TopoShapeExpansion 2024-02-14 18:56:38 -06:00
bgbsww
c6ca3e41b6 Toponaming/Part: Cleanup and test makeElementDraft 2024-02-14 12:20:10 -05:00
LemonBoy
38afc1b118 Part Attacher: Implement 1D intersection for attachments (#12328)
* PD: Implement 1D intersection for attachments

Extract a line from the intersection of two faces.

Closes #6870

* fixup! Use Handle macro

For some reason I don't fully understand yet the CI was failing, let's
see if this fixes the compilation errors.

* fixup! Add missing(?) header

Well, it compiles just fine on my system...

* fixup! Be more specific in error messages
2024-02-13 17:45:01 -03:00
LemonBoy
4484a3f356 Part Grid: Exclude the grid group from bbox computation (#12349)
Fixes the problem where View_FitAll would compute a huge bounding box
when the infinite grid is enabled.

Closes #11570

Co-authored-by: wwmayer <werner.wm.mayer@gmx.de>
2024-02-13 17:42:51 -03:00
Chris Hennes
6fe05a9035 Merge pull request #12366 from bgbsww/bgbsww-toponamingGetSubTopoShape
Toponaming/Part:  Move getSubTopoShape
2024-02-13 14:09:24 -06:00
Zheng, Lei
2e772bab1f Toponaming/Part: move in makeElementDraft 2024-02-13 13:41:56 -05:00
bgbsww
8d05c3ac89 Toponaming/Part: clean, doc, and test getSubTopoShape 2024-02-13 10:14:39 -05:00
Zheng, Lei
9904ac83dd Toponaming/Part: transfer in getSubTopoShape 2024-02-13 10:01:17 -05:00
wmayer
e6bbc7f049 Part: use of ShapeMapHasher for code simplification 2024-02-12 12:02:17 -06:00
wmayer
ab88b8cb2f Part: add helper class ShapeMapHasher to reduce conditional inclusions 2024-02-12 12:02:17 -06:00
wmayer
a4600528bd Mod: remove leftovers of includes of Standard_math.hxx 2024-02-12 12:02:17 -06:00
Yorik van Havre
ae0f162a41 Crowdin translations (#12313)
* 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-02-12 11:59:08 -06:00
LemonBoy
8c21ae6ffe 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
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
Andrei Pozolotin
3b6dda2d70 Resolve #12235: labels in Mod/Part/Gui/TaskAttacher.ui 2024-02-12 11:29:51 -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
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
bgbsww
a6095da2af Toponaming/Part: Add tests, dependencies, and cleanup 2024-02-09 16:42:20 -05:00
Zheng, Lei
b2dac5a97d Toponaming/Part: Transfer makeElementBoolean in 2024-02-09 08:23:30 -05:00
Chris Hennes
6777b4843a Merge pull request #12189 from CalligaroV/toponamingTopoShapeWire
Toponaming makeElementWire
2024-02-08 20:59:26 -06:00
Chris Hennes
54bf37c54c Merge pull request #12295 from bgbsww/bgbsww-toponamingFeaturePartBoolean
Toponaming: transfer in FeaturePartBoolean
2024-02-08 13:29:38 -06:00
bgbsww
7b330a523e Clean code and testing tweak 2024-02-08 11:09:36 -05:00
CalligaroV
b186d16ca7 Part/Toponaming: makeElementWires
* Renamed enum classes members to lowercaseCapword
 * Moved struct ShapeHasher back to TopoShapeMapper.h
 * Added test for MapperMaker::generated
 * Modifications for clang-tidy warnings
 * Formatting

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-08 13:56:30 +01:00
CalligaroV
44abeca013 Merge branch 'main' of https://github.com/FreeCAD/FreeCAD.git into toponamingTopoShapeWire
# Conflicts:
#	src/Mod/Part/App/TopoShape.h
#	src/Mod/Part/App/TopoShapeExpansion.cpp
2024-02-07 23:51:49 +01:00
Zheng, Lei
1c77ebdeb0 transfer in FeaturePartBoolean 2024-02-06 21:09:00 -05:00
bgbsww
7c1afff2d9 Add Test for MakeElementRefine 2024-02-06 15:58:37 -05:00
Zheng, Lei
c4b36466e8 Transfer in makeElementRefine 2024-02-04 08:59:41 -05:00
bgbsww
d0a636ad7a Delinting pass 2024-02-03 18:33:07 -05:00
Zheng, Lei
c8061df71b Transfer in Geometry.x changes from RT branch 2024-02-01 17:48:32 -05:00
Vincenzo Calligaro
2ac19a9699 Toponaming shapeprotector Nullify() check (#12177)
* Moved the check inside the Nullify() method.

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-01-31 17:36:30 +01:00
PaddleStroke
78173fa790 Part: Add BRepFill_Generator to the OpenCascadeAll.h 2024-01-31 17:35:14 +01:00
bgbsww
408b4dcd85 Cleanup merge issues and linter concerns 2024-01-29 22:48:25 -05:00
CalligaroV
02eb22928e Merge branch 'main' into toponamingTopoShapeWire
# Conflicts:
#	src/Mod/Part/App/TopoShape.h
#	src/Mod/Part/App/TopoShapeExpansion.cpp
#	tests/src/Mod/Part/App/TopoShapeExpansion.cpp

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-01-29 19:41:56 +01:00
bgbsww
29213ecb57 Merge branch 'main' into bgbsww-toponamingMakeElementShape 2024-01-28 11:19:11 -05:00