wire=True for pfacet

Asked by Antonio on 2019-11-10

Hi All

I am new to Yade .

I am trying to create a Box make of pFacets to interact with cylinderconnection-roots, but the argument wire=True is not working and I can not see through the box in the Display.

Thank you very much for the help.

Antonio F.

-----------

##Nodes and gridConnections
#-Z
n00=O.bodies.append( gridNode([-10,-10,-10],r,wire=True,fixed=True,material='cMat',color=color) )
n01=O.bodies.append( gridNode([ 10,-10,-10],r,wire=True,fixed=True,material='cMat',color=color) )
n02=O.bodies.append( gridNode([ 10, 10,-10],r,wire=True,fixed=True,material='cMat',color=color) )
n03=O.bodies.append( gridNode([-10, 10,-10],r,wire=True,fixed=True,material='cMat',color=color) )
O.bodies.append( gridConnection(n00,n01,r,color=color,wire=True,material='fMat') )
O.bodies.append( gridConnection(n01,n02,r,color=color,wire=True,material='fMat') )
O.bodies.append( gridConnection(n02,n00,r,color=color,wire=True,material='fMat') )
O.bodies.append( gridConnection(n02,n03,r,color=color,wire=True,material='fMat') )
O.bodies.append( gridConnection(n03,n00,r,color=color,wire=True,material='fMat') )
##Walls
#Z-
O.bodies.append( pfacet(n00,n01,n02,wire=True,material='fMat',color=color) )
O.bodies.append( pfacet(n00,n02,n03,wire=True,material='fMat',color=color) )

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Klaus Thoeni
Solved:
2019-11-11
Last query:
2019-11-11
Last reply:
2019-11-11
Best Klaus Thoeni (klaus.thoeni) said : #1

Hi Antonio,

from what I remember, wire=True has no effect for pFacets. In fact, it is probably something we should add.

Klaus

Antonio (antonio-farfan) said : #2

Thanks Klaus Thoeni, that solved my question.

Antonio (antonio-farfan) said : #3

Hello Klaus,

Ok, I understand. Thank you very much for your answer. It will be nice it is posible to have it in YADE.

Greetings,
Antonio