mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-06 23:54:18 +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
|
//Make a Python command
|
||||||
if(anAsciiList.Length()>0)
|
if( anAsciiList.Length() > 0 ) {
|
||||||
anAsciiList.Trunc(anAsciiList.Length() - 1);
|
anAsciiList.Trunc(anAsciiList.Length() - 1);
|
||||||
Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
|
Handle(GEOM_Function) aFunction = theShape->GetLastFunction();
|
||||||
GEOM::TPythonDump pd (aFunction, /*append=*/true);
|
GEOM::TPythonDump pd (aFunction, /*append=*/true);
|
||||||
pd << "[" << anAsciiList.ToCString();
|
pd << "[" << anAsciiList.ToCString();
|
||||||
pd << "] = geompy.GetGlueFaces(" << theShape << ", " << theTolerance << ")";
|
pd << "] = geompy.GetGlueFaces(" << theShape << ", " << theTolerance << ")";
|
||||||
|
}
|
||||||
|
|
||||||
SetErrorCode(OK);
|
SetErrorCode(OK);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user