X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fexamples%2Fradial_prism_3d_algo.py;h=a84ecc829301e631e14dc7aaaadc6c3484251653;hp=a2623d8462c66d6daf68185261ab51766bdac6c3;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/doc/examples/radial_prism_3d_algo.py b/doc/examples/radial_prism_3d_algo.py index a2623d846..a84ecc829 100644 --- a/doc/examples/radial_prism_3d_algo.py +++ b/doc/examples/radial_prism_3d_algo.py @@ -33,4 +33,4 @@ mesh.Projection1D2D( faces[1] ).SourceFace( faces[0] ) # projection faces[0] -> prism_algo.NumberOfSegments( 4, 5. ) # compute the mesh -mesh.Compute() +if not mesh.Compute(): raise Exception("Error when computing Mesh")