[PD] Fix Pad uptoface with custom direction (#16539)

* [PD] Fix Pad uptoface with custom direction

* Add unit test
This commit is contained in:
Florian Foinant-Willig
2024-09-24 18:30:01 +02:00
committed by GitHub
parent 0ff7c3a38f
commit 490d6c5abc
4 changed files with 52 additions and 38 deletions

View File

@@ -625,7 +625,7 @@ App::DocumentObjectExecReturn* FeatureExtrude::buildExtrusion(ExtrudeOptions opt
}
if (faceCount == 1) {
getUpToFace(upToShape, base, supportface, sketchshape, method, dir);
getUpToFace(upToShape, base, sketchshape, method, dir);
addOffsetToFace(upToShape, dir, Offset.getValue());
}
else{