From: eap Date: Thu, 28 Dec 2017 11:41:31 +0000 (+0300) Subject: Typo-fix by Kunda X-Git-Tag: V9_0_0^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=14bd7e1d7098a3da6ffc336dd9e0e0ee6f624291;p=modules%2Fgeom.git Typo-fix by Kunda http://www.salome-platform.org/forum/forum_9/22126441 --- diff --git a/doc/salome/examples/free_boundaries.py b/doc/salome/examples/free_boundaries.py index 8fe0d475b..361739a91 100644 --- a/doc/salome/examples/free_boundaries.py +++ b/doc/salome/examples/free_boundaries.py @@ -19,7 +19,7 @@ for fi in range(len(faces)): fid = geompy.addToStudyInFather(cut, faces[fi], "Face %d" % (fi+1)) isSuccess, closedWires, openWires = geompy.GetFreeBoundary(faces[fi]) if isSuccess: - print "Check free boudaries in face %d: OK" % (fi+1) + print "Check free boundaries in face %d: OK" % (fi+1) print "-- Nb of closed boundaries = %d" % len(closedWires) for wi in range(len(closedWires)): wid = geompy.addToStudyInFather(faces[fi], closedWires[wi], "Closed wire %d" % (wi+1)) @@ -30,6 +30,6 @@ for fi in range(len(faces)): pass pass else: - print "Check free boudaries in face %d: KO" % (fi+1) + print "Check free boundaries in face %d: KO" % (fi+1) pass pass diff --git a/doc/salome/gui/GEOM/input/archimede.doc b/doc/salome/gui/GEOM/input/archimede.doc index aed6376a5..c89be8370 100644 --- a/doc/salome/gui/GEOM/input/archimede.doc +++ b/doc/salome/gui/GEOM/input/archimede.doc @@ -13,7 +13,7 @@ water-line of the object plunged into the water (in Z direction). \n TUI Command: geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection), where \em Shape is a shape to put into the water, \em Weight is a weight of -the shape, \em WaterDensity is density of water, \em MeshingDeflection is a +the shape, \em WaterDensity is density of water, \em MeshingDeflection is a deflection of the mesh, using to compute the section. \n Arguments: Name + 1 shape + 3 values (Weight, Water Density & Meshing Deflection). diff --git a/doc/salome/gui/GEOM/input/blocks_operations.doc b/doc/salome/gui/GEOM/input/blocks_operations.doc index 685f99509..a266309d6 100644 --- a/doc/salome/gui/GEOM/input/blocks_operations.doc +++ b/doc/salome/gui/GEOM/input/blocks_operations.doc @@ -2,7 +2,7 @@ \page blocks_operations_page Blocks Operations -The solids built by blocks \ref build_by_blocks_page can be +The solids built by blocks \ref build_by_blocks_page can be processed with blocks transformation operations: -
  • Diameter of an an arc, a circular edge or face, a sphere, a cylinder, a cone or a torus.
  • +
  • Diameter of an an arc, a circular edge or face, a sphere, a cylinder, a cone or a torus.
  • Angle. The angle dimension can be defined in one of two possible ways :
  • diff --git a/doc/salome/gui/GEOM/input/modify_location_operation.doc b/doc/salome/gui/GEOM/input/modify_location_operation.doc index 68c7e746b..dc4157eea 100644 --- a/doc/salome/gui/GEOM/input/modify_location_operation.doc +++ b/doc/salome/gui/GEOM/input/modify_location_operation.doc @@ -22,9 +22,9 @@ System in the center of it is to the left . \image html image30.png -\n The second algorithm modifies the location of the \b Object(s) using \b Start +\n The second algorithm modifies the location of the \b Object(s) using \b Start and \b End \b LCS, although the final position of the object will not -coincide with the center of either of the two systems. In this method +coincide with the center of either of the two systems. In this method the object is shifted from its initial position by the value of the remainder after subtraction of the coordinates of the Start LCS from the coordinates of the End LCS. @@ -53,7 +53,7 @@ translated cube at the position (-100;0;0) \image html image4.png The third algorithm modifies the location of the \b Object(s) using the Path object (Wire or Edge) -and the \b Distance parameter (ranging from 0 to 1) defining how far the object will move along the path. +and the \b Distance parameter (ranging from 0 to 1) defining how far the object will move along the path. \n Create a copy checkbox allows to keep the initial object, otherwise it will be removed. \n Select Unpublished edges checkbox allows to select sub-shape edges on diff --git a/doc/salome/gui/GEOM/input/restore_presentation_parameters.doc b/doc/salome/gui/GEOM/input/restore_presentation_parameters.doc index abbc08358..55694bd8b 100644 --- a/doc/salome/gui/GEOM/input/restore_presentation_parameters.doc +++ b/doc/salome/gui/GEOM/input/restore_presentation_parameters.doc @@ -27,7 +27,7 @@ The resulting shape inherits the sub-shapes and the colour of Box_1. \image html restore-ss-viewer-cut.png "The resulting shape" -Second, we examine the case when the resulting shape is composed from multiple arguments +Second, we examine the case when the resulting shape is composed from multiple arguments (after all Boolean operations, except for Cut, or after the partition with several object shapes, or if the resulting shape is a compound). diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index cd8f8c808..6deaf2952 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -1731,7 +1731,7 @@ module GEOM /*! - * \brief Add / Remove material to / from a solid by extrusion of the base shape on the given distance. + * \brief Add / Remove material to / from a solid by extrusion of the base shape on the given distance. * \param theInitShape Initial shape on which to perform the feature.It has to be a solid or * a compound made of a single solid * \param theBase Edge or wire defining the base shape to be extruded. @@ -1821,7 +1821,7 @@ module GEOM * * The path shape can be a wire or an edge. * the several profiles can be specified in the several locations of path. - * \param theSeqBases - list of Bases shape to be extruded. + * \param theSeqBases - list of Bases shape to be extruded. * \param theLocations - list of locations on the path corresponding * specified list of the Bases shapes. Number of locations * should be equal to number of bases or list of locations can be empty. @@ -1855,7 +1855,7 @@ module GEOM * * The path shape can be a shell or a face. * the several profiles can be specified in the several locations of path. - * \param theSeqBases - list of Bases shape to be extruded. + * \param theSeqBases - list of Bases shape to be extruded. * \param theSeqSubBases - list of corresponding sub-shapes of section shapes. * \param theLocations - list of locations on the path corresponding * specified list of the Bases shapes. Number of locations @@ -2840,7 +2840,7 @@ module GEOM /*! * \brief Create a quadrangle face from four edges. Order of Edges is not - * important. It is not necessary that edges share the same vertex. + * important. It is not necessary that edges share the same vertex. * \param theEdge1,theEdge2,theEdge3,theEdge4 Edges for the face bound. * \return New GEOM_Object, containing the created face. */ @@ -2875,7 +2875,7 @@ module GEOM * \brief Create a hexahedral solid, bounded by the six given faces. Order of * faces is not important. * - * It is not necessary that Faces share the same edge. + * It is not necessary that Faces share the same edge. * \param theFace1,theFace2,theFace3,theFace4,theFace5,theFace6 Faces for the hexahedral solid. * \return New GEOM_Object, containing the created solid. */ @@ -4709,7 +4709,7 @@ module GEOM interface GEOM_IGroupOperations : GEOM_IOperations { /*! - * \brief Creates a new group which will store sub-shapes of theMainShape + * \brief Creates a new group which will store sub-shapes of theMainShape * \param theMainShape is a GEOM_Object on which the group is selected * \param theShapeType defines a shape type of the group * \return a newly created GEOM group diff --git a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx index b33b7a7d6..95bc2cc68 100644 --- a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx +++ b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx @@ -450,7 +450,7 @@ void EntityGUI_FeatureDetectorDlg::SelectionIntoArgument() myDetector->SetPath( theImgFileName.toStdString() ); height = myDetector->GetImgHeight(); width = myDetector->GetImgWidth(); - pictureLeft = -0.5 * width; // X coordinate of the top left corner of the background image in the view + pictureLeft = -0.5 * width; // X coordinate of the top left corner of the background image in the view pictureTop = 0.5 * height; // Y coordinate of both top corners } diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 2a1863026..8cc523c62 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -2120,7 +2120,7 @@ QString EntityGUI_SketcherDlg::GetNewCommand( QString& theParameters ) QString myNewCommand = ":"; SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr(); int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 ); - int DigNum = qAbs(aPrecision); // options for the format of numbers in myNewCommand + int DigNum = qAbs(aPrecision); // options for the format of numbers in myNewCommand char Format = 'f'; if ( aPrecision < 0 ) // f --> DigNum is the number of digits after the decimal point Format = 'g'; // g --> DigNum is the maximum number of significant digits @@ -2319,7 +2319,7 @@ bool EntityGUI_SketcherDlg::execute( ObjectList& objects ) MESSAGE("EntityGUI_SketcherDlg::execute") SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr(); int aPrecision = resMgr->integerValue( "Geometry", "length_precision", 6 ); - int DigNum = qAbs(aPrecision); // options for the format of numbers in myNewCommand + int DigNum = qAbs(aPrecision); // options for the format of numbers in myNewCommand char Format = 'f'; if ( aPrecision < 0 ) // f --> DigNum is the number of digits after the decimal point Format = 'g'; // g --> DigNum is the maximum number of significant digits diff --git a/src/GEOMAlgo/GEOMAlgo_AlgoTools.hxx b/src/GEOMAlgo/GEOMAlgo_AlgoTools.hxx index a737460dc..b6e56e232 100755 --- a/src/GEOMAlgo/GEOMAlgo_AlgoTools.hxx +++ b/src/GEOMAlgo/GEOMAlgo_AlgoTools.hxx @@ -67,7 +67,7 @@ class GEOMAlgo_AlgoTools { gp_Vec& aN); //! Computes a point inside the face .
    - //! - 2D representation of
    + //! - 2D representation of
    //! on the surface of
    //! Returns 0 in case of success.
    Standard_EXPORT diff --git a/src/GEOM_SWIG/geomBuilder.py b/src/GEOM_SWIG/geomBuilder.py index bf056947d..b70a8d42f 100644 --- a/src/GEOM_SWIG/geomBuilder.py +++ b/src/GEOM_SWIG/geomBuilder.py @@ -10437,7 +10437,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): Parameters: theInit Shape to remove material from. It must be a solid or a compound made of a single solid. theBase Closed edge or wire defining the base shape to be extruded. - theH Prism dimension along the normal to theBase + theH Prism dimension along the normal to theBase theAngle Draft angle in degrees. theInvert If true material changes the direction. theName Object name; when specified, this parameter is used @@ -10477,7 +10477,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): Parameters: theInit Shape to add material to. It must be a solid or a compound made of a single solid. theBase Closed edge or wire defining the base shape to be extruded. - theH Prism dimension along the normal to theBase + theH Prism dimension along the normal to theBase theAngle Draft angle in degrees. theInvert If true material changes the direction. theName Object name; when specified, this parameter is used @@ -11817,7 +11817,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): ## @{ ## Create a quadrangle face from four edges. Order of Edges is not - # important. It is not necessary that edges share the same vertex. + # important. It is not necessary that edges share the same vertex. # @param E1,E2,E3,E4 Edges for the face bound. # @param theName Object name; when specified, this parameter is used # for result publication in the study. Otherwise, if automatic @@ -11830,7 +11830,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): def MakeQuad(self, E1, E2, E3, E4, theName=None): """ Create a quadrangle face from four edges. Order of Edges is not - important. It is not necessary that edges share the same vertex. + important. It is not necessary that edges share the same vertex. Parameters: E1,E2,E3,E4 Edges for the face bound. @@ -11935,7 +11935,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): return anObj ## Create a hexahedral solid, bounded by the six given faces. Order of - # faces is not important. It is not necessary that Faces share the same edge. + # faces is not important. It is not necessary that Faces share the same edge. # @param F1,F2,F3,F4,F5,F6 Faces for the hexahedral solid. # @param theName Object name; when specified, this parameter is used # for result publication in the study. Otherwise, if automatic @@ -11949,7 +11949,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): def MakeHexa(self, F1, F2, F3, F4, F5, F6, theName=None): """ Create a hexahedral solid, bounded by the six given faces. Order of - faces is not important. It is not necessary that Faces share the same edge. + faces is not important. It is not necessary that Faces share the same edge. Parameters: F1,F2,F3,F4,F5,F6 Faces for the hexahedral solid. diff --git a/src/Tools/t_shape/t_shape_dialog.ui b/src/Tools/t_shape/t_shape_dialog.ui index 55a48232e..9bc0affe2 100644 --- a/src/Tools/t_shape/t_shape_dialog.ui +++ b/src/Tools/t_shape/t_shape_dialog.ui @@ -78,21 +78,21 @@ - Big pipe height + Big pipe height - Small pipe radius + Small pipe radius - Small pipe height + Small pipe height