Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge from BR_plugins_pbyacs 03/04/2013
[modules/geom.git]
/
src
/
GEOM_SWIG
/
GEOM_blocks.py
diff --git
a/src/GEOM_SWIG/GEOM_blocks.py
b/src/GEOM_SWIG/GEOM_blocks.py
index edbf635af63867091173f041b10f19f86d1011ac..4fb031aff66d28d7b6d68e80435e9a50c4a21018 100644
(file)
--- a/
src/GEOM_SWIG/GEOM_blocks.py
+++ b/
src/GEOM_SWIG/GEOM_blocks.py
@@
-27,9
+27,12
@@
# Module : GEOM
#
import salome
-import geompy
-import math
+salome.salome_init()
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
+import math
import GEOM_Spanner
isBlocksTest = 0 # False