Path.Area: fix thickening of pocket path

This commit is contained in:
Zheng, Lei
2017-06-21 11:43:32 +08:00
committed by wmayer
parent cbfc6ae742
commit 27aaaf7def

View File

@@ -1613,8 +1613,8 @@ TopoDS_Shape Area::getShape(int index) {
CAreaConfig conf(myParams);
// if no offset or thicken, try pocket
if(fabs(myParams.Offset) < Precision::Confusion() && !myParams.Thicken) {
// if no offset, try pocket
if(fabs(myParams.Offset) < Precision::Confusion()) {
if(myParams.PocketMode == PocketModeNone) {
myShape = toShape(*myArea,myParams.Fill);
myShapeDone = true;