.. 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
.. |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 )*.
* \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,
* 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,
* 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,
* 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
*/
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;
size_t
GetSize() const;
- //! Returns MED interpetation of the value size
+ //! Returns MED interpretation of the value size
size_t
GetNbVal() const;
// 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";
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
/*!
\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 )
{
\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 )
{
}
/*!
- \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 )
}
/*!
- \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 )
}
/*!
- \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 )
};
/*!
- \brief Contructor.
+ \brief Constructor.
\param parent Parent widget.
\internal
*/
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 ) )
{
////////////////////////////////////////////////////////////////////////////////
/*!
- \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)
* \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
*/
//================================================================================
//=======================================================================
//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()
from salome.smesh import smeshBuilder
smesh = smeshBuilder.New()
-# ---- define a boxe
+# ---- define a box
box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
### ---------------------------- SMESH --------------------------------------
-# ---- init a Mesh with the boxe
+# ---- init a Mesh with the box
mesh = smesh.Mesh(box, "MeshBox")
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:
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*.
*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()
//================================================================================
/*!
- * \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
*/
{ 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
*/
//================================================================================
/*!
- * \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
//================================================================================
/*!
- * \brief Find 2 neigbor nodes of a node on EDGE
+ * \brief Find 2 neighbor nodes of a node on 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
*/
//================================================================================