Version: 9.15.0
Home
geomtools Namespace Reference

Data Structures

class  GeomStudyTools
 This class provides several methods to manipulate geom objects in Salome study. More...
 

Functions

def getGeompy ()
 Return an object behaving exactly like geompy module. More...
 
def TEST_createBox ()
 
def TEST_getGeomObjectSelected ()
 
def TEST_createAndDeleteShape ()
 This test is a simple use case that illustrates how to create a GEOM shape in a SALOME session (create the GEOM object, put in in the study, and display the shape in a viewer) and delete a shape from a SALOME session (erase the shape from the viewer, delete the entry from the study, and finally destroy the underlying GEOM object). More...
 

Variables

 GEOM = None
 
 logger = Logger("salome.geom.geomtools", color = termcolor.RED)
 
 _geompy = geomBuilder.New()
 
int ModeWireFrame = 0
 
int ModeShading = 1
 
int DisplayMode = ModeShading
 
list PreviewColor = [236,163,255]
 

Function Documentation

◆ TEST_createBox()

def geomtools.TEST_createBox ( )

References getGeompy().

◆ TEST_getGeomObjectSelected()

def geomtools.TEST_getGeomObjectSelected ( )

Variable Documentation

◆ GEOM

GEOM = None

◆ logger

logger = Logger("salome.geom.geomtools", color = termcolor.RED)

◆ _geompy

_geompy = geomBuilder.New()
private

◆ ModeWireFrame

int ModeWireFrame = 0

◆ ModeShading

int ModeShading = 1

◆ DisplayMode

int DisplayMode = ModeShading

◆ PreviewColor

list PreviewColor = [236,163,255]