Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
geomBuilder Namespace Reference

Data Structures

class  info
 Information about closed/unclosed state of shell or wire. More...
 
class  PluginOperation
 Private class used to bind calls of plugin operations to geomBuilder. More...
 
class  geomBuilder
 
class  geomField
 Field on Geometry. More...
 

Functions

def _toListOfNames
 
def ManageTransactions
 
def RaiseIfFailed
 Raise an Error, containing the Method_name, if Operation is Failed. More...
 
def ParseParameters
 Return list of variables value from salome notebook. More...
 
def ParseList
 Return list of variables value from salome notebook. More...
 
def ParseSketcherCommand
 Return list of variables value from salome notebook. More...
 
def PackData
 Helper function which can be used to pack the passed string to the byte data. More...
 
def ReadTexture
 Read bitmap texture from the text file. More...
 
def EnumToLong
 Returns a long value from enumeration type Can be used for CORBA enumerator types like GEOM.shape_type. More...
 
def ToList
 Pack an argument into a list. More...
 
def New
 Create a new geomBuilder instance.The geomBuilder class provides the Python interface to GEOM operations. More...
 

Variables

 geom = None
 
 engine = None
 
 doLcc = False
 
 created = False
 
tuple plugins_var = os.environ.get( "GEOM_PluginsList" )
 
 plugins = None
 
string pluginBuilderName = pluginName+"Builder"
 
tuple plugin = eval( pluginBuilderName )
 
tuple method = getattr( plugin, k )
 

Detailed Description

Note
Some methods are dynamically added to the geomBuilder class in runtime by the plug-in modules. If you fail to find help on some methods in the documentation of Geometry module, try to look into the documentation for the Geometry module plug-ins.

Function Documentation

def geomBuilder._toListOfNames (   _names,
  _size = -1 
)
private
def geomBuilder.ManageTransactions (   theOpeName)
def geomBuilder.ToList (   arg)

Pack an argument into a list.

def geomBuilder.New (   study,
  instance = None 
)

Create a new geomBuilder instance.The geomBuilder class provides the Python interface to GEOM operations.

Typical use is:

1 import salome
2 salome.salome_init()
3 from salome.geom import geomBuilder
4 geompy = geomBuilder.New(salome.myStudy)
Parameters
studySALOME study, generally obtained by salome.myStudy.
instanceCORBA proxy of GEOM Engine. If None, the default Engine is used.
Returns
geomBuilder instance

Variable Documentation

geom = None
engine = None
doLcc = False
created = False
tuple plugins_var = os.environ.get( "GEOM_PluginsList" )
tuple plugins = None
string pluginBuilderName = pluginName+"Builder"
tuple plugin = eval( pluginBuilderName )
tuple method = getattr( plugin, k )