mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
Small correction in the doc of FindCoincidentNodes, MergeNodes, MergeElements ... The type of object returned or taken as an argument by these methods has been detailed with more accuracy
This commit is contained in:
parent
74493f3fdb
commit
02dc428b77
@ -4117,9 +4117,9 @@ class Mesh:
|
|||||||
self.mesh.SetParameters(Parameters)
|
self.mesh.SetParameters(Parameters)
|
||||||
return Mesh( self.smeshpyD, self.geompyD, mesh )
|
return Mesh( self.smeshpyD, self.geompyD, mesh )
|
||||||
|
|
||||||
## Finds groups of ajacent nodes within Tolerance.
|
## Finds groups of adjacent nodes within Tolerance.
|
||||||
# @param Tolerance the value of tolerance
|
# @param Tolerance the value of tolerance
|
||||||
# @return the list of groups of nodes
|
# @return the list of pairs of nodes IDs (e.g. [[1,12],[25,4]])
|
||||||
# @ingroup l2_modif_trsf
|
# @ingroup l2_modif_trsf
|
||||||
def FindCoincidentNodes (self, Tolerance):
|
def FindCoincidentNodes (self, Tolerance):
|
||||||
return self.editor.FindCoincidentNodes(Tolerance)
|
return self.editor.FindCoincidentNodes(Tolerance)
|
||||||
@ -4128,7 +4128,7 @@ class Mesh:
|
|||||||
# @param Tolerance the value of tolerance
|
# @param Tolerance the value of tolerance
|
||||||
# @param SubMeshOrGroup SubMesh or Group
|
# @param SubMeshOrGroup SubMesh or Group
|
||||||
# @param exceptNodes list of either SubMeshes, Groups or node IDs to exclude from search
|
# @param exceptNodes list of either SubMeshes, Groups or node IDs to exclude from search
|
||||||
# @return the list of groups of nodes
|
# @return the list of pairs of nodes IDs (e.g. [[1,12],[25,4]])
|
||||||
# @ingroup l2_modif_trsf
|
# @ingroup l2_modif_trsf
|
||||||
def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance, exceptNodes=[]):
|
def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance, exceptNodes=[]):
|
||||||
unRegister = genObjUnRegister()
|
unRegister = genObjUnRegister()
|
||||||
@ -4142,14 +4142,14 @@ class Mesh:
|
|||||||
return self.editor.FindCoincidentNodesOnPartBut(SubMeshOrGroup, Tolerance,exceptNodes)
|
return self.editor.FindCoincidentNodesOnPartBut(SubMeshOrGroup, Tolerance,exceptNodes)
|
||||||
|
|
||||||
## Merges nodes
|
## Merges nodes
|
||||||
# @param GroupsOfNodes the list of groups of nodes
|
# @param GroupsOfNodes a list of pairs of nodes IDs for merging (e.g. [[1,12],[25,4]])
|
||||||
# @ingroup l2_modif_trsf
|
# @ingroup l2_modif_trsf
|
||||||
def MergeNodes (self, GroupsOfNodes):
|
def MergeNodes (self, GroupsOfNodes):
|
||||||
self.editor.MergeNodes(GroupsOfNodes)
|
self.editor.MergeNodes(GroupsOfNodes)
|
||||||
|
|
||||||
## Finds the elements built on the same nodes.
|
## Finds the elements built on the same nodes.
|
||||||
# @param MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching
|
# @param MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching
|
||||||
# @return a list of groups of equal elements
|
# @return the list of pairs of equal elements IDs (e.g. [[1,12],[25,4]])
|
||||||
# @ingroup l2_modif_trsf
|
# @ingroup l2_modif_trsf
|
||||||
def FindEqualElements (self, MeshOrSubMeshOrGroup):
|
def FindEqualElements (self, MeshOrSubMeshOrGroup):
|
||||||
if ( isinstance( MeshOrSubMeshOrGroup, Mesh )):
|
if ( isinstance( MeshOrSubMeshOrGroup, Mesh )):
|
||||||
@ -4157,7 +4157,7 @@ class Mesh:
|
|||||||
return self.editor.FindEqualElements(MeshOrSubMeshOrGroup)
|
return self.editor.FindEqualElements(MeshOrSubMeshOrGroup)
|
||||||
|
|
||||||
## Merges elements in each given group.
|
## Merges elements in each given group.
|
||||||
# @param GroupsOfElementsID groups of elements for merging
|
# @param GroupsOfElementsID a list of pairs of elements IDs for merging (e.g. [[1,12],[25,4]])
|
||||||
# @ingroup l2_modif_trsf
|
# @ingroup l2_modif_trsf
|
||||||
def MergeElements(self, GroupsOfElementsID):
|
def MergeElements(self, GroupsOfElementsID):
|
||||||
self.editor.MergeElements(GroupsOfElementsID)
|
self.editor.MergeElements(GroupsOfElementsID)
|
||||||
|
Loading…
Reference in New Issue
Block a user