]> SALOME platform Git repositories - modules/geom.git/blobdiff - doc/salome/examples/repairing_operations_ex09.py
Salome HOME
Merge from BR_plugins_pbyacs 03/04/2013
[modules/geom.git] / doc / salome / examples / repairing_operations_ex09.py
index e94b1aa03c45c3f345ac93c3b28df88f96f635ca..2875051d269ea1db06769cd0e0d0ace843088a2c 100644 (file)
@@ -1,7 +1,10 @@
 # Limit Tolerance
 
-import geompy
 import salome
+salome.salome_init()
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
 gg = salome.ImportComponentGUI("GEOM")
 
 # import initial topology with bad tolerances (more than 1e-07)