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
Merge V9_dev branch into master
[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
index 612f4f76955493718008a8835d14fb2a01f6b8aa..abacc092e65a21b72230610186ce4fc1fd7922a5 100755
(executable)
--- a/
src/Tools/MacMesh/Example/PressureValve.py.in
+++ b/
src/Tools/MacMesh/Example/PressureValve.py.in
@@
-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)