mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 22:20:34 +05:00
PAL13190 (EDF159 SMESH: in Merge Nodes and Merge Elements, visualisze nodes or meshes twice):
add FindEqualElements(); add MergeElements().
This commit is contained in:
parent
f0d8fc7200
commit
b772d132ea
@ -2427,6 +2427,17 @@ class Mesh:
|
|||||||
def MergeNodes (self, GroupsOfNodes):
|
def MergeNodes (self, GroupsOfNodes):
|
||||||
self.editor.MergeNodes(GroupsOfNodes)
|
self.editor.MergeNodes(GroupsOfNodes)
|
||||||
|
|
||||||
|
## Find elements built on the same nodes.
|
||||||
|
# @param MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching
|
||||||
|
# @return a list of groups of equal elements
|
||||||
|
def FindEqualElements (self, MeshOrSubMeshOrGroup):
|
||||||
|
return self.editor.FindEqualElements(MeshOrSubMeshOrGroup)
|
||||||
|
|
||||||
|
## Merge elements in each given group.
|
||||||
|
# @param GroupsOfElementsID groups of elements for merging
|
||||||
|
def MergeElements(self, GroupsOfElementsID):
|
||||||
|
self.editor.MergeElements(GroupsOfElementsID)
|
||||||
|
|
||||||
## Remove all but one of elements built on the same nodes.
|
## Remove all but one of elements built on the same nodes.
|
||||||
def MergeEqualElements(self):
|
def MergeEqualElements(self):
|
||||||
self.editor.MergeEqualElements()
|
self.editor.MergeEqualElements()
|
||||||
|
Loading…
Reference in New Issue
Block a user