mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 20:00:34 +05:00
Add missing import SMESH
This commit is contained in:
parent
a023eb1307
commit
03335084a6
@ -1417,6 +1417,7 @@ class StdMeshersBuilder_UseExistingElements_1D2D(Mesh_Algorithm):
|
|||||||
# @param UseExisting if ==true - searches for the existing hypothesis created with
|
# @param UseExisting if ==true - searches for the existing hypothesis created with
|
||||||
# the same parameters, else (default) - creates a new one
|
# the same parameters, else (default) - creates a new one
|
||||||
def SourceFaces(self, groups, toCopyMesh=False, toCopyGroups=False, UseExisting=False):
|
def SourceFaces(self, groups, toCopyMesh=False, toCopyGroups=False, UseExisting=False):
|
||||||
|
import SMESH
|
||||||
compFun = lambda hyp, args: ( hyp.GetSourceFaces() == args[0] and \
|
compFun = lambda hyp, args: ( hyp.GetSourceFaces() == args[0] and \
|
||||||
hyp.GetCopySourceMesh() == args[1], args[2] )
|
hyp.GetCopySourceMesh() == args[1], args[2] )
|
||||||
hyp = self.Hypothesis("ImportSource2D", [groups, toCopyMesh, toCopyGroups],
|
hyp = self.Hypothesis("ImportSource2D", [groups, toCopyMesh, toCopyGroups],
|
||||||
|
Loading…
Reference in New Issue
Block a user