+ Add option to refine solid on sketch-based features

This commit is contained in:
wmayer
2013-09-21 09:16:44 +02:00
parent 3c55434939
commit 79e9f108e6
11 changed files with 70 additions and 9 deletions

View File

@@ -134,6 +134,7 @@ App::DocumentObjectExecReturn *Groove::execute(void)
if (RevolMaker.IsDone()) {
TopoDS_Shape result = RevolMaker.Shape();
// set the subtractive shape property for later usage in e.g. pattern
result = refineShapeIfActive(result);
this->SubShape.setValue(result);
// cut out groove to get one result object
@@ -147,6 +148,7 @@ App::DocumentObjectExecReturn *Groove::execute(void)
if (solRes.IsNull())
return new App::DocumentObjectExecReturn("Resulting shape is not a solid");
solRes = refineShapeIfActive(solRes);
this->Shape.setValue(solRes);
}
else