Commit Graph

1720 Commits

Author SHA1 Message Date
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
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
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
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
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
Zheng, Lei
05a7bae6cb FeaturePartCommon code move in 2024-01-28 06:55:01 -07:00
Chris Hennes
4740ac88f2 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
Chris Hennes
ca6d9f9944 Part/Toponaming: Basic linter cleanup of makeShapeWithElementMap
No major refactoring.
2024-01-27 12:00:12 -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
4d12e338ec Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-23 08:14:07 -05:00
Chris Hennes
096c11e47f Merge pull request #12023 from bgbsww/bgbsww-patch-30
Initial code of mapSubElement Test
2024-01-22 16:02:00 -06:00
Chris Hennes
852c6ae7d3 Part/TopoShapeMapper: Add missing PreCompiled include 2024-01-22 15:57:54 -06:00