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] |
| TEST_createBox | ( | ) |
References getGeompy().
| TEST_getGeomObjectSelected | ( | ) |
| GEOM = None |
| logger = Logger("salome.geom.geomtools", color = termcolor.RED) |
|
protected |
| int ModeWireFrame = 0 |
| int ModeShading = 1 |
| int DisplayMode = ModeShading |
| list PreviewColor = [236,163,255] |