how to view the size of randomly generated padticles

Asked by lip

hello
i want to know how to view the size of randomly generated padticles, such as paticle created by function polyhedra_fillbox.
i would apprecite it if you can help me

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,
please specify more "view the size". View in a GUI? get the dimensions as a number?
cheers
Jan

Revision history for this message
lip (mr.xie) said :
#2

i want to know the number

Revision history for this message
Jan Stránský (honzik) said :
#3

Then it depends on the definition of "size" and the usecase.
In general, for polyhedral particles, you have access to the coordinates of vertices as b.shape.v [1] and other data [2] and can evaluate size in many different ways.
Jan

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Polyhedra.v
[2]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Polyhedra

Can you help with this problem?

Provide an answer of your own, or ask lip for more information if necessary.

To post a message you must log in.