how to get the volume of polyhedra
Asked by
lip
hello
i want to know how to get the volume of polyhedra created by function polyhedra_
below is my code:
from yade import pack, qt, polyhedra_utils
m=PolyhedraMat()
a=polyhedra_
O.bodies.append(a)
t=a.getVolume()
print t
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
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.