From: Gilles DAVID Date: Fri, 24 Mar 2017 09:27:15 +0000 (+0100) Subject: Python3: doc example X-Git-Tag: V9_0_0~2^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cc9bebfae00f1dac7c3d45be49b02e7011c54863;p=plugins%2Fblsurfplugin.git Python3: doc example --- diff --git a/doc/salome/examples/blsurfdemo.py b/doc/salome/examples/blsurfdemo.py index 75221c1..e78717d 100644 --- a/doc/salome/examples/blsurfdemo.py +++ b/doc/salome/examples/blsurfdemo.py @@ -72,8 +72,8 @@ algo2d.SetEnforcedVertex(Face_1, 150, 150, 150) # Retrieve and print the list of enforced vertices defines on Face_1 enfList = algo2d.GetEnforcedVertices(Face_1) -print "List of enforced vertices for Face_1: " -print enfList +print("List of enforced vertices for Face_1: ") +print(enfList) # compute the mesh cadsurfMesh.Compute() @@ -81,8 +81,8 @@ cadsurfMesh.Compute() # Remove an enforced vertex and print the list algo2d.UnsetEnforcedVertex(Face_1, 50, 50, 50) enfList = algo2d.GetEnforcedVertices(Face_1) -print "List of enforced vertices for Face_1: " -print enfList +print("List of enforced vertices for Face_1: ") +print(enfList) # compute the mesh cadsurfMesh.Compute()