1 # -*- coding: utf-8 -*-
10 from salome.geom import geomBuilder
11 geompy = geomBuilder.New()
13 from salome.smesh import smeshBuilder
14 smesh = smeshBuilder.New()
16 # logging.debug("initialisation de geompy et smesh OK")
18 def geomPublish(level,aShape, aName):
19 if initLog.getLogLevel() <= level:
20 geompy.addToStudy(aShape, aName)
22 def geomPublishInFather(level, aFather, aShape, aName):
23 if initLog.getLogLevel() <= level:
24 geompy.addToStudyInFather(aFather, aShape, aName)