Commit Graph

2836 Commits

Author SHA1 Message Date
LemonBoy
82582ace52 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
ad605d6e23 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
df7e783513 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
4ff2ee43d2 Resolve #12235: labels in Mod/Part/Gui/TaskAttacher.ui 2024-02-12 11:29:51 -06:00
Florian Foinant-Willig
1eb0444bd5 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
458d9aea63 Update TopoShapeMapper.cpp 2024-02-12 08:53:02 -06:00
PaddleStroke
7ef3464a5f Update TopoShapeExpansion.cpp
...
2024-02-12 08:53:02 -06:00
PaddleStroke
8b4a211f13 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
fddab25ed8 Fix compilation failures in TopoShapeExpansion and TopoShapeMapper. 2024-02-12 08:53:02 -06:00
bgbsww
7ef0b6ec61 Toponaming/Part: Add tests, dependencies, and cleanup 2024-02-09 16:42:20 -05:00
Zheng, Lei
10d95b9ce9 Toponaming/Part: Transfer makeElementBoolean in 2024-02-09 08:23:30 -05:00
Chris Hennes
03b41403fa Merge pull request #12189 from CalligaroV/toponamingTopoShapeWire
Toponaming makeElementWire
2024-02-08 20:59:26 -06:00
Chris Hennes
73d214a2ad Merge pull request #12295 from bgbsww/bgbsww-toponamingFeaturePartBoolean
Toponaming: transfer in FeaturePartBoolean
2024-02-08 13:29:38 -06:00
bgbsww
b2cbd7e5a7 Clean code and testing tweak 2024-02-08 11:09:36 -05:00
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
Zheng, Lei
d72896c28d transfer in FeaturePartBoolean 2024-02-06 21:09:00 -05: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
Chris Hennes
c7ac9ee848 Merge pull request #12064 from bdieterm/fixPlaneTransparency
Gui: add explicit transparency specification
2024-01-23 21:33:20 -06: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
bdieterm
240d1edda4 Part: add color transparency unit tests 2024-01-22 19:28:35 +01:00
bgbsww
5586c52069 Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-22 12:50:13 -05:00
Chris Hennes
37ec34df9d Merge pull request #12014 from bgbsww/bgbsww-patch-29
Toponaming ShapeMapper
2024-01-22 11:23:56 -06: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
bdieterm
62a6fab19b Gui: add explicit transparency specification 2024-01-21 17:41:31 +01: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