Revise multiple solids message

This commit is contained in:
wandererfan
2018-07-04 19:17:50 -04:00
committed by Yorik van Havre
parent c74ea1d999
commit 7e781bcfd0
12 changed files with 17 additions and 17 deletions

View File

@@ -144,7 +144,7 @@ App::DocumentObjectExecReturn *Boolean::execute(void)
int solidCount = countSolids(result);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Boolean: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Boolean: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(result));

View File

@@ -127,7 +127,7 @@ App::DocumentObjectExecReturn *Chamfer::execute(void)
}
int solidCount = countSolids(shape);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Chamfer: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Chamfer: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(shape));

View File

@@ -306,7 +306,7 @@ App::DocumentObjectExecReturn *Draft::execute(void)
int solidCount = countSolids(shape);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Fuse: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Fuse: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(shape));

View File

@@ -120,7 +120,7 @@ App::DocumentObjectExecReturn *Fillet::execute(void)
int solidCount = countSolids(shape);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Fillet: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Fillet: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(shape));

View File

@@ -158,7 +158,7 @@ App::DocumentObjectExecReturn *Groove::execute(void)
int solidCount = countSolids(result);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Groove: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Groove: Result has multiple solids. This is not supported at this time.");
}
solRes = refineShapeIfActive(solRes);

View File

@@ -1259,7 +1259,7 @@ App::DocumentObjectExecReturn *Hole::execute(void)
int solidCount = countSolids(base);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Hole: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Hole: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(base);

View File

@@ -195,7 +195,7 @@ App::DocumentObjectExecReturn *Loft::execute(void)
return new App::DocumentObjectExecReturn("Loft: Resulting shape is not a solid");
int solidCount = countSolids(boolOp);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Loft: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Loft: Result has multiple solids. This is not supported at this time.");
}
boolOp = refineShapeIfActive(boolOp);
@@ -213,7 +213,7 @@ App::DocumentObjectExecReturn *Loft::execute(void)
return new App::DocumentObjectExecReturn("Loft: Resulting shape is not a solid");
int solidCount = countSolids(boolOp);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Loft: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Loft: Result has multiple solids. This is not supported at this time.");
}
boolOp = refineShapeIfActive(boolOp);

View File

@@ -228,7 +228,7 @@ App::DocumentObjectExecReturn *Pad::execute(void)
int solidCount = countSolids(result);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Pad: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Pad: Result has multiple solids. This is not supported at this time.");
}
solRes = refineShapeIfActive(solRes);
@@ -236,7 +236,7 @@ App::DocumentObjectExecReturn *Pad::execute(void)
} else {
int solidCount = countSolids(prism);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Pad: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Pad: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(prism));

View File

@@ -316,7 +316,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
int solidCount = countSolids(boolOp);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Pipe: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Pipe: Result has multiple solids. This is not supported at this time.");
}
boolOp = refineShapeIfActive(boolOp);
@@ -335,7 +335,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
int solidCount = countSolids(boolOp);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Pipe: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Pipe: Result has multiple solids. This is not supported at this time.");
}
boolOp = refineShapeIfActive(boolOp);

View File

@@ -185,7 +185,7 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
int prismCount = countSolids(prism);
if (prismCount > 1) {
return new App::DocumentObjectExecReturn("Pocket: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Pocket: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(prism));
@@ -213,7 +213,7 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
int solidCount = countSolids(result);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Pocket: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Pocket: Result has multiple solids. This is not supported at this time.");
}
solRes = refineShapeIfActive(solRes);

View File

@@ -127,7 +127,7 @@ App::DocumentObjectExecReturn* FeaturePrimitive::execute(const TopoDS_Shape& pri
int solidCount = countSolids(boolOp);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Additive: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Additive: Result has multiple solids. This is not supported at this time.");
}
boolOp = refineShapeIfActive(boolOp);
@@ -147,7 +147,7 @@ App::DocumentObjectExecReturn* FeaturePrimitive::execute(const TopoDS_Shape& pri
int solidCount = countSolids(boolOp);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Subtractive: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Subtractive: Result has multiple solids. This is not supported at this time.");
}
boolOp = refineShapeIfActive(boolOp);

View File

@@ -381,7 +381,7 @@ App::DocumentObjectExecReturn *Transformed::execute(void)
int solidCount = countSolids(support);
if (solidCount > 1) {
return new App::DocumentObjectExecReturn("Transformed: Result has multiple solids. Check parameters.");
return new App::DocumentObjectExecReturn("Transformed: Result has multiple solids. This is not supported at this time.");
}
this->Shape.setValue(getSolid(support));