mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
IPAL9381: replace import of smeshpy by import of smesh
This commit is contained in:
parent
b33324fe60
commit
ed582bafc2
@ -1,4 +1,4 @@
|
||||
from meshpy import *
|
||||
from smesh import *
|
||||
|
||||
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
|
||||
aFilterMgr = smesh.CreateFilterManager()
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
import salome
|
||||
import geompy
|
||||
import smeshpy
|
||||
import smesh
|
||||
|
||||
import SMESH
|
||||
import StdMeshers
|
||||
@ -59,7 +59,7 @@ ide = geompy.addToStudyInFather(face, edge, name)
|
||||
|
||||
# ---- launch SMESH, init a Mesh with the box
|
||||
|
||||
gen = smeshpy.smeshpy()
|
||||
gen = smesh.smesh()
|
||||
mesh = gen.CreateMesh(idb)
|
||||
|
||||
print "-------------------------- create Hypothesis"
|
||||
|
Loading…
Reference in New Issue
Block a user