PartDesign: Update error message about multiple solids (#23286)

This commit is contained in:
FEA-eng
2025-08-22 20:29:50 +02:00
committed by GitHub
parent 26a7067e44
commit b7c233b94e
11 changed files with 32 additions and 11 deletions

View File

@@ -410,7 +410,7 @@ App::DocumentObjectExecReturn* Transformed::execute()
supportShape = refineShapeIfActive((supportShape));
if (!isSingleSolidRuleSatisfied(supportShape.getShape())) {
Base::Console().warning("Transformed: Result has multiple solids. Only keeping the first.\n");
Base::Console().warning("Transformed: Result has multiple solids. Only keeping the first. Or enable 'Allow Compounds' in the active body.\n");
}
this->Shape.setValue(getSolid(supportShape)); // picking the first solid
@@ -440,3 +440,5 @@ TopoDS_Shape Transformed::getRemainingSolids(const TopoDS_Shape& shape)
}
} // namespace PartDesign