mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00: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):
|
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
|
||||||
aFilterMgr = smesh.CreateFilterManager()
|
aFilterMgr = smesh.CreateFilterManager()
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
import salome
|
import salome
|
||||||
import geompy
|
import geompy
|
||||||
import smeshpy
|
import smesh
|
||||||
|
|
||||||
import SMESH
|
import SMESH
|
||||||
import StdMeshers
|
import StdMeshers
|
||||||
@ -59,7 +59,7 @@ ide = geompy.addToStudyInFather(face, edge, name)
|
|||||||
|
|
||||||
# ---- launch SMESH, init a Mesh with the box
|
# ---- launch SMESH, init a Mesh with the box
|
||||||
|
|
||||||
gen = smeshpy.smeshpy()
|
gen = smesh.smesh()
|
||||||
mesh = gen.CreateMesh(idb)
|
mesh = gen.CreateMesh(idb)
|
||||||
|
|
||||||
print "-------------------------- create Hypothesis"
|
print "-------------------------- create Hypothesis"
|
||||||
|
Loading…
Reference in New Issue
Block a user