Add Assembly App objects and some python bindings

Make Part working
This commit is contained in:
jriegel
2012-01-03 01:21:45 +01:00
committed by Stefan Tröger
parent 949a50a0cd
commit 0a4336b5c4
32 changed files with 1437 additions and 9 deletions

View File

@@ -0,0 +1,34 @@
#include "PreCompiled.h"
#include "Mod/Assembly/App/Item.h"
// inclusion of the generated files (generated out of ItemPy.xml)
#include "ItemPy.h"
#include "ItemPy.cpp"
using namespace Assembly;
// returns a string which represents the object e.g. when printed in python
std::string ItemPy::representation(void) const
{
return std::string("<Item object>");
}
PyObject *ItemPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;
}
int ItemPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
{
return 0;
}