← Back to team overview

yade-users team mailing list archive

Re: [Question #689434]: How to generate many polyhedra randomly without specific data in Potential Blocks code?

 

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

Vasileios Angelidakis posted a new comment:
Hi again,

> I found that the direction of the transformed polyhedron is different
from the original polyhedron.

This is now fixed in the latest trunk, where you can achieve the same
orientation between PBs and polyhedra.

In your script above, comment these lines:

# if dv<0:
#   vects=[-1*vects[0],-1*vects[1],-1*vects[2]]
#   dv=-1*dv

Best regards,
Vasileios

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.