]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL8581. Really check smoothing
authoreap <eap@opencascade.com>
Wed, 20 Apr 2005 11:38:30 +0000 (11:38 +0000)
committereap <eap@opencascade.com>
Wed, 20 Apr 2005 11:38:30 +0000 (11:38 +0000)
src/SMESH_SWIG/SMESH_mechanic_editor.py

index 596786ed9a2100f485110f699a908bbb0581be05..962f4a5575c698a69e4b0329ca8b14823b5bc48e 100644 (file)
@@ -288,10 +288,10 @@ angle180 =  180*3.141/180
 MeshEditor.RotateObject(mesh, axisXYZ, angle180, 0)
 
 #7 group smoothing
-FacesSmooth = [864, 933, 941, 950, 1005, 1013]
+FacesSmooth = [864, 933, 941, 950, 1005, 1013, 943, 928, 936, 1017]
 GroupSmooth = mesh.CreateGroup(SMESH.FACE,"Group of faces (smooth)")
 GroupSmooth.Add(FacesSmooth)
-MeshEditor.SmoothObject(GroupSmooth, [], 20, 2, SMESH.SMESH_MeshEditor.CENTROIDAL_SMOOTH)
+MeshEditor.SmoothObject(GroupSmooth, [], 20, 1, SMESH.SMESH_MeshEditor.CENTROIDAL_SMOOTH)
 
 #8 rotation sweep object
 FacesRotate = [492, 493, 502, 503]