import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() def getGeom(): return geompy