0000735: Feature request for better Fillet/Chamfer

This commit is contained in:
wmayer
2013-07-07 16:13:38 +02:00
parent e3b0c111be
commit 2b0757c3a6
8 changed files with 113 additions and 15 deletions

View File

@@ -74,7 +74,11 @@ App::DocumentObjectExecReturn *Fillet::execute(void)
TopoDS_Shape shape = mkFillet.Shape();
if (shape.IsNull())
return new App::DocumentObjectExecReturn("Resulting shape is null");
ShapeHistory history = buildHistory(mkFillet, TopAbs_FACE, shape, base->Shape.getValue());
this->Shape.setValue(shape);
PropertyShapeHistory prop;
prop.setContainer(this);
prop.setValue(history);
return App::DocumentObject::StdReturn;
}
catch (Standard_Failure) {