mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-30 03:20:33 +05:00
0020505: EDF 1074 GEOM: GetGlueFace anomaly
This commit is contained in:
parent
0bbe510fee
commit
0176bc0702
@ -699,12 +699,13 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetGlueFaces
|
||||
}
|
||||
|
||||
//Make a Python command
|
||||
if(anAsciiList.Length()>0)
|
||||
if( anAsciiList.Length() > 0 ) {
|
||||
anAsciiList.Trunc(anAsciiList.Length() - 1);
|
||||
Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
|
||||
GEOM::TPythonDump pd (aFunction, /*append=*/true);
|
||||
pd << "[" << anAsciiList.ToCString();
|
||||
pd << "] = geompy.GetGlueFaces(" << theShape << ", " << theTolerance << ")";
|
||||
Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
|
||||
GEOM::TPythonDump pd (aFunction, /*append=*/true);
|
||||
pd << "[" << anAsciiList.ToCString();
|
||||
pd << "] = geompy.GetGlueFaces(" << theShape << ", " << theTolerance << ")";
|
||||
}
|
||||
|
||||
SetErrorCode(OK);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user