mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 05:34:17 +05:00
Merge branch 'V8_3_BR' into ngr/python3_dev
Conflicts: src/Tools/padder/spadderpy/gui/inputdialog.py
This commit is contained in:
commit
442fd64c19
@ -4,7 +4,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
$navpath
|
$navpath
|
||||||
<li class="footer">
|
<li class="footer">
|
||||||
Copyright © 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE<br>
|
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE<br>
|
||||||
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS<br>
|
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS<br>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
$navpath
|
$navpath
|
||||||
<li class="footer">
|
<li class="footer">
|
||||||
Copyright © 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE<br>
|
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE<br>
|
||||||
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS<br>
|
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS<br>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -578,7 +578,10 @@ int SMESH_ScalarBarActor::RenderOpaqueGeometry(vtkViewport *viewport)
|
|||||||
|
|
||||||
// rnv begin
|
// rnv begin
|
||||||
// Customization of the vtkScalarBarActor to show distribution histogram.
|
// Customization of the vtkScalarBarActor to show distribution histogram.
|
||||||
if(myDistributionColoringType == SMESH_MULTICOLOR_TYPE && GetDistributionVisibility() && distrVisibility)
|
if ( myDistributionColoringType == SMESH_MULTICOLOR_TYPE &&
|
||||||
|
GetDistributionVisibility() &&
|
||||||
|
distrVisibility &&
|
||||||
|
myNbValues[i] > 0 )
|
||||||
{
|
{
|
||||||
rgb = distColors->GetPointer(3*dcCount); //write into array directly
|
rgb = distColors->GetPointer(3*dcCount); //write into array directly
|
||||||
rgb[0] = rgba[0];
|
rgb[0] = rgba[0];
|
||||||
|
@ -7458,8 +7458,8 @@ void SMESH_MeshEditor::MergeNodes (TListOfListOfNodes & theGroupsOfNodes,
|
|||||||
|
|
||||||
for ( size_t i = 0; i < newElemDefs.size(); ++i )
|
for ( size_t i = 0; i < newElemDefs.size(); ++i )
|
||||||
{
|
{
|
||||||
if ( i > 0 || !mesh->ChangeElementNodes( elem, &
|
if ( i > 0 || !mesh->ChangeElementNodes( elem,
|
||||||
newElemDefs[i].myNodes[0],
|
& newElemDefs[i].myNodes[0],
|
||||||
newElemDefs[i].myNodes.size() ))
|
newElemDefs[i].myNodes.size() ))
|
||||||
{
|
{
|
||||||
if ( i == 0 )
|
if ( i == 0 )
|
||||||
@ -7553,6 +7553,30 @@ bool SMESH_MeshEditor::applyMerge( const SMDS_MeshElement* elem,
|
|||||||
toRemove = true;
|
toRemove = true;
|
||||||
nbResElems = 0;
|
nbResElems = 0;
|
||||||
|
|
||||||
|
if ( elem->IsQuadratic() && newElemDefs[0].myType == SMDSAbs_Face && nbNodes > 6 )
|
||||||
|
{
|
||||||
|
// if corner nodes stick, remove medium nodes between them from uniqueNodes
|
||||||
|
int nbCorners = nbNodes / 2;
|
||||||
|
for ( int iCur = 0; iCur < nbCorners; ++iCur )
|
||||||
|
{
|
||||||
|
int iPrev = ( iCur + 1 ) % nbCorners;
|
||||||
|
if ( curNodes[ iCur ] == curNodes[ iPrev ] ) // corners stick
|
||||||
|
{
|
||||||
|
int iMedium = iCur + nbCorners;
|
||||||
|
vector< const SMDS_MeshNode* >::iterator i =
|
||||||
|
std::find( uniqueNodes.begin() + nbCorners - nbRepl,
|
||||||
|
uniqueNodes.end(),
|
||||||
|
curNodes[ iMedium ]);
|
||||||
|
if ( i != uniqueNodes.end() )
|
||||||
|
{
|
||||||
|
--nbUniqueNodes;
|
||||||
|
for ( ; i+1 != uniqueNodes.end(); ++i )
|
||||||
|
*i = *(i+1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch ( entity )
|
switch ( entity )
|
||||||
{
|
{
|
||||||
case SMDSEntity_Polygon:
|
case SMDSEntity_Polygon:
|
||||||
@ -7670,11 +7694,9 @@ bool SMESH_MeshEditor::applyMerge( const SMDS_MeshElement* elem,
|
|||||||
// | |
|
// | |
|
||||||
// +---+---+
|
// +---+---+
|
||||||
// 0 7 3
|
// 0 7 3
|
||||||
if (( nbUniqueNodes == 6 && nbRepl == 2 ) &&
|
if ( nbUniqueNodes == 6 &&
|
||||||
(( iRepl[0] == 1 && iRepl[1] == 4 && curNodes[1] == curNodes[0] ) ||
|
iRepl[0] < 4 &&
|
||||||
( iRepl[0] == 2 && iRepl[1] == 5 && curNodes[2] == curNodes[1] ) ||
|
( nbRepl == 1 || iRepl[1] >= 4 ))
|
||||||
( iRepl[0] == 3 && iRepl[1] == 6 && curNodes[3] == curNodes[2] ) ||
|
|
||||||
( iRepl[0] == 3 && iRepl[1] == 7 && curNodes[3] == curNodes[0] )))
|
|
||||||
{
|
{
|
||||||
toRemove = false;
|
toRemove = false;
|
||||||
}
|
}
|
||||||
|
@ -277,6 +277,10 @@ static SALOMEDS::SObject_ptr publish(SALOMEDS::Study_ptr theStudy,
|
|||||||
SO = aStudyBuilder->NewObjectToTag( theFatherObject, theTag );
|
SO = aStudyBuilder->NewObjectToTag( theFatherObject, theTag );
|
||||||
isNewSO = true;
|
isNewSO = true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
isInUseCaseTree = useCaseBuilder->IsUseCaseNode( SO );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = 'MGCleaner Plug-in'
|
project = 'MGCleaner Plug-in'
|
||||||
copyright = '2013-2016, EDF R&D'
|
copyright = '2013-2017, EDF R&D'
|
||||||
|
|
||||||
# The default replacements for |version| and |release|, also used in various
|
# The default replacements for |version| and |release|, also used in various
|
||||||
# other places throughout the built documents.
|
# other places throughout the built documents.
|
||||||
|
@ -36,7 +36,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = 'Verima Plug-in'
|
project = 'Verima Plug-in'
|
||||||
copyright = '2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE'
|
copyright = '2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE'
|
||||||
|
|
||||||
# The default replacements for |version| and |release|, also used in various
|
# The default replacements for |version| and |release|, also used in various
|
||||||
# other places throughout the built documents.
|
# other places throughout the built documents.
|
||||||
|
@ -36,7 +36,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = 'MeshGems-SurfOpt Plug-in'
|
project = 'MeshGems-SurfOpt Plug-in'
|
||||||
copyright = '2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE'
|
copyright = '2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE'
|
||||||
|
|
||||||
# The default replacements for |version| and |release|, also used in various
|
# The default replacements for |version| and |release|, also used in various
|
||||||
# other places throughout the built documents.
|
# other places throughout the built documents.
|
||||||
|
@ -36,7 +36,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = 'ZCracks Plug-in'
|
project = 'ZCracks Plug-in'
|
||||||
copyright = '2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE'
|
copyright = '2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE'
|
||||||
|
|
||||||
# The default replacements for |version| and |release|, also used in various
|
# The default replacements for |version| and |release|, also used in various
|
||||||
# other places throughout the built documents.
|
# other places throughout the built documents.
|
||||||
|
@ -36,7 +36,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = 'Plug-in blocFissure'
|
project = 'Plug-in blocFissure'
|
||||||
copyright = '2010-2016 EDF R&D'
|
copyright = '2010-2017 EDF R&D'
|
||||||
|
|
||||||
# The default replacements for |version| and |release|, also used in various
|
# The default replacements for |version| and |release|, also used in various
|
||||||
# other places throughout the built documents.
|
# other places throughout the built documents.
|
||||||
|
Loading…
Reference in New Issue
Block a user