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=796122663b68ea1cee8c90033398a34d93518d39;hpb=7fe1146f763ec80776fca02aac97bec8c3997b87 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")