IPAL52915: TC7.7.0:Preview is disappears in OB

This commit is contained in:
eap 2015-10-08 17:23:39 +03:00
parent 147e78d299
commit 8b8b2deedb
3 changed files with 18 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -38,8 +38,9 @@ creation and specify the meshing parameters on sub-meshes only; then
only the sub-shapes, for which an algorithm and a hypothesis (if any) only the sub-shapes, for which an algorithm and a hypothesis (if any)
have been defined will be discretized. have been defined will be discretized.
\n Construction of a mesh on a geometry includes at least two (mesh \n Construction of a mesh on a geometry includes at least two
creation and computing) of the following steps: (\ref create_mesh_anchor "mesh creation" and
\ref compute_anchor "computing") of the following steps:
<ul> <ul>
<li> \ref create_mesh_anchor "Creation of a mesh object", where you <li> \ref create_mesh_anchor "Creation of a mesh object", where you
can specify meshing parameters to apply to all sub-shapes of the can specify meshing parameters to apply to all sub-shapes of the
@ -262,7 +263,9 @@ information box:
<h2>Previewing the mesh</h2> <h2>Previewing the mesh</h2>
Before \ref compute_anchor "the mesh computation", it is also possible Before \ref compute_anchor "the mesh computation", it is also possible
to see the mesh preview. to see the mesh preview. This operation allows to incrementally
compute the mesh, dimension by dimension, and to discard an
unsatisfactory mesh.
For this, select the mesh in the Object Browser. From the \b Mesh menu For this, select the mesh in the Object Browser. From the \b Mesh menu
select \b Preview or click "Preview" button in the toolbar or activate select \b Preview or click "Preview" button in the toolbar or activate
@ -380,8 +383,8 @@ will see the following information.
It is equally possible to skip \ref evaluate_anchor "the Evaluation" It is equally possible to skip \ref evaluate_anchor "the Evaluation"
and \ref preview_anchor "the Preview" and to \b Compute the mesh after and \ref preview_anchor "the Preview" and to \b Compute the mesh after
the hypotheses are assigned. For this, select your mesh in the hypotheses are assigned. For this, select your mesh in
the <b>Object Browser</b>. From the \b Mesh menu select \b Compute or the <b>Object Browser</b>. From the \b Mesh menu or the context menu
click "Compute" button of the toolbar. select \b Compute or click \a "Compute" button of the toolbar.
<center> <center>
\image html image28.png \image html image28.png
@ -406,8 +409,9 @@ failure is provided in \b Errors table.
\image html meshcomputationfail.png \image html meshcomputationfail.png
After you select an error, <b>Show Sub-shape</b> button allows After you select an error in \b Errors table, <b>Show Sub-shape</b> button allows
visualizing in magenta the geometrical entity that causes the error. visualizing in magenta the geometrical entity meshing of which failed
(Name of this entity or its ID and type is shown in \a Sub-shape column).
<center> <center>
\image html failed_computation.png \image html failed_computation.png

View File

@ -1861,7 +1861,7 @@ void SMESHGUI_PrecomputeOp::onCancel()
// remove all submeshes for collected shapes // remove all submeshes for collected shapes
QMap<int,int>::const_iterator it = myMapShapeId.constBegin(); QMap<int,int>::const_iterator it = myMapShapeId.constBegin();
for ( ; it != myMapShapeId.constEnd(); ++it ) for ( ; it != myMapShapeId.constEnd(); ++it )
myMesh->ClearSubMesh( *it ); myMesh->ClearSubMesh( it.key() );
isRestoreOrder = true; isRestoreOrder = true;
} }
} }
@ -2015,6 +2015,7 @@ SMESHGUI_PrecomputeDlg::SMESHGUI_PrecomputeDlg( QWidget* parent )
setButtonText( OK, tr( "COMPUTE" ) ); setButtonText( OK, tr( "COMPUTE" ) );
QFrame* main = mainFrame(); QFrame* main = mainFrame();
main->setMinimumWidth( 300 );
QVBoxLayout* layout = new QVBoxLayout( main ); QVBoxLayout* layout = new QVBoxLayout( main );