mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Fix typos by Kunda
https://www.salome-platform.org/forum/forum_9/875695368/263950625
This commit is contained in:
parent
4576108204
commit
7d57cfe306
@ -1,6 +1,6 @@
|
|||||||
# Double nodes on groups boundaries
|
# Double nodes on groups boundaries
|
||||||
|
|
||||||
# This example represents an iron cable (a thin cylinder) in a concrete bloc (a big cylinder).
|
# This example represents an iron cable (a thin cylinder) in a concrete block (a big cylinder).
|
||||||
# The big cylinder is defined by two geometric volumes.
|
# The big cylinder is defined by two geometric volumes.
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ Several criteria can be combined together by using logical operators *AND* and *
|
|||||||
|
|
||||||
Some filtering criteria use the functionality of :ref:`mesh quality controls <quality_page>` to filter mesh nodes / elements by specific characteristic (Area, Length, etc).
|
Some filtering criteria use the functionality of :ref:`mesh quality controls <quality_page>` to filter mesh nodes / elements by specific characteristic (Area, Length, etc).
|
||||||
|
|
||||||
The functinality of mesh filters is available in both GUI and TUI modes:
|
The functionality of mesh filters is available in both GUI and TUI modes:
|
||||||
|
|
||||||
* In GUI, filters are available in some dialog boxes via "Set Filters" button, clicking on which opens the :ref:`dialog box <filtering_elements>` allowing to specify the list of filter criteria to be applied to the current selection. See :ref:`selection_filter_library_page` page to learn more about selection filters and their usage in GUI.
|
* In GUI, filters are available in some dialog boxes via "Set Filters" button, clicking on which opens the :ref:`dialog box <filtering_elements>` allowing to specify the list of filter criteria to be applied to the current selection. See :ref:`selection_filter_library_page` page to learn more about selection filters and their usage in GUI.
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ The following targets are supported:
|
|||||||
* **Node:** single mesh node;
|
* **Node:** single mesh node;
|
||||||
* **Element:** single mesh element (not available in this version);
|
* **Element:** single mesh element (not available in this version);
|
||||||
* **Object:** mesh, sub-mesh or group object (not available in this version);
|
* **Object:** mesh, sub-mesh or group object (not available in this version);
|
||||||
* **Origin:** origin of the global co-ordinate system.
|
* **Origin:** origin of the global coordinate system.
|
||||||
|
|
||||||
The result will be shown in the bottom area of the dialog. In addition, a simple preview will be shown in the 3D viewer.
|
The result will be shown in the bottom area of the dialog. In addition, a simple preview will be shown in the 3D viewer.
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ The user can either input the ID of a node or element he wants to analyze direct
|
|||||||
If **Show IDs** is activated, IDs of selected nodes or elements are displayed in the 3D viewer.
|
If **Show IDs** is activated, IDs of selected nodes or elements are displayed in the 3D viewer.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The information about the groups, to which the node or element belongs, can be shown in a short or in a detailed form. By default, for performance rasons, this information is shown in a short form (group names only). The detailed information on groups can be switched on via :ref:`Show details on groups in element information tab <group_detail_info_pref>` option of :ref:`mesh_preferences_page`.
|
The information about the groups, to which the node or element belongs, can be shown in a short or in a detailed form. By default, for performance reasons, this information is shown in a short form (group names only). The detailed information on groups can be switched on via :ref:`Show details on groups in element information tab <group_detail_info_pref>` option of :ref:`mesh_preferences_page`.
|
||||||
|
|
||||||
.. _mesh_addition_info_anchor:
|
.. _mesh_addition_info_anchor:
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ If there is no shared faces between the group \#n and the group \#p in the list,
|
|||||||
All the flat elements are gathered into the group named "joints3D" (or "joints2D" in 2D situation).
|
All the flat elements are gathered into the group named "joints3D" (or "joints2D" in 2D situation).
|
||||||
The flat element of the multiple junctions between the simple junction are stored in a group named "jointsMultiples".
|
The flat element of the multiple junctions between the simple junction are stored in a group named "jointsMultiples".
|
||||||
|
|
||||||
This example represents an iron cable (a thin cylinder) in a concrete bloc (a big cylinder).
|
This example represents an iron cable (a thin cylinder) in a concrete block (a big cylinder).
|
||||||
The big cylinder is defined by two geometric volumes.
|
The big cylinder is defined by two geometric volumes.
|
||||||
|
|
||||||
.. literalinclude:: ../../../examples/generate_flat_elements.py
|
.. literalinclude:: ../../../examples/generate_flat_elements.py
|
||||||
|
@ -121,7 +121,7 @@ module SMESH
|
|||||||
*/
|
*/
|
||||||
struct HypInitParams
|
struct HypInitParams
|
||||||
{
|
{
|
||||||
short way; // 0 - by mesh, 1 - by geometry size + prefered parameters, 2 - by averageLength
|
short way; // 0 - by mesh, 1 - by geometry size + preferred parameters, 2 - by averageLength
|
||||||
double averageLength;
|
double averageLength;
|
||||||
boolean quadDominated;
|
boolean quadDominated;
|
||||||
};
|
};
|
||||||
|
@ -1159,7 +1159,7 @@ bool SMESH_Mesh::IsUsedHypothesis(SMESHDS_Hypothesis * anHyp,
|
|||||||
// algorithm parameter
|
// algorithm parameter
|
||||||
if (algo)
|
if (algo)
|
||||||
{
|
{
|
||||||
// look trough hypotheses used by algo
|
// look through hypotheses used by algo
|
||||||
const SMESH_HypoFilter* hypoKind;
|
const SMESH_HypoFilter* hypoKind;
|
||||||
if (( hypoKind = algo->GetCompatibleHypoFilter( !hyp->IsAuxiliary() ))) {
|
if (( hypoKind = algo->GetCompatibleHypoFilter( !hyp->IsAuxiliary() ))) {
|
||||||
std::list <const SMESHDS_Hypothesis * > usedHyps;
|
std::list <const SMESHDS_Hypothesis * > usedHyps;
|
||||||
|
@ -1927,7 +1927,7 @@ namespace
|
|||||||
}
|
}
|
||||||
for ( int variant = 0; variant < nbVariants && method._nbSplits == 0; ++variant )
|
for ( int variant = 0; variant < nbVariants && method._nbSplits == 0; ++variant )
|
||||||
{
|
{
|
||||||
// check method compliancy with adjacent tetras,
|
// check method compliance with adjacent tetras,
|
||||||
// all found splits must be among facets of tetras described by this method
|
// all found splits must be among facets of tetras described by this method
|
||||||
method = TSplitMethod( nbTet, connVariants[variant] );
|
method = TSplitMethod( nbTet, connVariants[variant] );
|
||||||
if ( hasAdjacentSplits && method._nbSplits > 0 )
|
if ( hasAdjacentSplits && method._nbSplits > 0 )
|
||||||
@ -2126,7 +2126,7 @@ namespace
|
|||||||
// there are adjacent prism
|
// there are adjacent prism
|
||||||
for ( int variant = 0; variant < nbVariants; ++variant )
|
for ( int variant = 0; variant < nbVariants; ++variant )
|
||||||
{
|
{
|
||||||
// check method compliancy with adjacent prisms,
|
// check method compliance with adjacent prisms,
|
||||||
// the found prism facets must be among facets of prisms described by current method
|
// the found prism facets must be among facets of prisms described by current method
|
||||||
method._nbSplits = nbSplits;
|
method._nbSplits = nbSplits;
|
||||||
method._nbCorners = 6;
|
method._nbCorners = 6;
|
||||||
|
@ -2972,7 +2972,7 @@ bool SMESH_MesherHelper::IsReversedSubMesh (const TopoDS_Face& theFace)
|
|||||||
if ( !aSubMeshDSFace )
|
if ( !aSubMeshDSFace )
|
||||||
return isReversed;
|
return isReversed;
|
||||||
|
|
||||||
// find an element on a bounday of theFace
|
// find an element on a boundary of theFace
|
||||||
SMDS_ElemIteratorPtr iteratorElem = aSubMeshDSFace->GetElements();
|
SMDS_ElemIteratorPtr iteratorElem = aSubMeshDSFace->GetElements();
|
||||||
const SMDS_MeshNode* nn[2];
|
const SMDS_MeshNode* nn[2];
|
||||||
while ( iteratorElem->more() ) // loop on elements on theFace
|
while ( iteratorElem->more() ) // loop on elements on theFace
|
||||||
|
@ -2864,7 +2864,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
case SMESHOp::OpMeshOrder:
|
case SMESHOp::OpMeshOrder:
|
||||||
case SMESHOp::OpCreateSubMesh:
|
case SMESHOp::OpCreateSubMesh:
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
// fall through
|
// fall through
|
||||||
case SMESHOp::OpCreateMesh:
|
case SMESHOp::OpCreateMesh:
|
||||||
case SMESHOp::OpCompute:
|
case SMESHOp::OpCompute:
|
||||||
@ -2916,7 +2916,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if ( isStudyLocked() )
|
if ( isStudyLocked() )
|
||||||
break;
|
break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
/*Standard_Boolean aRes;
|
/*Standard_Boolean aRes;
|
||||||
SMESH::SMESH_Mesh_var aMesh = SMESH::IObjectToInterface<SMESH::SMESH_Mesh>(IObject);
|
SMESH::SMESH_Mesh_var aMesh = SMESH::IObjectToInterface<SMESH::SMESH_Mesh>(IObject);
|
||||||
@ -2948,7 +2948,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if ( isStudyLocked() )
|
if ( isStudyLocked() )
|
||||||
break;
|
break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
SMESHGUI_MultiEditDlg* aDlg = NULL;
|
SMESHGUI_MultiEditDlg* aDlg = NULL;
|
||||||
@ -2968,7 +2968,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if( vtkwnd ) {
|
if( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_SmoothingDlg( this ) )->show();
|
( new SMESHGUI_SmoothingDlg( this ) )->show();
|
||||||
@ -2982,7 +2982,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if (isStudyLocked()) break;
|
if (isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if (vtkwnd) {
|
if (vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_ExtrusionDlg ( this ) )->show();
|
( new SMESHGUI_ExtrusionDlg ( this ) )->show();
|
||||||
@ -2995,7 +2995,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if (isStudyLocked()) break;
|
if (isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if (vtkwnd) {
|
if (vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_ExtrusionAlongPathDlg( this ) )->show();
|
( new SMESHGUI_ExtrusionAlongPathDlg( this ) )->show();
|
||||||
@ -3008,7 +3008,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if( vtkwnd ) {
|
if( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_RevolutionDlg( this ) )->show();
|
( new SMESHGUI_RevolutionDlg( this ) )->show();
|
||||||
@ -3023,7 +3023,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if ( isStudyLocked() )
|
if ( isStudyLocked() )
|
||||||
break;
|
break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd )
|
if ( vtkwnd )
|
||||||
{
|
{
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
@ -3041,7 +3041,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
case SMESHOp::OpCreateGeometryGroup:
|
case SMESHOp::OpCreateGeometryGroup:
|
||||||
{
|
{
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
startOperation( theCommandID );
|
startOperation( theCommandID );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -3055,7 +3055,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_nil();
|
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_nil();
|
||||||
|
|
||||||
@ -3084,7 +3084,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
|
|
||||||
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
||||||
@ -3163,7 +3163,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
|
|
||||||
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
||||||
@ -3262,7 +3262,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if ( isStudyLocked() )
|
if ( isStudyLocked() )
|
||||||
break;
|
break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
|
|
||||||
@ -3284,7 +3284,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if ( isStudyLocked() )
|
if ( isStudyLocked() )
|
||||||
break;
|
break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
SMESHGUI_GroupOpDlg* aDlg = new SMESHGUI_DimGroupDlg( this );
|
SMESHGUI_GroupOpDlg* aDlg = new SMESHGUI_DimGroupDlg( this );
|
||||||
@ -3298,7 +3298,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if ( isStudyLocked() )
|
if ( isStudyLocked() )
|
||||||
break;
|
break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
SMESHGUI_FaceGroupsSeparatedByEdgesDlg* aDlg = new SMESHGUI_FaceGroupsSeparatedByEdgesDlg( this );
|
SMESHGUI_FaceGroupsSeparatedByEdgesDlg* aDlg = new SMESHGUI_FaceGroupsSeparatedByEdgesDlg( this );
|
||||||
@ -3359,7 +3359,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
||||||
SALOME_ListIO selected;
|
SALOME_ListIO selected;
|
||||||
@ -3406,7 +3406,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
SUIT_OverrideCursor wc;
|
SUIT_OverrideCursor wc;
|
||||||
|
|
||||||
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr();
|
||||||
@ -3439,7 +3439,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
SMDSAbs_EntityType type = SMDSEntity_Edge;
|
SMDSAbs_EntityType type = SMDSEntity_Edge;
|
||||||
@ -3467,7 +3467,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_CreatePolyhedralVolumeDlg( this ) )->show();
|
( new SMESHGUI_CreatePolyhedralVolumeDlg( this ) )->show();
|
||||||
@ -3492,7 +3492,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
SMDSAbs_EntityType type = SMDSEntity_Last;
|
SMDSAbs_EntityType type = SMDSEntity_Last;
|
||||||
@ -3525,7 +3525,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_RemoveNodesDlg( this ) )->show();
|
( new SMESHGUI_RemoveNodesDlg( this ) )->show();
|
||||||
@ -3540,7 +3540,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if( vtkwnd ) {
|
if( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_RemoveElementsDlg( this ) )->show();
|
( new SMESHGUI_RemoveElementsDlg( this ) )->show();
|
||||||
@ -3556,7 +3556,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
|
|
||||||
SALOME_ListIO selected;
|
SALOME_ListIO selected;
|
||||||
if( LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr() )
|
if( LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr() )
|
||||||
@ -3597,7 +3597,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
SALOME_ListIO selected;
|
SALOME_ListIO selected;
|
||||||
if( LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr() )
|
if( LightApp_SelectionMgr *aSel = SMESHGUI::selectionMgr() )
|
||||||
aSel->selectedObjects( selected );
|
aSel->selectedObjects( selected );
|
||||||
@ -3638,7 +3638,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if( vtkwnd ) {
|
if( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_RenumberingDlg( this, 0 ) )->show();
|
( new SMESHGUI_RenumberingDlg( this, 0 ) )->show();
|
||||||
@ -3654,7 +3654,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_RenumberingDlg( this, 1 ) )->show();
|
( new SMESHGUI_RenumberingDlg( this, 1 ) )->show();
|
||||||
@ -3670,7 +3670,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_TranslationDlg( this ) )->show();
|
( new SMESHGUI_TranslationDlg( this ) )->show();
|
||||||
@ -3685,7 +3685,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if( vtkwnd ) {
|
if( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_RotationDlg( this ) )->show();
|
( new SMESHGUI_RotationDlg( this ) )->show();
|
||||||
@ -3700,7 +3700,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if(vtkwnd) {
|
if(vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_SymmetryDlg( this ) )->show();
|
( new SMESHGUI_SymmetryDlg( this ) )->show();
|
||||||
@ -3715,7 +3715,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_ScaleDlg( this ) )->show();
|
( new SMESHGUI_ScaleDlg( this ) )->show();
|
||||||
@ -3731,7 +3731,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_OffsetDlg( this ) )->show();
|
( new SMESHGUI_OffsetDlg( this ) )->show();
|
||||||
@ -3747,7 +3747,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if(vtkwnd) {
|
if(vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_SewingDlg( this ) )->show();
|
( new SMESHGUI_SewingDlg( this ) )->show();
|
||||||
@ -3762,7 +3762,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if(vtkwnd) {
|
if(vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_MergeDlg( this, 0 ) )->show();
|
( new SMESHGUI_MergeDlg( this, 0 ) )->show();
|
||||||
@ -3777,7 +3777,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if (isStudyLocked()) break;
|
if (isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if (vtkwnd) {
|
if (vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_MergeDlg( this, 1 ) )->show();
|
( new SMESHGUI_MergeDlg( this, 1 ) )->show();
|
||||||
@ -3790,7 +3790,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
case SMESHOp::OpMoveNode: // MAKE MESH PASS THROUGH POINT
|
case SMESHOp::OpMoveNode: // MAKE MESH PASS THROUGH POINT
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
startOperation( SMESHOp::OpMoveNode );
|
startOperation( SMESHOp::OpMoveNode );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -3798,7 +3798,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
{
|
{
|
||||||
if(isStudyLocked()) break;
|
if(isStudyLocked()) break;
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
if ( vtkwnd ) {
|
if ( vtkwnd ) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
( new SMESHGUI_DuplicateNodesDlg( this ) )->show();
|
( new SMESHGUI_DuplicateNodesDlg( this ) )->show();
|
||||||
@ -3812,7 +3812,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
case SMESHOp::OpElem0DOnElemNodes: // 0D_ON_ALL_NODES
|
case SMESHOp::OpElem0DOnElemNodes: // 0D_ON_ALL_NODES
|
||||||
if ( warnOnGeomModif() )
|
if ( warnOnGeomModif() )
|
||||||
break; // action forbiden as geometry modified
|
break; // action forbidden as geometry modified
|
||||||
startOperation( SMESHOp::OpElem0DOnElemNodes );
|
startOperation( SMESHOp::OpElem0DOnElemNodes );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -422,7 +422,7 @@ protected:
|
|||||||
std::list<Handle(_pyCommand)> myUnusedCommands;
|
std::list<Handle(_pyCommand)> myUnusedCommands;
|
||||||
std::list<Handle(_pyObject) > myReferredObjs;
|
std::list<Handle(_pyObject) > myReferredObjs;
|
||||||
// maps used to clear commands setting parameters if result of setting is
|
// maps used to clear commands setting parameters if result of setting is
|
||||||
// discared (e.g. by mesh.Clear())
|
// discarded (e.g. by mesh.Clear())
|
||||||
std::map<_AString, std::list<Handle(_pyCommand)> > myMeth2Commands;
|
std::map<_AString, std::list<Handle(_pyCommand)> > myMeth2Commands;
|
||||||
std::map< _pyCommand::TAddr, std::list<Handle(_pyCommand) > > myComputeAddr2Cmds;
|
std::map< _pyCommand::TAddr, std::list<Handle(_pyCommand) > > myComputeAddr2Cmds;
|
||||||
std::list<Handle(_pyCommand) > myComputeCmds;
|
std::list<Handle(_pyCommand) > myComputeCmds;
|
||||||
|
@ -114,7 +114,7 @@ SMESH_Pattern_i::SMESH_Pattern_i( SMESH_Gen_i* theGen_i ):
|
|||||||
|
|
||||||
CORBA::Boolean SMESH_Pattern_i::LoadFromFile(const char* theFileContents)
|
CORBA::Boolean SMESH_Pattern_i::LoadFromFile(const char* theFileContents)
|
||||||
{
|
{
|
||||||
// remove some gabage from the end
|
// remove some garbage from the end
|
||||||
TCollection_AsciiString patternDescription = (char*) theFileContents;
|
TCollection_AsciiString patternDescription = (char*) theFileContents;
|
||||||
int pos = patternDescription.Length();
|
int pos = patternDescription.Length();
|
||||||
while (! isdigit( patternDescription.Value( pos )))
|
while (! isdigit( patternDescription.Value( pos )))
|
||||||
|
@ -693,14 +693,14 @@ namespace // INTERNAL STUFF
|
|||||||
|
|
||||||
if ( removeImport )
|
if ( removeImport )
|
||||||
{
|
{
|
||||||
// treate removal of Import algo from subMesh
|
// treat removal of Import algo from subMesh
|
||||||
removeSubmesh( subMesh, (_ListenerData*) data );
|
removeSubmesh( subMesh, (_ListenerData*) data );
|
||||||
}
|
}
|
||||||
else if ( modifHyp ||
|
else if ( modifHyp ||
|
||||||
( SMESH_subMesh::CLEAN == event &&
|
( SMESH_subMesh::CLEAN == event &&
|
||||||
SMESH_subMesh::COMPUTE_EVENT == eventType))
|
SMESH_subMesh::COMPUTE_EVENT == eventType))
|
||||||
{
|
{
|
||||||
// treate modification of ImportSource hypothesis
|
// treat modification of ImportSource hypothesis
|
||||||
clearSubmesh( subMesh, (_ListenerData*) data, /*all=*/false );
|
clearSubmesh( subMesh, (_ListenerData*) data, /*all=*/false );
|
||||||
}
|
}
|
||||||
else if ( SMESH_subMesh::CHECK_COMPUTE_STATE == event &&
|
else if ( SMESH_subMesh::CHECK_COMPUTE_STATE == event &&
|
||||||
@ -720,7 +720,7 @@ namespace // INTERNAL STUFF
|
|||||||
d->_computedSubM.insert( *smIt);
|
d->_computedSubM.insert( *smIt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Clear _ImportData::_n2n if it's no more useful, i.e. when
|
// Clear _ImportData::_n2n if it isn't useful anymore, i.e. when
|
||||||
// the event is not within mesh.Compute()
|
// the event is not within mesh.Compute()
|
||||||
if ( SMESH_subMesh::ALGO_EVENT == eventType )
|
if ( SMESH_subMesh::ALGO_EVENT == eventType )
|
||||||
clearN2N( subMesh->GetFather() );
|
clearN2N( subMesh->GetFather() );
|
||||||
|
@ -368,7 +368,7 @@ class MGCleanerMonPlugDialog(Ui_MGCleanerPlugDialog,QWidget):
|
|||||||
for slig in reversed(text.split(separator)):
|
for slig in reversed(text.split(separator)):
|
||||||
lig=slig.strip()
|
lig=slig.strip()
|
||||||
#print "load ResumeData",lig
|
#print "load ResumeData",lig
|
||||||
if lig=="": continue #skip blanck lines
|
if lig=="": continue #skip blank lines
|
||||||
if lig[0]=="#": break
|
if lig[0]=="#": break
|
||||||
try:
|
try:
|
||||||
tit,value=lig.split("=")
|
tit,value=lig.split("=")
|
||||||
|
@ -9,7 +9,7 @@ These options are not meshing options but allow the user to configure control pa
|
|||||||
|
|
||||||
- **File**
|
- **File**
|
||||||
|
|
||||||
You can change the file used to store your favorite remeshing hypothesis. see paragraph :ref:`hypothesis-label` for further informations.
|
You can change the file used to store your favorite remeshing hypothesis. see paragraph :ref:`hypothesis-label` for further information.
|
||||||
|
|
||||||
.. image:: images/Generic.png
|
.. image:: images/Generic.png
|
||||||
:align: center
|
:align: center
|
||||||
|
@ -336,7 +336,7 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget):
|
|||||||
for slig in reversed(text.split(separator)):
|
for slig in reversed(text.split(separator)):
|
||||||
lig=slig.strip()
|
lig=slig.strip()
|
||||||
#print "load ResumeData",lig
|
#print "load ResumeData",lig
|
||||||
if lig=="": continue #skip blanck lines
|
if lig=="": continue #skip blank lines
|
||||||
if lig[0]=="#": break
|
if lig[0]=="#": break
|
||||||
try:
|
try:
|
||||||
tit,value=lig.split("=")
|
tit,value=lig.split("=")
|
||||||
|
Loading…
Reference in New Issue
Block a user