Fix can't pad a sketch on datum plane (#14397)

* Fix can't pad a sketch on datum plane

* Add a unit test for Pad a sketch on datum plane
This commit is contained in:
Florian Foinant-Willig
2024-06-10 18:21:32 +02:00
committed by GitHub
parent 430594ef81
commit 0b4e01047f
2 changed files with 20 additions and 2 deletions

View File

@@ -708,7 +708,7 @@ App::DocumentObjectExecReturn* FeatureExtrude::buildExtrusion(ExtrudeOptions opt
prism = refineShapeIfActive(prism);
this->AddSubShape.setValue(prism);
if (!base.isNull() && fuse) {
if (base.shapeType(true) <= TopAbs_SOLID && fuse) {
prism.Tag = -this->getID();
// Let's call algorithm computing a fuse operation: