yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01263
Exposing SpherePadder to python
Hi,
Thank you Vaclav for your previous answer.
I've got an other question about boost::python and dynamic libraries
widely used in yade.
I would like to expose the class SpherePadder (and maybe TetraMesh)
to python.
I think that it could be possible (?) to add something like:
class_<SpherePadder>()
.def("pad5",&SpherePadder::pad5)
...
;
in the BOOST_PYTHON_MODULE(_utils). But, what about the compilation
of SpherePadder in this case?
Must I create a libSpherePadder.so with REGISTER_CLASS_AND_BASE?
Please, tell me your recommendations and opinions about that.
VR
Follow ups