mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
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:
parent
3a09aaf844
commit
33dea8badc
@ -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 << ", "
|
||||
|
Loading…
Reference in New Issue
Block a user