PD: Add onlyHaveRefined() to FeatureRefine

This commit is contained in:
Chris Hennes
2025-02-07 21:44:43 -06:00
parent 9e70cac0be
commit 6edce0cafa
12 changed files with 67 additions and 91 deletions

View File

@@ -104,11 +104,7 @@ short Chamfer::mustExecute() const
App::DocumentObjectExecReturn *Chamfer::execute()
{
if (onlyHasToRefine()){
TopoShape result = refineShapeIfActive(rawShape);
Shape.setValue(result);
return App::DocumentObject::StdReturn;
}
if (onlyHaveRefined()) { return App::DocumentObject::StdReturn; }
// NOTE: Normally the Base property and the BaseFeature property should point to the same object.
// The only difference is that the Base property also stores the edges that are to be chamfered