mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +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;
|
||||
|
||||
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)
|
||||
{
|
||||
aType = SMDSAbs_Edge;
|
||||
aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_SEW;
|
||||
//aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_SEW;
|
||||
}
|
||||
TPreviewMesh tmpMesh( aType );
|
||||
SMESH_Mesh* mesh = myMesh;
|
||||
@ -1913,7 +1913,7 @@ SMESH_MeshEditor_i::extrusionSweep(const SMESH::long_array & theIDsOfElements,
|
||||
TElemOfElemListMap aHystory;
|
||||
::SMESH_MeshEditor anEditor( mesh );
|
||||
::SMESH_MeshEditor::PGroupIDs groupIds =
|
||||
anEditor.ExtrusionSweep (*workElements, stepVec, theNbOfSteps, aHystory, theMakeGroups, aFlag);
|
||||
anEditor.ExtrusionSweep (*workElements, stepVec, theNbOfSteps, aHystory, theMakeGroups);
|
||||
|
||||
myMesh->GetMeshDS()->Modified();
|
||||
storeResult(anEditor);
|
||||
|
Loading…
Reference in New Issue
Block a user