Commit Graph

1691 Commits

Author SHA1 Message Date
CalligaroV
3066f74747 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
d9d6ae825e 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
46230c9a93 Add Test for MakeElementRefine 2024-02-06 15:58:37 -05:00
Zheng, Lei
31b7c3d145 Transfer in makeElementRefine 2024-02-04 08:59:41 -05:00
bgbsww
f3c9b8ee97 Delinting pass 2024-02-03 18:33:07 -05:00
Zheng, Lei
728a880078 Transfer in Geometry.x changes from RT branch 2024-02-01 17:48:32 -05:00
Vincenzo Calligaro
e6004ff6c9 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
e43b46c41f Part: Add BRepFill_Generator to the OpenCascadeAll.h 2024-01-31 17:35:14 +01:00
bgbsww
43e333771e Cleanup merge issues and linter concerns 2024-01-29 22:48:25 -05:00
CalligaroV
71e42f6a53 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
ff153e32e4 Merge branch 'main' into bgbsww-toponamingMakeElementShape 2024-01-28 11:19:11 -05:00
bgbsww
ac63598572 Clean code and add tests 2024-01-28 11:04:34 -05:00
Zheng, Lei
671b43c4d5 Transfer in makeElementShape 2024-01-28 10:57:13 -05:00
Zheng, Lei
90d36f60c3 FeaturePartCommon code move in 2024-01-28 06:55:01 -07:00
Chris Hennes
e24ed34867 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
Chris Hennes
d43fe277a7 Part/Toponaming: Basic linter cleanup of makeShapeWithElementMap
No major refactoring.
2024-01-27 12:00:12 -06:00
Zheng, Lei
d768706ebe 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
9f3d6543c6 Transfer in MakeElementShell 2024-01-25 11:00:01 -05:00
bgbsww
a6ee5f4df9 Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-23 08:14:07 -05:00
Chris Hennes
1a7e3848b9 Merge pull request #12023 from bgbsww/bgbsww-patch-30
Initial code of mapSubElement Test
2024-01-22 16:02:00 -06:00
Chris Hennes
c3091337c5 Part/TopoShapeMapper: Add missing PreCompiled include 2024-01-22 15:57:54 -06:00
bgbsww
6ec676799d Small cleanups 2024-01-22 16:14:20 -05:00
bgbsww
5586c52069 Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-22 12:50:13 -05:00
bgbsww
3fd886d58f Update src/Mod/Part/App/TopoShapeExpansion.cpp
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-01-22 12:12:21 -05:00
bgbsww
31a6eb5a4a lint / review cleanups 2024-01-22 11:01:19 -05:00
bgbsww
04e470a342 ShapeMapper that works with OCCT7.8.0 2024-01-22 07:45:45 -06:00
bgbsww
1490de0087 apply Comp to Comparator name change 2024-01-21 16:06:32 -05:00
bgbsww
d4c5906c5c Add tests, reformat to modern C++, clean 2024-01-21 15:34:46 -05:00
bgbsww
2699c748c8 Improve tests 2024-01-19 10:49:47 -05:00
bgbsww
21b7da61b3 Lint and other cleanups 2024-01-18 11:46:15 -05:00
Zheng, Lei
f4cc2df2bd Toponaming move makEFace as makeElementFace and dependencies 2024-01-17 20:38:50 -05:00
bgbsww
cfdbf79b2b Initial code of mapSubElement Test 2024-01-17 09:13:39 -05:00
bgbsww
969090b844 Move MapperMaker and MapperHistory out to future PR 2024-01-17 08:55:16 -05:00
Zheng, Lei
7d67c319ec Restore RT hash code for OCC < 7.8.0 2024-01-16 22:43:59 -05:00
Zheng, Lei
c1b296dab8 ShapeMapper code from RT branch to new TopoShapeMapper files 2024-01-16 20:11:43 -05:00
Chris Hennes
0e179297bd Interim commit 2024-01-15 19:13:33 -06:00
Chris Hennes
1a9f2716d2 Part/Toponaming: Merge makECopy from Toponaming 2024-01-15 19:07:18 -06:00
Chris Hennes
d9ea13ddec Part/Toponaming: Refactor to eliminate boolean blindness 2024-01-15 18:03:30 -06:00
Chris Hennes
920dbf9133 Part/Toponaming: Linter cleanup of makeElementWires 2024-01-15 16:39:48 -06:00
Chris Hennes
f659df97e9 Part/Toponaming: makeElementWires linter cleanup 2024-01-15 16:39:44 -06:00
Chris Hennes
574ebeae19 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
ed6230093f 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
4729dc6c59 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
fa0a25a777 Merge pull request #11896 from Pesc0/toponaming-shapeprotector
Toponaming shapeprotector
2024-01-14 21:03:09 -06:00
Chris Hennes
5088c63935 Part/Toponaming: Modify constructors to set owner of ShapeProtector 2024-01-12 10:00:45 -06:00
Pesc0
a74c6b3391 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
bgbsww
8abd09398a Add support for OCCT 7.8.0 (#11909) 2024-01-09 19:47:25 -06:00
Chris Hennes
2dc5e8de5b Part/Toponaming: clang-tidy cleanup of cache calls 2023-12-27 21:16:59 -06:00
Chris Hennes
58e53c1b22 Part/Toponaming: Add original cache methods 2023-12-27 21:16:15 -06:00
Chris Hennes
48a857e808 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