PartDesign: Update missed error message about multiple solids (#23392)
* PartDesign: Update FeatureLoft.cpp * PartDesign: Update FeatureExtrude.cpp * PartDesign: Update FeaturePipe.cpp * PartDesign: Remove empty lines added by GitHub editor * PartDesign: Remove empty lines added by GitHub editor
This commit is contained in:
@@ -588,7 +588,7 @@ App::DocumentObjectExecReturn* FeatureExtrude::buildExtrusion(ExtrudeOptions opt
|
||||
this->rawShape = prism;
|
||||
prism = refineShapeIfActive(prism);
|
||||
if (!isSingleSolidRuleSatisfied(prism.getShape())) {
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: that is not currently supported."));
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: enable 'Allow Compounds' in the active body."));
|
||||
}
|
||||
prism = getSolid(prism);
|
||||
this->Shape.setValue(prism);
|
||||
@@ -598,7 +598,7 @@ App::DocumentObjectExecReturn* FeatureExtrude::buildExtrusion(ExtrudeOptions opt
|
||||
this->rawShape = prism;
|
||||
prism = refineShapeIfActive(prism);
|
||||
if (!isSingleSolidRuleSatisfied(prism.getShape())) {
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: that is not currently supported."));
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: enable 'Allow Compounds' in the active body."));
|
||||
}
|
||||
this->Shape.setValue(prism);
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ App::DocumentObjectExecReturn *Loft::execute()
|
||||
this->rawShape = boolOp;
|
||||
boolOp = refineShapeIfActive(boolOp);
|
||||
if (!isSingleSolidRuleSatisfied(boolOp.getShape())) {
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: that is not currently supported."));
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: enable 'Allow Compounds' in the active body."));
|
||||
}
|
||||
boolOp = getSolid(boolOp);
|
||||
Shape.setValue(boolOp);
|
||||
|
||||
@@ -423,7 +423,7 @@ App::DocumentObjectExecReturn *Pipe::execute()
|
||||
|
||||
if (!isSingleSolidRuleSatisfied(boolOp.getShape())) {
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception",
|
||||
"Result has multiple solids: that is not currently supported."));
|
||||
"Result has multiple solids: enable 'Allow Compounds' in the active body."));
|
||||
}
|
||||
|
||||
// store shape before refinement
|
||||
|
||||
Reference in New Issue
Block a user