IF(EXISTS ${KERNEL_ROOT_DIR})
LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
FIND_PACKAGE(SalomeKERNEL REQUIRED)
- KERNEL_WITH_CORBA() #check whether KERNEL builded with CORBA
+ KERNEL_WITH_CORBA() #check whether KERNEL built with CORBA
ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
INCLUDE_DIRECTORIES(${KERNEL_INCLUDE_DIRS})
ELSE(EXISTS ${KERNEL_ROOT_DIR})
IF(EXISTS ${GUI_ROOT_DIR})
LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files")
FIND_PACKAGE(SalomeGUI)
- SALOME_GUI_WITH_CORBA() #check whether GUI builded with CORBA
+ SALOME_GUI_WITH_CORBA() #check whether GUI built with CORBA
SALOME_GUI_MODE(SALOME_USE_OCCVIEWER SALOME_USE_VTKVIEWER SALOME_USE_SALOMEOBJECT
OPTIONAL SALOME_USE_PLOT2DVIEWER SALOME_USE_GRAPHICSVIEW SALOME_USE_PYCONSOLE)
ADD_DEFINITIONS(${GUI_DEFINITIONS})
<b>Select Color</b> menu accessible by right-clicking on an object and
selecting \b Color in the pop-up menu box.
-This functionality is avalible only if \em artificial
+This functionality is available only if \em artificial
\ref material_page "material model" is assigned to the selected shape.
\n <b>TUI Command:</b> <em>gg.setColor(ID, Short, Short, Short)</em>
<ul>
<li>\ref material_general_description_anchor "General Description"</li>
-<li>\ref material_opengl_model_anchor "OpenGL ligthing model" </li>
+<li>\ref material_opengl_model_anchor "OpenGL lighting model" </li>
<li>\ref material_lib_anchor "Materials library"</li>
<li>\ref material_anchor "Material properties"</li>
</ul>
GEOM_Object MakeVectorTwoPnt (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
/*!
- * C\brief reate a line, passing through the given point
+ * \brief Create a line, passing through the given point
* and parallel to the given direction
* \param thePnt Point. The resulting line will pass through it.
* \param theDir Direction. The resulting line will be parallel to it.
* \brief Create a plane, passing through the three given points
* \param thePnt1 First of three points, defining the plane.
* \param thePnt2 Second of three points, defining the plane.
- * \param thePnt3 Fird of three points, defining the plane.
+ * \param thePnt3 Third of three points, defining the plane.
* \param theTrimSize Half size of a side of quadrangle face, representing the plane.
* \return New GEOM_Object, containing the created plane.
*/
void RemoveObject (in GEOM_Object theGroup, in long theSubShapeId);
/*!
- * \brief Adds to the group all the given shapes. No errors, if some shapes are alredy included.
+ * \brief Adds to the group all the given shapes. No errors, if some shapes are already included.
* \param theGroup is a GEOM group to which the new sub-shapes are added.
* \param theSubShapes is a list of sub-shapes to be added.
*/
void DifferenceList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
/*!
- * \brief Adds to the group all the given shapes. No errors, if some shapes are alredy included.
+ * \brief Adds to the group all the given shapes. No errors, if some shapes are already included.
* \param theGroup is a GEOM group to which the new sub-shapes are added.
* \param theSubShapes is a list of IDs of sub-shapes to be added.
*/
aFinder.SetNbPntsMax(100);
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
aFinder.SetState(theState);
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
}
aSeq->Append(anImported);
- // Greate material groups.
+ // Create material groups.
// MakeMaterialGroups( anImported, aSeq );
}
catch( Standard_Failure& aFail ) {
createSelWg(tr("EDGE_1"), imageS, myGrp2, Edge12);
createSelWg(tr("EDGE_2"), imageS, myGrp2, Edge22);
- // Create fird group
+ // Create third group
myGrp3 = new QGroupBox(tr("GEOM_ARGUMENTS"), centralWidget());
createSelWg(tr("EDGE_1"), imageS, myGrp3, Edge14);
if(c == 58) isFound = Standard_True;
}
- if(isFound && arr[j-2] != 58) { // last char should be a diggit
+ if(isFound && arr[j-2] != 58) { // last char should be a digit
aSeq->Append(i+1); // +1 because AsciiString starts from 1
aSeq->Append(j-1);
}
theObjListToPublish.Append( anEntry );
TObjectData& data = aEntry2ObjData[ anEntry ];
- if ( data._pyName.IsEmpty() ) { // encounted for the 1st time
+ if ( data._pyName.IsEmpty() ) { // encountered for the 1st time
if ( !data._name.IsEmpty() ) { // published object
data._pyName = data._name;
engine->healPyName( data._pyName, anEntry, aNameToEntry);
//Returns the OCAF document by its ID, if document doesn't exists it will be created
Standard_EXPORT Handle(TDocStd_Document) GetDocument(bool force=true);
- //Returns the OCAF appliaction
+ //Returns the OCAF application
Standard_EXPORT Handle(TDocStd_Application) GetApplication() { return _OCAFApp; }
//Returns a pointer to GEOM_BaseObject defined by a document and the entry
BRepLib_MakeEdge aBME(aP1, aP2);
bIsDone=aBME.IsDone();
if (!bIsDone) {
- myErrorStatus=30; //can not obtain the line fron the link
+ myErrorStatus=30; //can not obtain the line from the link
return;
}
//
//! @param theIsVisible [in] the visibility state.
GEOMGUI_EXPORT void SetIsVisible( const int theIndex, const bool theIsVisible );
- //! Returns applicationb visibility state of an annotaion definition.
+ //! Returns application visibility state of an annotation definition.
GEOMGUI_EXPORT bool GetIsVisible( const int theIndex ) const;
//! Sets annotation label's text.
//=================================================================
/*!
* GEOM_Displayer::Update
- * Update OCC presentaion
+ * Update OCC presentation
* [ Reimplemented from SALOME_Displayer ]
*/
//=================================================================
//=================================================================
/*!
* GEOM_Displayer::Update
- * Update VTK presentaion
+ * Update VTK presentation
* [ Reimplemented from SALOME_Displayer ]
*/
//=================================================================
if ( ( client == "OCCViewer" || client == "VTKViewer" ) && lst.Extent() > 0 ) {
QtxPopupMgr* mgr = popupMgr();
- //get parrent for submenu
+ //get parent for submenu
QAction* act = mgr->action( mgr->actionId( action( GEOMOp::OpMaterialProperties ) ) );
//Clear old menu
QMenu* oldMenu = act->menu() ;
myEdges(edge_id(1, 2)) = E2_f;
}
- // fird vertex
+ // third vertex
TopoDS_Edge E2 = TopoDS::Edge(myEdges(edge_id(1, 2)));
TopoDS_Vertex V21, V22;
TopExp::Vertices(E2, V21, V22, Standard_True);
myEdges(edge_id(1,2)) = anIterE3.Value();
} else {
- // Store the fird edge
+ // Store the third edge
myEdges(edge_id(1,3)) = anIterE3.Value();
}
}
return aWarning;
}
- // Copy the wire, bacause it can be updated with very-very big tolerance here
+ // Copy the wire, because it can be updated with very-very big tolerance here
BRepBuilderAPI_Copy aMC (theWire);
if (!aMC.IsDone()) return aWarning;
TopoDS_Wire aWire = TopoDS::Wire(aMC.Shape());
void InitByBlockAndEdges (const TopoDS_Shape& theBlock,
const TopoDS_Shape& theEdge1,
const TopoDS_Shape& theEdge2);
- // Init by hexahedral solid, making theEdge1 the first, theEdge2 the fird.
+ // Init by hexahedral solid, making theEdge1 the first, theEdge2 the third.
// First vertex is defined randomly from theEdge1 vertices
// (Picture 1 and Picture 2 shows two possible cases)
const TopoDS_Shape& theVertex2,
const TopoDS_Shape& theVertex3);
// Init by hexahedral solid, making theVertex1 the first,
- // theVertex2 the second and theVertex3 the fird vertices.
+ // theVertex2 the second and theVertex3 the third vertices.
// Initialization by parts of solid to be built
return SK_LCS;
}
- // Interprete results
+ // Interpret results
TopAbs_ShapeEnum aType = anInfo.Type();
switch (aType)
{
aFinder.SetState(theState);
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
aFinder.SetState(theState);
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
aFinder.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = aFinder.ErrorStatus();
// the detailed description of error codes is in GEOMAlgo_FinderShapeOn2.cxx
if (iErr) {
anExtractor.Perform();
- // Interprete results
+ // Interpret results
Standard_Integer iErr = anExtractor.ErrorStatus();
// The detailed description of error codes is in GEOMAlgo_Extractor.cxx
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
#####################################################################
#Created :17/02/2005
-#Auhtor :MASLOV Eugeny, KOVALTCHUK Alexey
+#Author :MASLOV Eugeny, KOVALTCHUK Alexey
#####################################################################
#
import os
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_ObjectInfo.py
# Author : Michael ZORIN
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_Partition1.py
# Module : GEOM
# appel:
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_Partition2.py
# Module : GEOM
# import callovo_01_GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_Partition3.py
# Module : GEOM
# import callovo_01_GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_Partition4.py
# Module : GEOM
# import couplex2_01_GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_Partition5.py
# Module : GEOM
# import gallery_01_GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_Sketcher.py
# Author : Damien COQUERET, Open CASCADE
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_usinggeom.py
# Author : Damien COQUERET, Open CASCADE
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_example.py
# Author : Paul RASCLE, EDF
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_example2.py
# Author : Paul RASCLE, EDF
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_example3.py
# Author : Paul RASCLE, EDF
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_example4.py
# Module : GEOM
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_example5.py
# Author : Damien COQUERET, Open CASCADE
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_example6.py
# Author : Dmitry MATVEITChEV
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_moteur.py
# Author : Damien COQUERET, Open CASCADE
# Module : GEOM
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : GEOM_usinggeom.py
# Author : Damien COQUERET, Open CASCADE
# Module : GEOM
#####################################################################################
#Created :17/02/2005
-#Auhtor :KOVALTCHUK Alexey
+#Author :KOVALTCHUK Alexey
#GUI test scenario :PAL-MESH-019 (geometry part), PAL-MESH-020 (geometry part)
#####################################################################################
#
#####################################################################
#Created :17/02/2005
-#Auhtor :KOVALTCHUK Alexey
+#Author :KOVALTCHUK Alexey
#GUI test scenario :PAL-MESH-028 (geometry part)
#####################################################################
#
#####################################################################
#Created :17/02/2005
-#Auhtor :KOVALTCHUK Alexey
+#Author :KOVALTCHUK Alexey
#GUI test scenario :PAL-MESH-033 (geometry part)
#####################################################################
#
#####################################################################
#Created :15/02/2005
-#Auhtor :KOVALTCHUK Alexey
+#Author :KOVALTCHUK Alexey
#GUI test scenario :PAL-MESH-035 (geometry part)
#####################################################################
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : __init__.py
# Author : Paul RASCLE, EDF
# Module : GEOM
## Create a plane, passing through the three given points
# @param thePnt1 First of three points, defining the plane.
# @param thePnt2 Second of three points, defining the plane.
- # @param thePnt3 Fird of three points, defining the plane.
+ # @param thePnt3 Third of three points, defining the plane.
# @param theTrimSize Half size of a side of quadrangle face, representing the plane.
# @param theName Object name; when specified, this parameter is used
# for result publication in the study. Otherwise, if automatic
Parameters:
thePnt1 First of three points, defining the plane.
thePnt2 Second of three points, defining the plane.
- thePnt3 Fird of three points, defining the plane.
+ thePnt3 Third of three points, defining the plane.
theTrimSize Half size of a side of quadrangle face, representing the plane.
theName Object name; when specified, this parameter is used
for result publication in the study. Otherwise, if automatic
RaiseIfFailed("RemoveObject", self.GroupOp)
pass
- ## Adds to the group all the given shapes. No errors, if some shapes are alredy included.
+ ## Adds to the group all the given shapes. No errors, if some shapes are already included.
# @param theGroup is a GEOM group to which the new sub-shapes are added.
# @param theSubShapes is a list of sub-shapes to be added.
#
@ManageTransactions("GroupOp")
def UnionList (self,theGroup, theSubShapes):
"""
- Adds to the group all the given shapes. No errors, if some shapes are alredy included.
+ Adds to the group all the given shapes. No errors, if some shapes are already included.
Parameters:
theGroup is a GEOM group to which the new sub-shapes are added.
RaiseIfFailed("UnionList", self.GroupOp)
pass
- ## Adds to the group all the given shapes. No errors, if some shapes are alredy included.
+ ## Adds to the group all the given shapes. No errors, if some shapes are already included.
# @param theGroup is a GEOM group to which the new sub-shapes are added.
# @param theSubShapes is a list of indices of sub-shapes to be added.
#
@ManageTransactions("GroupOp")
def UnionIDs(self,theGroup, theSubShapes):
"""
- Adds to the group all the given shapes. No errors, if some shapes are alredy included.
+ Adds to the group all the given shapes. No errors, if some shapes are already included.
Parameters:
theGroup is a GEOM group to which the new sub-shapes are added.
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+# GEOM GEOM_SWIG : binding of C++ implementation with Python
# File : geompy.py
# Author : Paul RASCLE, EDF
# Module : GEOM
}
aSeq->Append(anImported);
- // Greate material groups.
+ // Create material groups.
// MakeMaterialGroups( anImported, aSeq );
}
catch( Standard_Failure& aFail ) {
//=======================================================================
// Function : TransferFaceWData
-// Purpose : Transfert wireframe data for FACE
+// Purpose : Transfer wireframe data for FACE
//=======================================================================
void GEOM_OCCReader::TransferFaceWData(const TopoDS_Face& aFace,
//=======================================================================
// Function : TransferEdgeWData
-// Purpose : Transfert wireframe data for EDGE
+// Purpose : Transfer wireframe data for EDGE
//=======================================================================
void GEOM_OCCReader::TransferEdgeWData(const TopoDS_Edge& aEdge,
//=======================================================================
// Function : TransferVertexWData
-// Purpose : Transfert wireframe data for VERTEX
+// Purpose : Transfer wireframe data for VERTEX
//=======================================================================
void GEOM_OCCReader::TransferVertexWData(const TopoDS_Vertex& aVertex,
//=======================================================================
// Function : TransferEdgeSData(
-// Purpose : Transfert shading data for EDGE
+// Purpose : Transfer shading data for EDGE
//=======================================================================
void GEOM_OCCReader::TransferEdgeSData(const TopoDS_Edge& aFace,
//=======================================================================
// Function : TransferFaceSData
-// Purpose : Transfert shading data for FACE
+// Purpose : Transfer shading data for FACE
//=======================================================================
void GEOM_OCCReader::TransferFaceSData(const TopoDS_Face& aFace,
vtkPoints* Pts,
}
aSeq->Append(anImported);
- // Greate material groups.
+ // Create material groups.
MakeMaterialGroups( anImported, aSeq );
}
catch( Standard_Failure& aFail ) {
}
aSeq->Append(anImported);
- // Greate material groups.
+ // Create material groups.
// MakeMaterialGroups( anImported, aSeq );
}
catch( Standard_Failure& aFail ) {