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();
}
- 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();
aMeshEditor->ExtrusionSweep(myElementsId.inout(), aVector, aNbSteps);
}
- myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+ //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
} catch (...) {
}
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("");
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)
aParameters << myX->text();
aParameters << myY->text();
aParameters << myZ->text();
- aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+ //asl: aMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
} catch (...) {
}
if( ok ) {
QStringList aParameters;
aParameters << myMaxAngleSpin->text();
- myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+ //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
}
return ok;
}
_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() ) ) {
aMeshEditor->RotationSweep(anElementsId.inout(), anAxis, anAngle, aNbSteps, aTolerance);
}
- myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+ //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
} catch (...) {
}
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 ) {
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;
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 (...) {
}
anIterationLimit, aMaxAspectRatio, aMethod);
}
- myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+ //asl: myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
} catch (...) {
}
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: {
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: {
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;
}
}
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 ) {
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;
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 (...) {
}