mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Fix typo by Kunda
https://www.salome-platform.org/forum/forum_9/253019360
This commit is contained in:
parent
55d3f10182
commit
734c82522e
@ -116,7 +116,7 @@ If the parent mesh is already computed, then you can define the **Geometry** by
|
||||
.. image:: ../images/choose_geom_selection_way.png
|
||||
:align: center
|
||||
|
||||
**Direct geometry selection** enables selecting the sub-shape in the Objec Browser.
|
||||
**Direct geometry selection** enables selecting the sub-shape in the Object Browser.
|
||||
**Find geometry by mesh element selection** activates the following dialog.
|
||||
|
||||
.. image:: ../images/find_geom_by_mesh_elem.png
|
||||
|
@ -143,7 +143,7 @@ Extrusion of 2d elements along a closed path
|
||||
.. |add| image:: ../images/add.png
|
||||
.. |rem| image:: ../images/remove.png
|
||||
|
||||
* The elements can also be rotated around the path with rotaion center at the **Base point** to get the resulting mesh in a helical fashion. You can set the values of angles at the right, add them to **Rotation angles** list at the left by pressing the *"Add"* button |add| and remove them from the list by pressing the *"Remove"* button |rem|.
|
||||
* The elements can also be rotated around the path with rotation center at the **Base point** to get the resulting mesh in a helical fashion. You can set the values of angles at the right, add them to **Rotation angles** list at the left by pressing the *"Add"* button |add| and remove them from the list by pressing the *"Remove"* button |rem|.
|
||||
|
||||
**Linear variation of angles** option allows defining the angle of gradual rotation for the whole path. At each step the elements will be rotated by *( angle / nb. of steps )*.
|
||||
|
||||
|
@ -296,7 +296,7 @@ module SMESH
|
||||
* \param invalidEntries - return study entries of objects whose
|
||||
* counterparts are not found in the newGeometry, followed by entries
|
||||
* of mesh sub-objects that are invalid because they depend on a not found
|
||||
* preceeding sub-shape
|
||||
* preceding sub-shape
|
||||
*/
|
||||
boolean CopyMeshWithGeom( in SMESH_Mesh sourceMesh,
|
||||
in GEOM::GEOM_Object newGeometry,
|
||||
@ -500,9 +500,9 @@ module SMESH
|
||||
* Return indices of elements, which are located inside the sphere
|
||||
* \param theSource - mesh, sub-mesh or group
|
||||
* \param theElemType - mesh element type
|
||||
* \param theX - x cooridate of the center of the sphere
|
||||
* \param theY - y cooridate of the center of the sphere
|
||||
* \param theZ - y cooridate of the center of the sphere
|
||||
* \param theX - x coordinate of the center of the sphere
|
||||
* \param theY - y coordinate of the center of the sphere
|
||||
* \param theZ - y coordinate of the center of the sphere
|
||||
* \param theR - radius of the sphere
|
||||
*/
|
||||
long_array GetInsideSphere( in SMESH_IDSource theSource,
|
||||
@ -516,12 +516,12 @@ module SMESH
|
||||
* Return indices of elements, which are located inside the box
|
||||
* \param theSource - mesh, sub-mesh or group
|
||||
* \param theElemType - mesh element type
|
||||
* \param theX1 - x cooridate of the first opposite point
|
||||
* \param theY1 - y cooridate of the first opposite point
|
||||
* \param theZ1 - y cooridate of the first opposite point
|
||||
* \param theX2 - x cooridate of the second opposite point
|
||||
* \param theY2 - y cooridate of the second opposite point
|
||||
* \param theZ2 - y cooridate of the second opposite point
|
||||
* \param theX1 - x coordinate of the first opposite point
|
||||
* \param theY1 - y coordinate of the first opposite point
|
||||
* \param theZ1 - y coordinate of the first opposite point
|
||||
* \param theX2 - x coordinate of the second opposite point
|
||||
* \param theY2 - y coordinate of the second opposite point
|
||||
* \param theZ2 - y coordinate of the second opposite point
|
||||
*/
|
||||
long_array GetInsideBox( in SMESH_IDSource theSource,
|
||||
in ElementType theElemType,
|
||||
@ -535,12 +535,12 @@ module SMESH
|
||||
* Return indices of elements, which are located inside the box
|
||||
* \param theSource - mesh, sub-mesh or group
|
||||
* \param theElemType - mesh element type
|
||||
* \param theX - x cooridate of the cented of the bottom face
|
||||
* \param theY - y cooridate of the cented of the bottom face
|
||||
* \param theZ - y cooridate of the cented of the bottom face
|
||||
* \param theDX - x cooridate of the cented of the base vector
|
||||
* \param theDY - y cooridate of the cented of the base vector
|
||||
* \param theDZ - z cooridate of the cented of the base vector
|
||||
* \param theX - x coordinate of the cented of the bottom face
|
||||
* \param theY - y coordinate of the cented of the bottom face
|
||||
* \param theZ - y coordinate of the cented of the bottom face
|
||||
* \param theDX - x coordinate of the cented of the base vector
|
||||
* \param theDY - y coordinate of the cented of the base vector
|
||||
* \param theDZ - z coordinate of the cented of the base vector
|
||||
* \param theH - height of the cylinder
|
||||
* \param theR - radius of the cylinder
|
||||
*/
|
||||
|
@ -193,7 +193,7 @@ namespace MED
|
||||
TInt myNbElem; //<! Number of corresponding mesh entities
|
||||
TInt GetNbElem() const { return myNbElem; } //! Get number of mesh elements
|
||||
|
||||
//! Defines sequence MED Family indexes for corresponding mesh entites
|
||||
//! Defines sequence MED Family indexes for corresponding mesh entities
|
||||
PElemNum myFamNum;
|
||||
//! Get number of a MED FAMILY by order number of the mesh element
|
||||
TInt GetFamNum(TInt theId) const;
|
||||
@ -587,7 +587,7 @@ namespace MED
|
||||
size_t
|
||||
GetSize() const;
|
||||
|
||||
//! Returns MED interpetation of the value size
|
||||
//! Returns MED interpretation of the value size
|
||||
size_t
|
||||
GetNbVal() const;
|
||||
|
||||
|
@ -356,7 +356,7 @@ QString SMESHGUI_CopyMeshDlg::getErrorMsg( SMESH::string_array_var theInvalidEnt
|
||||
// theInvalidEntries - SObject's that hold geometry objects whose
|
||||
// counterparts are not found in the newGeometry, followed by SObject's
|
||||
// holding mesh sub-objects that are invalid because they depend on a not found
|
||||
// preceeding sub-shape
|
||||
// preceding sub-shape
|
||||
|
||||
QString msg = tr("SUBSHAPES_NOT_FOUND_MSG") + "\n";
|
||||
|
||||
|
@ -1402,7 +1402,7 @@ void SMESHGUI_FilterTable::SetCriterion (const int theRow,
|
||||
theCriterion.Type != SMESH::FT_OverConstrainedVolume &&
|
||||
theCriterion.Type != SMESH::FT_LinearOrQuadratic)
|
||||
{
|
||||
// Numberic criterion
|
||||
// Numeric criterion
|
||||
aTable->item( theRow, 2 )->setText(QString("%1").arg(theCriterion.Threshold, 0, 'g', 15));
|
||||
}
|
||||
else
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
/*!
|
||||
\brief Constructor.
|
||||
\param parent Parent widget.
|
||||
\param name Field name. Defauls to null string.
|
||||
\param name Field name. Defaults to null string.
|
||||
*/
|
||||
Field::Field( QWidget* parent, const QString& name ): QLabel( parent )
|
||||
{
|
||||
@ -382,7 +382,7 @@ namespace
|
||||
\brief Format connectivity data to string representation.
|
||||
\param connectivity Connectivity map.
|
||||
\param type Element type or face index if negative
|
||||
\return Stringifed representation of the connectivity.
|
||||
\return Stringified representation of the connectivity.
|
||||
*/
|
||||
QString formatConnectivity( SMESH::Connectivity connectivity, int type )
|
||||
{
|
||||
@ -1036,7 +1036,7 @@ void SMESHGUI_BaseInfo::setFieldsVisible( int startRow, int lastRow, bool on )
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Write information from panel to ouput stream.
|
||||
\brief Write information from panel to output stream.
|
||||
\param out Text stream output.
|
||||
*/
|
||||
void SMESHGUI_BaseInfo::saveInfo( QTextStream& out )
|
||||
@ -1999,7 +1999,7 @@ void SMESHGUI_ElemInfo::updateControls()
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Write information from panel to ouput stream.
|
||||
\brief Write information from panel to output stream.
|
||||
\param out Text stream output.
|
||||
*/
|
||||
void SMESHGUI_ElemInfo::saveInfo( QTextStream &out )
|
||||
@ -2864,7 +2864,7 @@ void SMESHGUI_AddInfo::showNextSubMeshes()
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Write information from panel to ouput stream.
|
||||
\brief Write information from panel to output stream.
|
||||
\param out Text stream output.
|
||||
*/
|
||||
void SMESHGUI_AddInfo::saveInfo( QTextStream &out )
|
||||
@ -2926,7 +2926,7 @@ public:
|
||||
};
|
||||
|
||||
/*!
|
||||
\brief Contructor.
|
||||
\brief Constructor.
|
||||
\param parent Parent widget.
|
||||
\internal
|
||||
*/
|
||||
|
@ -101,7 +101,7 @@ SMESH::SelectionProxy::SelectionProxy( const SelectionProxy& other )
|
||||
void SMESH::SelectionProxy::init()
|
||||
{
|
||||
if ( myIO.IsNull() )
|
||||
myIO = new SALOME_InteractiveObject(); // create dummy IO to avoid crashes when accesing it
|
||||
myIO = new SALOME_InteractiveObject(); // create dummy IO to avoid crashes when accessing it
|
||||
|
||||
if ( !CORBA::is_nil( myObject ) )
|
||||
{
|
||||
@ -1376,7 +1376,7 @@ void SMESH::MedInfo::setVersion( uint major, uint minor, uint release )
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*!
|
||||
\brief Contructor. Creates invalid position.
|
||||
\brief Constructor. Creates invalid position.
|
||||
*/
|
||||
SMESH::Position::Position():
|
||||
myShapeId(-1), myShapeType(-1), myU(0), myV(0), myHasU(false), myHasV(false)
|
||||
|
@ -3453,7 +3453,7 @@ namespace // utils for CopyMeshWithGeom()
|
||||
* \param [out] invalidEntries - return study entries of objects whose
|
||||
* counterparts are not found in the newGeometry, followed by entries
|
||||
* of mesh sub-objects that are invalid because they depend on a not found
|
||||
* preceeding sub-shape
|
||||
* preceding sub-shape
|
||||
* \return CORBA::Boolean - is a success
|
||||
*/
|
||||
//================================================================================
|
||||
|
@ -603,7 +603,7 @@ SMESH_Invalid_subMesh_i::SMESH_Invalid_subMesh_i( PortableServer::POA_ptr thePOA
|
||||
|
||||
//=======================================================================
|
||||
//function : GetSubShape
|
||||
//purpose : return geomtry which is not a sub-shape of the main shape
|
||||
//purpose : return geometry which is not a sub-shape of the main shape
|
||||
//=======================================================================
|
||||
|
||||
GEOM::GEOM_Object_ptr SMESH_Invalid_subMesh_i::GetSubShape()
|
||||
|
@ -34,7 +34,7 @@ import SMESH, SALOMEDS
|
||||
from salome.smesh import smeshBuilder
|
||||
smesh = smeshBuilder.New()
|
||||
|
||||
# ---- define a boxe
|
||||
# ---- define a box
|
||||
|
||||
box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
|
||||
|
||||
@ -52,7 +52,7 @@ print("number of Edges in box : ", len(subEdgeList))
|
||||
|
||||
### ---------------------------- SMESH --------------------------------------
|
||||
|
||||
# ---- init a Mesh with the boxe
|
||||
# ---- init a Mesh with the box
|
||||
|
||||
mesh = smesh.Mesh(box, "MeshBox")
|
||||
|
||||
@ -90,7 +90,7 @@ print(hypVolume.GetId())
|
||||
print(hypVolume.GetMaxElementVolume())
|
||||
smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume))
|
||||
|
||||
print("-------------------------- compute the mesh of the boxe")
|
||||
print("-------------------------- compute the mesh of the box")
|
||||
ret = mesh.Compute()
|
||||
print(ret)
|
||||
if ret != 0:
|
||||
|
@ -812,7 +812,7 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ):
|
||||
|
||||
Parameters:
|
||||
sourceMesh: the mesh to copy definition of.
|
||||
newGeom: the new geomtry.
|
||||
newGeom: the new geometry.
|
||||
meshName: an optional name of the new mesh. If omitted, the mesh name is kept.
|
||||
toCopyGroups: to create groups in the new mesh.
|
||||
toReuseHypotheses: to reuse hypotheses of the *sourceMesh*.
|
||||
@ -823,7 +823,7 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ):
|
||||
*invalidEntries* are study entries of objects whose
|
||||
counterparts are not found in the *newGeom*, followed by entries
|
||||
of mesh sub-objects that are invalid because they depend on a not found
|
||||
preceeding sub-shape
|
||||
preceding sub-shape
|
||||
"""
|
||||
if isinstance( sourceMesh, Mesh ):
|
||||
sourceMesh = sourceMesh.GetMesh()
|
||||
|
@ -3989,10 +3989,10 @@ bool StdMeshers_PrismAsBlock::GetLayersTransformation(vector<gp_Trsf> &
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Check curve orientation of a bootom edge
|
||||
* \brief Check curve orientation of a bottom edge
|
||||
* \param meshDS - mesh DS
|
||||
* \param columnsMap - node columns map of side face
|
||||
* \param bottomEdge - the bootom edge
|
||||
* \param bottomEdge - the bottom edge
|
||||
* \param sideFaceID - side face in-block ID
|
||||
* \retval bool - true if orientation coincide with in-block forward orientation
|
||||
*/
|
||||
|
@ -245,10 +245,10 @@ class STDMESHERS_EXPORT StdMeshers_PrismAsBlock: public SMESH_Block
|
||||
{ return myShapeIDMap.FindIndex( shape ); }
|
||||
|
||||
/*!
|
||||
* \brief Check curve orientation of a bootom edge
|
||||
* \brief Check curve orientation of a bottom edge
|
||||
* \param meshDS - mesh DS
|
||||
* \param columnsMap - node columns map of side face
|
||||
* \param bottomEdge - the bootom edge
|
||||
* \param bottomEdge - the bottom edge
|
||||
* \param sideFaceID - side face in-block ID
|
||||
* \retval bool - true if orientation coincide with in-block forward orientation
|
||||
*/
|
||||
|
@ -1591,7 +1591,7 @@ namespace VISCOUS_3D
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Computes mimimal distance of face in-FACE nodes from an EDGE
|
||||
* \brief Computes minimal distance of face in-FACE nodes from an EDGE
|
||||
* \param [in] face - the mesh face to treat
|
||||
* \param [in] nodeOnEdge - a node on the EDGE
|
||||
* \param [out] faceSize - the computed distance
|
||||
@ -4091,7 +4091,7 @@ gp_XYZ _OffsetPlane::GetCommonPoint(bool& isFound,
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Find 2 neigbor nodes of a node on EDGE
|
||||
* \brief Find 2 neighbor nodes of a node on EDGE
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
@ -4136,7 +4136,7 @@ bool _ViscousBuilder::findNeiborsOnEdge(const _LayerEdge* edge,
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief Set _curvature and _2neibors->_plnNorm by 2 neigbor nodes residing the same EDGE
|
||||
* \brief Set _curvature and _2neibors->_plnNorm by 2 neighbor nodes residing the same EDGE
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user