From 8f336dcd34b65f69a5bab23b234d06d66b076005 Mon Sep 17 00:00:00 2001 From: gdd Date: Mon, 26 Apr 2010 12:25:14 +0000 Subject: [PATCH] Correction for the case R1Ext == R2Ext (result was not a block) --- src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx index 3647152ff..b27b241d8 100644 --- a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx @@ -940,7 +940,8 @@ bool GEOMImpl_IAdvancedOperations::MakePipeTShapePartition(Handle(GEOM_Object) t Handle(TColStd_HArray1OfInteger) theMaterials; partitionShapes->Append(theShape); theTools->Append(aPlnOZ); - theTools->Append(aPlnOXZ); + if (Abs(aR1Ext - aR2Ext) > Precision::Confusion() ) + theTools->Append(aPlnOXZ); theTools->Append(face_t); if (!isNormal) theTools->Append(face_t2);