mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups).
This commit is contained in:
parent
dae92f6571
commit
8bfa9cdd5d
@ -744,13 +744,14 @@ salome.sg.updateObjBrowser(1)
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
import SMESH_mechanic
|
import SMESH_mechanic
|
||||||
|
import SMESH
|
||||||
|
|
||||||
mesh = SMESH_mechanic.mesh
|
mesh = SMESH_mechanic.mesh
|
||||||
smesh = SMESH_mechanic.smesh
|
smesh = SMESH_mechanic.smesh
|
||||||
|
|
||||||
# create a group of faces to be revolved
|
# create a group of faces to be revolved
|
||||||
FacesRotate = [492, 493, 502, 503]
|
FacesRotate = [492, 493, 502, 503]
|
||||||
GroupRotate = mesh.CreateGroup(SMESH.FACE,"Group of faces (rotate)")
|
GroupRotate = mesh.CreateEmptyGroup(SMESH.FACE,"Group of faces (rotate)")
|
||||||
GroupRotate.Add(FacesRotate)
|
GroupRotate.Add(FacesRotate)
|
||||||
|
|
||||||
# define revolution angle and axis
|
# define revolution angle and axis
|
||||||
|
Loading…
Reference in New Issue
Block a user