Question #188032 on Yade changed:
https://answers.launchpad.net/yade/+question/188032

Christian Sommerfeld posted a new comment:
Thank you for your fast answer,

yes i declared a phyton binding like the phyton binding for cylinder:

        py::class_<inCylinder,py::bases<Predicate> >("inCylinder","Cylinder 
predicate",py::init<const Vector3r&,const 
Vector3r&,Real>(py::args("centerBottom","centerTop","radius"),"Ctor taking 
centers of the lateral walls (as 3-tuples) and radius."));
        py::class_<inCone,py::bases<Predicate> >("inCone","Cone 
predicate",py::init<const Vector3r&,const 
Vector3r&,Real>(py::args("centerBottom","centerTop","radius"),"Ctor taking 
centers of the lateral walls (as 3-tuples) and radius."));

and when i type:
pred=pack.inCylinder(...  it is still working. I get this error only when i try 
it with inCone.

Ah ok, when there is not a need to implement it in packPredicate, is
there another  command what i can  use?

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to