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
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
Zheng, Lei
b2dac5a97d
Toponaming/Part: Transfer makeElementBoolean in
2024-02-09 08:23:30 -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
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
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
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
bgbsww
42435333ff
Clean code and add tests
2024-01-28 11:04:34 -05:00
Zheng, Lei
d4012e1190
Transfer in makeElementShape
2024-01-28 10:57:13 -05:00
Chris Hennes
4740ac88f2
Tests/Toponaming: Post-merge cleanup
2024-01-27 14:01:35 -06:00
Zheng, Lei
f592b66ecb
Part/Toponaming: Add original code for makeShapeWithElementMap
...
Called TopoShape::makESHAPE in the original Toponaming branch. The code here has been modified as little as possible to get it to compile in current main.
2024-01-27 11:59:56 -06:00
Zheng, Lei
9aeb396d00
Transfer in MakeElementShell
2024-01-25 11:00:01 -05:00
bgbsww
5d40864811
Small cleanups
2024-01-22 16:14:20 -05:00
bgbsww
266d9c880a
Merge branch 'main' into bgbsww-toponaming-makeElementFace
2024-01-22 12:50:13 -05:00
bgbsww
26dbd32c15
lint / review cleanups
2024-01-22 11:01:19 -05:00
bgbsww
9edb6f58d5
ShapeMapper that works with OCCT7.8.0
2024-01-22 07:45:45 -06:00
bgbsww
d405fdadc4
Add tests, reformat to modern C++, clean
2024-01-21 15:34:46 -05:00
Zheng, Lei
e425b5b2db
Toponaming move makEFace as makeElementFace and dependencies
2024-01-17 20:38:50 -05:00
Zheng, Lei
8811a590b0
ShapeMapper code from RT branch to new TopoShapeMapper files
2024-01-16 20:11:43 -05:00
Chris Hennes
24c20a746b
Interim commit
2024-01-15 19:13:33 -06:00
Chris Hennes
99ad972319
Part/Toponaming: Merge makECopy from Toponaming
2024-01-15 19:07:18 -06:00
Chris Hennes
e78be6ca61
Part/Toponaming: Refactor to eliminate boolean blindness
2024-01-15 18:03:30 -06:00
Chris Hennes
f66a4e57d2
Part/Toponaming: Linter cleanup of makeElementWires
2024-01-15 16:39:48 -06:00
Chris Hennes
77c68ecb93
Part/Toponaming: makeElementWires linter cleanup
2024-01-15 16:39:44 -06:00
Chris Hennes
6f1af45dad
Part/Toponaming: Add original implementation of makEWires
...
Renamed to makeElementWires and modified to compile in the current codebase.
2024-01-15 16:38:45 -06:00
Chris Hennes
f0a734fed0
Part/Toponaming: Refactor makeElementCompound
...
Refactor to address linter issues, breaking up large methods, renaming variables, etc.
2024-01-15 18:17:32 +01:00
Zheng, Lei
c59bced261
Part/Toponaming: Add original code for makECompound
...
Renamed to makeElementCompound and modified as little as possible to get it to compile in the new framework. All required auxilliary methods are also brought in.
2024-01-15 18:17:32 +01:00
Chris Hennes
67e533826f
Part/Toponaming: Modify constructors to set owner of ShapeProtector
2024-01-12 10:00:45 -06:00
Pesc0
97c0dedabe
Part/Toponaming: Pesc0's work replacing ShapeProtector
...
In realthunder's original version this class was not derived from TopoDS_Shape, but rather duplicated
its interface and wrapped its non-const methods. This resulted in quite a lot of boilerplate, so in
the merged implementation we are now deriving from TopoDS_Shape and only overriding the non-const
methods. The downside is that if OCCT adds or changes methods we will have to add them proactively
to this class so that they don't bypass the TNP code.
2024-01-12 09:57:33 -06:00
Chris Hennes
ee2be48cd7
Part/Toponaming: Add original cache methods
2023-12-27 21:16:15 -06:00
Chris Hennes
e5b95c7522
Part/Toponaming: Clang-tidy cleanup of TopoShapeCache
...
Part/Toponaming: Move implementions to cpp file
Part/Toponaming: Automated code cleanup
Part/Toponaming: Address boolean blindess with HistoryTraceType
Part/Toponaming: More linter cleanup
Part/Toponaming: Add located and moved methods
Part/Toponaming: Moved and Located
Part/Toponaming: Add missing methods
Part/Toponaming: Add test framework for TopoShapeCache
Part/Toponaming: Add documentation provided by realthunder
Part/Toponaming: Extend tests for TopoShapeCache
Part/Toponaming: Rename getInfo to getAncestry
Part/Toponaming: Fix bug with newer OCCT
Part/Toponaming: Add final tests and tweak naming
Part/Toponaming: Address reviewer comments
2023-12-27 21:16:15 -06:00
Chris Hennes
68f43efa3e
Part/Toponaming: Add TopoShapeCache base implementation
...
Copied from RealThunder's TopoNaming branch and modified only as much as required to enable compilation.
2023-12-27 21:16:09 -06:00
wmayer
66fb1c7777
Part: refactor ViewProviderPartExt::getDetail
2023-08-25 19:23:18 +02:00
wmayer
b9e9fe435a
Part: modernize C++: use equals default
2023-08-22 15:14:03 +02:00
wmayer
31ed14db83
modernize C++: use noexcept
2023-08-07 16:06:58 +02:00
wandererfan
483238cc7f
[Part]add PropertyTopoShapeList
2023-03-01 14:24:40 +01:00
wmayer
d21f9791b5
Part: add method TopoShape::isPlanar()
2022-12-07 15:18:04 +01:00
luz paz
2f1ff7928b
Part: remove trailing whitespace
2022-11-15 14:19:30 -06:00