← Back to team overview

yade-dev team mailing list archive

[Bug 539562] Re: Some coverters from std::vector<type> to python broken

 

Yade [1]: utils.facet([[0,0,0],[1,1,1],[2,2,2]]).shape.vertices
 ->  [1]: [Vector3(-1,-1,-1), Vector3(0,0,0), Vector3(1,1,1)]

-- 
Some coverters from std::vector<type> to python broken
https://bugs.launchpad.net/bugs/539562
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Fix Released

Bug description:
Converters defined in py/yadeWrapper/customConverters.cpp seem not to be picked up by boost::python (although they used to). Simple test:

f=utils.facet([[0,0,0],[1,1,1],[2,2,2]])
f.shape.vertices

TypeError: No Python class registered for C++ class std::vector<Wm3::Vector3<double>, std::allocator<Wm3::Vector3<double> > >





References