yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #22849
Re: [Question #690111]: Is there a way to generate joints in irregular polyhedra?
Question #690111 on Yade changed:
https://answers.launchpad.net/yade/+question/690111
Status: Open => Answered
Vasileios Angelidakis proposed the following answer:
Hi Jie,
Currently, the code only supports a hexahedron as an initial geometry
but it shouldn't be too difficult to modify the source code to start
from an irregular polyhedron.
Alternatively, if you don't want to modify the source code, there is a
workaround: you can "sculpt" an irregular polyhedron out of a
hexahedron. BlockGen performs sequential subdivision, and so you can
firstly create joints that enclose the irregular polyhedron you have in
mind and then create the inner joints of the polyhedron. Then, you can
delete in Python the bodies that are created outside the boundaries of
the irregular polyhedron.
Hope this helps,
Vasileios
--
You received this question notification because your team yade-users is
an answer contact for Yade.