mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-23 00:25:37 +05:00
old notebook functionality is temporary commented
This commit is contained in:
parent
32e88840df
commit
ab2b169f82
@ -311,7 +311,7 @@ bool SMESHGUI_BuildCompoundDlg::ClickOnApply()
|
||||
CheckBoxMerge->isChecked(),
|
||||
SpinBoxTol->GetValue());
|
||||
|
||||
aCompoundMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: aCompoundMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
|
||||
SMESH::SetName( SMESH::FindSObject( aCompoundMesh ), LineEditName->text() );
|
||||
mySMESHGUI->updateObjBrowser();
|
||||
|
@ -621,8 +621,8 @@ bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply()
|
||||
}
|
||||
|
||||
|
||||
if( retVal == SMESH::SMESH_MeshEditor::EXTR_OK )
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( retVal == SMESH::SMESH_MeshEditor::EXTR_OK )
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
|
||||
//wc.stop();
|
||||
wc.suspend();
|
||||
|
@ -559,7 +559,7 @@ bool SMESHGUI_ExtrusionDlg::ClickOnApply()
|
||||
aMeshEditor->ExtrusionSweep(myElementsId.inout(), aVector, aNbSteps);
|
||||
}
|
||||
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
|
||||
} catch (...) {
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ bool SMESHGUI_MakeNodeAtPointOp::onApply()
|
||||
aParameters << myDlg->myX->text();
|
||||
aParameters << myDlg->myY->text();
|
||||
aParameters << myDlg->myZ->text();
|
||||
aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
|
||||
myDlg->myId->setText("");
|
||||
|
||||
|
@ -475,7 +475,7 @@ bool SMESHGUI_MeshPatternDlg::onApply()
|
||||
aParameters << myNode1->text();
|
||||
if(myType == Type_3d )
|
||||
aParameters << myNode2->text();
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
|
||||
} else { // Applying a pattern to geometrical object
|
||||
if (myType == Type_2d)
|
||||
|
@ -331,7 +331,7 @@ bool SMESHGUI_MoveNodesDlg::onApply()
|
||||
aParameters << myX->text();
|
||||
aParameters << myY->text();
|
||||
aParameters << myZ->text();
|
||||
aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
|
@ -1186,7 +1186,7 @@ bool SMESHGUI_UnionOfTrianglesDlg::process (SMESH::SMESH_MeshEditor_ptr theEdito
|
||||
if( ok ) {
|
||||
QStringList aParameters;
|
||||
aParameters << myMaxAngleSpin->text();
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ namespace SMESH
|
||||
_PTR(SObject) aSobj = SMESH::FindSObject( theMesh );
|
||||
SMESH::SMESH_MeshEditor_var aMeshEditor = theMesh->GetMeshEditor();
|
||||
aMeshEditor->AddNode( x, y, z );
|
||||
theMesh->SetParameters( theParameters.join(":").toLatin1().constData() );
|
||||
//asl: theMesh->SetParameters( theParameters.join(":").toLatin1().constData() );
|
||||
_PTR(Study) aStudy = GetActiveStudyDocument();
|
||||
CORBA::Long anId = aStudy->StudyId();
|
||||
if (TVisualObjPtr aVisualObj = SMESH::GetVisualObj( anId, aSobj->GetID().c_str() ) ) {
|
||||
|
@ -545,7 +545,7 @@ bool SMESHGUI_RevolutionDlg::ClickOnApply()
|
||||
aMeshEditor->RotationSweep(anElementsId.inout(), anAxis, anAngle, aNbSteps, aTolerance);
|
||||
}
|
||||
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
|
@ -415,8 +415,8 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
|
||||
aMeshEditor->RotateObject(mySelectedObject, anAxis, anAngle, false);
|
||||
else
|
||||
aMeshEditor->Rotate(anElementsId, anAxis, anAngle, false);
|
||||
if( !myMesh->_is_nil())
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !myMesh->_is_nil())
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
case COPY_ELEMS_BUTTON:
|
||||
if ( makeGroups ) {
|
||||
@ -432,8 +432,8 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
|
||||
else
|
||||
aMeshEditor->Rotate(anElementsId, anAxis, anAngle, true);
|
||||
}
|
||||
if( !myMesh->_is_nil())
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !myMesh->_is_nil())
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
case MAKE_MESH_BUTTON:
|
||||
SMESH::SMESH_Mesh_var mesh;
|
||||
@ -443,8 +443,8 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
|
||||
else
|
||||
mesh = aMeshEditor->RotateMakeMesh(anElementsId, anAxis, anAngle, makeGroups,
|
||||
LineEditNewMesh->text().toLatin1().data());
|
||||
if( !mesh->_is_nil())
|
||||
mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !mesh->_is_nil())
|
||||
//asl: mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
}
|
||||
} catch (...) {
|
||||
}
|
||||
|
@ -381,7 +381,7 @@ bool SMESHGUI_SmoothingDlg::ClickOnApply()
|
||||
anIterationLimit, aMaxAspectRatio, aMethod);
|
||||
}
|
||||
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
|
||||
} catch (...) {
|
||||
}
|
||||
|
@ -500,8 +500,8 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
|
||||
else
|
||||
aMeshEditor->Mirror(anElementsId, aMirror, aMirrorType, false );
|
||||
|
||||
if( !myMesh->_is_nil())
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !myMesh->_is_nil())
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
}
|
||||
case COPY_ELEMS_BUTTON: {
|
||||
@ -518,8 +518,8 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
|
||||
else
|
||||
aMeshEditor->Mirror(anElementsId, aMirror, aMirrorType, true);
|
||||
}
|
||||
if( !myMesh->_is_nil())
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !myMesh->_is_nil())
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
}
|
||||
case MAKE_MESH_BUTTON: {
|
||||
@ -530,8 +530,8 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
|
||||
else
|
||||
mesh = aMeshEditor->MirrorMakeMesh(anElementsId, aMirror, aMirrorType, makeGroups,
|
||||
LineEditNewMesh->text().toLatin1().data());
|
||||
if( !mesh->_is_nil())
|
||||
mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !mesh->_is_nil())
|
||||
//asl: mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -488,8 +488,8 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
|
||||
aMeshEditor->TranslateObject(mySelectedObject, aVector, false);
|
||||
else
|
||||
aMeshEditor->Translate(anElementsId, aVector, false);
|
||||
if( !myMesh->_is_nil())
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !myMesh->_is_nil())
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
case COPY_ELEMS_BUTTON:
|
||||
if ( makeGroups ) {
|
||||
@ -505,8 +505,8 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
|
||||
else
|
||||
aMeshEditor->Translate(anElementsId, aVector, true);
|
||||
}
|
||||
if( !myMesh->_is_nil())
|
||||
myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !myMesh->_is_nil())
|
||||
//asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
break;
|
||||
case MAKE_MESH_BUTTON:
|
||||
SMESH::SMESH_Mesh_var mesh;
|
||||
@ -516,8 +516,8 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
|
||||
else
|
||||
mesh = aMeshEditor->TranslateMakeMesh(anElementsId, aVector, makeGroups,
|
||||
LineEditNewMesh->text().toLatin1().data());
|
||||
if( !mesh->_is_nil())
|
||||
mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
//asl: if( !mesh->_is_nil())
|
||||
//asl: mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
|
||||
}
|
||||
} catch (...) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user