X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM_PY%2Fgeomtools.py;h=f5c61f2460052a4fd1be7a2ccf37097736873dbf;hb=bbafce4b04731f9219f75dc124ec2429d994c202;hp=dcd68d15a7f2322eb281a0cfee449bf867410638;hpb=5e7cf6df5a668d1e1608ba946c59ba34234d8942;p=modules%2Fgeom.git diff --git a/src/GEOM_PY/geomtools.py b/src/GEOM_PY/geomtools.py index dcd68d15a..f5c61f246 100644 --- a/src/GEOM_PY/geomtools.py +++ b/src/GEOM_PY/geomtools.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -216,13 +216,13 @@ class GeomStudyTools: ## Display the geometrical shape whose entry is given by \em entry. # You should prefer use this function instead of the - # displayShapeByName() which can have an unpredictible behavior in + # displayShapeByName() which can have an unpredictable behavior in # the case where several objects exist with the same name in the study. def displayShapeByEntry(self, shapeStudyEntry, color = None, fit=True): """ Display the geometrical shape whose entry is given by `entry`. You should prefer use this function instead of the - displayShapeByName which can have an unpredictible behavior in + displayShapeByName which can have an unpredictable behavior in the case where several objects exist with the same name in the study. """ @@ -257,7 +257,7 @@ class GeomStudyTools: # Helper functions for a complete suppression of a shape from the # SALOME session. # ====================================================================== - ## This completly deletes a geom shape. + ## This completely deletes a geom shape. # \warning Please be aware that to delete a geom object, # you have three operations to perform: # @@ -266,7 +266,7 @@ class GeomStudyTools: # 3. destroy the underlying geom object def deleteShape(self,shapeStudyEntry): """ - This completly deletes a geom shape. + This completely deletes a geom shape. WARNING: please be aware that to delete a geom object, you have three operations to perform: @@ -401,14 +401,14 @@ def TEST_createAndDeleteShape(): gst.eraseShapeByEntry(sphereStudyEntry) # -------------------------------------------------- - # In this last example, we completly delete an object from the + # In this last example, we completely delete an object from the # SALOME session (erase from viewer, remove from study and finnaly # destroy the object). This is done by a simple call to # deleteShape(). gst.deleteShape(cylinderStudyEntry) # -------------------------------------------------- - # At the end of the executioon of this test, you should have in + # At the end of the execution of this test, you should have in # the SALOME session: # - the box, in a dedicated folder of the study, and displayed in the viewer # - the sphere, in the standard place of the study, and not displayed