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, except that it is associated with the study studyId. More... | |
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... | |
This module provides tools to facilitate the use of geom engine and geom objects in Salome.
def geomtools.getGeompy | ( | studyId = None | ) |
Return an object behaving exactly like geompy module, except that it is associated with the study studyId.
If studyId is None, return a pseudo geompy object for the current study.
References geomBuilder.New().
def geomtools.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).
References getGeompy().