mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Additional fix for the issue 19964.
This commit is contained in:
parent
2f1bf11869
commit
6bf039b662
@ -2287,11 +2287,12 @@ SMESH_MeshEditor_i::MirrorMakeGroups(const SMESH::long_array& theIDsO
|
|||||||
{
|
{
|
||||||
SMESH::ListOfGroups * aGroups = mirror(theIDsOfElements, theMirror, theMirrorType, true, true);
|
SMESH::ListOfGroups * aGroups = mirror(theIDsOfElements, theMirror, theMirrorType, true, true);
|
||||||
if ( !myPreviewMode ) {
|
if ( !myPreviewMode ) {
|
||||||
|
TPythonDump()<<"axis = "<<theMirror;
|
||||||
TPythonDump aPythonDump;
|
TPythonDump aPythonDump;
|
||||||
DumpGroupsList(aPythonDump,aGroups);
|
DumpGroupsList(aPythonDump,aGroups);
|
||||||
aPythonDump << this << ".MirrorMakeGroups( "
|
aPythonDump << this << ".MirrorMakeGroups( "
|
||||||
<< theIDsOfElements << ", "
|
<< theIDsOfElements << ", "
|
||||||
<< theMirror << ", "
|
<< "axis, "
|
||||||
<< mirrorTypeName(theMirrorType) << " )";
|
<< mirrorTypeName(theMirrorType) << " )";
|
||||||
}
|
}
|
||||||
return aGroups;
|
return aGroups;
|
||||||
@ -2310,11 +2311,12 @@ SMESH_MeshEditor_i::MirrorObjectMakeGroups(SMESH::SMESH_IDSource_ptr t
|
|||||||
SMESH::long_array_var anElementsId = theObject->GetIDs();
|
SMESH::long_array_var anElementsId = theObject->GetIDs();
|
||||||
SMESH::ListOfGroups * aGroups = mirror(anElementsId, theMirror, theMirrorType, true, true);
|
SMESH::ListOfGroups * aGroups = mirror(anElementsId, theMirror, theMirrorType, true, true);
|
||||||
if ( !myPreviewMode ) {
|
if ( !myPreviewMode ) {
|
||||||
|
TPythonDump()<<"axis = "<<theMirror;
|
||||||
TPythonDump aPythonDump;
|
TPythonDump aPythonDump;
|
||||||
DumpGroupsList(aPythonDump,aGroups);
|
DumpGroupsList(aPythonDump,aGroups);
|
||||||
aPythonDump << this << ".MirrorObjectMakeGroups( "
|
aPythonDump << this << ".MirrorObjectMakeGroups( "
|
||||||
<< theObject << ", "
|
<< theObject << ", "
|
||||||
<< theMirror << ", "
|
<< "axis, "
|
||||||
<< mirrorTypeName(theMirrorType) << " )";
|
<< mirrorTypeName(theMirrorType) << " )";
|
||||||
}
|
}
|
||||||
return aGroups;
|
return aGroups;
|
||||||
|
Loading…
Reference in New Issue
Block a user