yade-users team mailing list archive
Mailing list archive
Re: Arbitrary aligned box or plane
If you need the sphere packing, you can transform it with
. Let me know if that is not enough for your purposes.
pack.inAlignedBox just works for a box which is aligned to the coordinate
system. Is there a way to get an arbitrary aligned box (e.g. by transforming
the aligned box)?
The reason I did not create general box orientation is that checking
whether particle is inside or outside is more complicated; but now I
have the idea that it could be actually done by keeping corners and box
transformation in the predicate, then transforming points to be checked,
rather than checking points against true (non-aligned) boundaries.
Probably not directly (though you could create a thin volume for
instance). Can you be more specific as to what usage you have in mind?
Is there a way to generate particles on a plane (e.g. gts-surface)?