← Back to team overview

yade-users team mailing list archive

Re: [Question #675691]: problem with shape of polyhedra

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

To create arbitrarily shaped polyhedra, you simply provide your desired
vertices to polyhedra_utils.polyhedra [1]. Here is an abritrary
tetrahedral as an example:

t=polyhedra_utils.polyhedra(polyMat,(.6,.6,.6),v=[(0,0,0),(0,0,1),(0,1,0),(1,0,0)])

[1]https://yade-
dem.org/doc/yade.polyhedra_utils.html#yade.polyhedra_utils.polyhedra

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