Version: 9.16.0
Home
Loading...
Searching...
No Matches
geomtools Namespace Reference

Data Structures

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

Functions

 getGeompy ()
 Return an object behaving exactly like geompy module.
 
 TEST_createBox ()
 
 TEST_getGeomObjectSelected ()
 
 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).
 

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()

TEST_createBox ( )

References getGeompy().

◆ TEST_getGeomObjectSelected()

TEST_getGeomObjectSelected ( )

Variable Documentation

◆ GEOM

GEOM = None

◆ logger

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

◆ _geompy

_geompy = geomBuilder.New()
protected

◆ ModeWireFrame

int ModeWireFrame = 0

◆ ModeShading

int ModeShading = 1

◆ DisplayMode

int DisplayMode = ModeShading

◆ PreviewColor

list PreviewColor = [236,163,255]