From: eap Date: Mon, 17 Jun 2013 12:49:23 +0000 (+0000) Subject: 0021684: EDF 2221 : Display the arguments and the name of the operations X-Git-Tag: BR_hydro_v_0_3_1~185 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33dea8badc9849a26bb868f2eee98f6f0946ddae;p=modules%2Fgeom.git 0021684: EDF 2221 : Display the arguments and the name of the operations In GetShapesOnShapeAsCompound(), store creation parameters using GEOMImpl_IShapes --- diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx index 0f91f4b5e..267e6e316 100644 --- a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx @@ -33,7 +33,6 @@ #include "GEOMImpl_VectorDriver.hxx" #include "GEOMImpl_ShapeDriver.hxx" -#include "GEOMImpl_CopyDriver.hxx" #include "GEOMImpl_GlueDriver.hxx" #include "GEOMImpl_IVector.hxx" @@ -2621,6 +2620,15 @@ Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetShapesOnShapeAsCompound aRes->AddFunction(GEOMImpl_ShapeDriver::GetID(), SHAPES_ON_SHAPE); aFunction->SetValue(aCompound); + aSeq->Clear(); + aSeq->Append( theCheckShape->GetLastFunction() ); + aSeq->Append( theShape->GetLastFunction() ); + + GEOMImpl_IShapes aCI( aFunction ); + aCI.SetShapes( aSeq ); + aCI.SetSubShapeType( theShapeType ); + aCI.SetTolerance( theState ); + GEOM::TPythonDump(aFunction) << aRes << " = geompy.GetShapesOnShapeAsCompound(" << theCheckShape << ", "