mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-15 21:21:21 +05:00
0021374]: EDF 1898 SMESH: Extrusion of a node to have an edge
Don't ExtrusionFlags
This commit is contained in:
parent
a0e4f31fde
commit
64dc48191e
@ -1893,11 +1893,11 @@ SMESH_MeshEditor_i::extrusionSweep(const SMESH::long_array & theIDsOfElements,
|
|||||||
TIDSortedElemSet* workElements = & elements;
|
TIDSortedElemSet* workElements = & elements;
|
||||||
|
|
||||||
SMDSAbs_ElementType aType = SMDSAbs_Face;
|
SMDSAbs_ElementType aType = SMDSAbs_Face;
|
||||||
::SMESH_MeshEditor::ExtrusionFlags aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_BOUNDARY;
|
//::SMESH_MeshEditor::ExtrusionFlags aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_BOUNDARY;
|
||||||
if (theElementType == SMDSAbs_Node)
|
if (theElementType == SMDSAbs_Node)
|
||||||
{
|
{
|
||||||
aType = SMDSAbs_Edge;
|
aType = SMDSAbs_Edge;
|
||||||
aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_SEW;
|
//aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_SEW;
|
||||||
}
|
}
|
||||||
TPreviewMesh tmpMesh( aType );
|
TPreviewMesh tmpMesh( aType );
|
||||||
SMESH_Mesh* mesh = myMesh;
|
SMESH_Mesh* mesh = myMesh;
|
||||||
@ -1913,7 +1913,7 @@ SMESH_MeshEditor_i::extrusionSweep(const SMESH::long_array & theIDsOfElements,
|
|||||||
TElemOfElemListMap aHystory;
|
TElemOfElemListMap aHystory;
|
||||||
::SMESH_MeshEditor anEditor( mesh );
|
::SMESH_MeshEditor anEditor( mesh );
|
||||||
::SMESH_MeshEditor::PGroupIDs groupIds =
|
::SMESH_MeshEditor::PGroupIDs groupIds =
|
||||||
anEditor.ExtrusionSweep (*workElements, stepVec, theNbOfSteps, aHystory, theMakeGroups, aFlag);
|
anEditor.ExtrusionSweep (*workElements, stepVec, theNbOfSteps, aHystory, theMakeGroups);
|
||||||
|
|
||||||
myMesh->GetMeshDS()->Modified();
|
myMesh->GetMeshDS()->Modified();
|
||||||
storeResult(anEditor);
|
storeResult(anEditor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user