PD: fix several issues in pad:

* pass boolean instead of int to setValue of PropertyBool
* support of symmetric option for two-length mode
* fix bug in TaskPadParameters::updateUI()
* remove strange acronyms from method names
This commit is contained in:
wmayer
2021-03-22 16:40:15 +01:00
parent 2d447d2560
commit 09f93b2e8d
4 changed files with 16 additions and 14 deletions

View File

@@ -590,6 +590,8 @@ void ProfileBased::generatePrism(TopoDS_Shape& prism,
Ltotal += L2;
if (reversed)
Loffset = -L;
else if (midplane)
Loffset = -0.5 * (L2 + L);
else
Loffset = -L2;
} else if (midplane)