mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +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 SMESH_mechanic
|
||||
import SMESH
|
||||
|
||||
mesh = SMESH_mechanic.mesh
|
||||
smesh = SMESH_mechanic.smesh
|
||||
|
||||
# create a group of faces to be revolved
|
||||
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)
|
||||
|
||||
# define revolution angle and axis
|
||||
|
Loading…
Reference in New Issue
Block a user