Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/smesh.git]
/
src
/
Tools
/
MacMesh
/
Example
/
PressureValve.py.in
diff --git
a/src/Tools/MacMesh/Example/PressureValve.py.in
b/src/Tools/MacMesh/Example/PressureValve.py.in
old mode 100755
(executable)
new mode 100644
(file)
index
389f6ab
..
c07c78b
--- a/
src/Tools/MacMesh/Example/PressureValve.py.in
+++ b/
src/Tools/MacMesh/Example/PressureValve.py.in
@@
-1,4
+1,4
@@
-# Copyright (C) 2014-20
15
EDF R&D
+# Copyright (C) 2014-20
22
EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-107,7
+107,7
@@
SRVMesh = PublishGroups()
RealLocalMeshing = Bloc[0][0].GeoPar[1][0]/Bloc[0][0].DirectionalMeshParams[0]
ExtrusionAngle = 2. * math.asin(RealLocalMeshing/(2*R))*180./math.pi
RealLocalMeshing = Bloc[0][0].GeoPar[1][0]/Bloc[0][0].DirectionalMeshParams[0]
ExtrusionAngle = 2. * math.asin(RealLocalMeshing/(2*R))*180./math.pi
-print
"\nThe mesh will be revolved with an angle of :",ExtrusionAngle
+print
("\nThe mesh will be revolved with an angle of :",ExtrusionAngle)
RevolveMesh(SRVMesh, Center=[R+0.01,0,0], Direction=[0,1,0], AngleDeg=ExtrusionAngle, Scale=0.001)
RevolveMesh(SRVMesh, Center=[R+0.01,0,0], Direction=[0,1,0], AngleDeg=ExtrusionAngle, Scale=0.001)