PD: Add onlyHaveRefined() to FeatureRefine

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

View File

@@ -104,11 +104,7 @@ short Pipe::mustExecute() const
App::DocumentObjectExecReturn *Pipe::execute()
{
if (onlyHasToRefine()){
TopoShape result = refineShapeIfActive(rawShape);
Shape.setValue(result);
return App::DocumentObject::StdReturn;
}
if (onlyHaveRefined()) { return App::DocumentObject::StdReturn; }
auto getSectionShape = [](App::DocumentObject* feature,
const std::vector<std::string>& subs) -> TopoDS_Shape {