]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
PR: update documentation for smeshBuilder BR_plugins_pbyacs
authorprascle <prascle>
Wed, 20 Mar 2013 16:43:14 +0000 (16:43 +0000)
committerprascle <prascle>
Wed, 20 Mar 2013 16:43:14 +0000 (16:43 +0000)
doc/salome/examples/blsurfdemo.py

index 33a6e9d40ffe171b193bbccfac55da58c169deb5..1a2203fdc3f3466addf16299f4365c78634cc3dd 100644 (file)
@@ -37,7 +37,7 @@ geompy.addToStudyInFather(Face_2,Wire_1, "Wire_1")
 blsurfMesh = smesh.Mesh(box,"box: BLSurf mesh")
 
 # create a BLSurf algorithm for faces
-algo2d = blsurfMesh.Triangle(algo=smesh.BLSURF)
+algo2d = blsurfMesh.Triangle(algo=smeshBuilder.BLSURF)
 
 # ----------------------------------------------
 # blsurf_construct_mesh_sizemaps Adding sizemaps
@@ -131,7 +131,7 @@ geompy.addToStudy( Multi_Translation_1, 'Multi-Translation_1' )
 
 # The mesh on the geometry with internal vertices
 blsurfMesh_internal = smesh.Mesh(Multi_Translation_1, "blsurfMesh_internal")
-algo2d = blsurfMesh_internal.Triangle(algo=smesh.BLSURF)
+algo2d = blsurfMesh_internal.Triangle(algo=smeshBuilder.BLSURF)
 algo2d.SetPhySize( 0.1 )
 
 # Allows BLSURF to take into account internal vertices