yade-users team mailing list archive
Mailing list archive
Re: How do I create a tunnel/slope?
> Hi, I am a new user. I have sufficiently understood the
> general purpose of Engines/Preprocessors and where to find the Contact
> Laws. My intention is to explore the possibility of using YADE to
> create a slope or a tunnel (separate problems). I understand that
> 'boxes' are used to surround the particles to contain them in a 3D
> space, when isDynamic != 0. However, I would like the face of the
> slope to be 'free', and would also want the tunnel perimeter/arc to be
> 'free'. How do I arrange the particles to make a slope? How do I
> remove particles to make a tunnel? Of course, there could be other
> techniques. Please help.
Don't use boxes, use facets instead, they let you create arbitrary
triangular mesh (and are better supported anyway). See
scripts/test/gts-horse.py (for import from gts), examples/mill.py (for
explicit construction of the surface from individual triangles),
examples/STLImportTest.py (import of the mesh from STL file),
examples/cyl.py (triangulating polylines in space).
Also see documentation at http://beta.arcig.cz/~eudoxos/yade/epydoc/,
notably the module yade.pack and functions gtsSurface2Facets
(which you might use for complex tunnel shape).
> New Windows 7: Find the right PC for you. Learn more.