reference position of facet
Hi all,
I want to know how to find the reference position of a facet.
I use the following code:
#######
x0=0.2;
cylinderIDS= O.bodies.
radius=
shaftcheck=
print("cylinder is :",cylinderIDS)
print("shaft is : ",shaftcheck)
print("this is x reference: ",O.bodies[
print("this is y reference: ",O.bodies[
print("this is z reference: ",O.bodies[
print("
the results are:
('cylinder is :', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
('shaft is : ', 10)
('this is x reference: ', 0.2097597050800552)
('this is y reference: ', 0.1952536699709
('this is z reference: ', 0.3804805898398
#######
I don't know how to calculate the reference position.
best,
Yong
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: