PD: fixes #0004567: Pattern from a feature type UpToFace and Offset > copy whole body

This commit is contained in:
wmayer
2021-02-24 17:08:20 +01:00
parent 2389b4779a
commit bc5311b3ee
4 changed files with 22 additions and 9 deletions

View File

@@ -189,7 +189,8 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
TopoDS_Shape prism = PrismMaker.Shape();
#else
TopoDS_Shape prism;
generatePrism(prism, method, base, profileshape, supportface, upToFace, dir, 0, Standard_True);
PrismMode mode = PrismMode::CutFromBase;
generatePrism(prism, method, base, profileshape, supportface, upToFace, dir, mode, Standard_True);
#endif
// And the really expensive way to get the SubShape...