Implement Isostatic Gui
This commit is contained in:
@@ -442,7 +442,8 @@ static PyObject * getBoundary_Conditions(PyObject *self, PyObject *args)
|
||||
PyObject *input;
|
||||
Py::List boundary_nodes;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O",&input))
|
||||
if (!PyArg_ParseTuple(args, "O!", &(FemMeshPy::Type), &input))
|
||||
//if (!PyArg_ParseTuple(args, "O",&input))
|
||||
return NULL;
|
||||
|
||||
PY_TRY {
|
||||
|
||||
@@ -77,6 +77,8 @@ TaskCreateNodeSet::TaskCreateNodeSet(Fem::FemSetNodesObject *pcObject,QWidget *p
|
||||
QObject::connect(ui->toolButton_Pick,SIGNAL(clicked()),this,SLOT(Pick()));
|
||||
QObject::connect(ui->comboBox,SIGNAL(activated (int)),this,SLOT(SwitchMethod(int)));
|
||||
|
||||
// check if the Link to the FemMesh is defined
|
||||
assert(pcObject->FemMesh.getValue<Fem::FemMeshObject*>());
|
||||
MeshViewProvider = dynamic_cast<ViewProviderFemMesh*>(Gui::Application::Instance->getViewProvider( pcObject->FemMesh.getValue<Fem::FemMeshObject*>()));
|
||||
assert(MeshViewProvider);
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace FemGui
|
||||
|
||||
class ViewProviderSetNodes : public Gui::ViewProviderGeometryObject
|
||||
{
|
||||
PROPERTY_HEADER(RobotGui::ViewProviderSetNodes);
|
||||
PROPERTY_HEADER(FemGui::ViewProviderSetNodes);
|
||||
|
||||
public:
|
||||
virtual bool doubleClicked(void);
|
||||
|
||||
Reference in New Issue
Block a user