X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Fmodifying_meshes_ex09.py;h=476ebbbdccec2c29493247d94277535eda9ccf1e;hp=2fd91114db268c4c64ef5e8b72c0a80c7c92d8dc;hb=13b8c96957cd060f6e76f73c9248b941beff0d6d;hpb=9a54694a0ab1e5cbc558a35c4606ceea4f7af2ef diff --git a/doc/salome/examples/modifying_meshes_ex09.py b/doc/salome/examples/modifying_meshes_ex09.py index 2fd91114d..476ebbbdc 100644 --- a/doc/salome/examples/modifying_meshes_ex09.py +++ b/doc/salome/examples/modifying_meshes_ex09.py @@ -1,9 +1,18 @@ # Add Polygon import math + import salome +salome.salome_init() +import GEOM +from salome.geom import geomBuilder +geompy = geomBuilder.New(salome.myStudy) + +import SMESH, SALOMEDS +from salome.smesh import smeshBuilder +smesh = smeshBuilder.New(salome.myStudy) +import salome_notebook -import smesh # create an empty mesh structure mesh = smesh.Mesh()