0021684: EDF 2221 : Display the arguments and the name of the operations

In GetShapesOnShapeAsCompound(), store creation parameters using GEOMImpl_IShapes
This commit is contained in:
eap 2013-06-17 12:49:23 +00:00
parent 3a09aaf844
commit 33dea8badc

View File

@ -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 << ", "