wire=True for pfacet

Asked by Antonio

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:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
Antonio (antonio-farfan) said :
#2

Thanks Klaus Thoeni, that solved my question.

Revision history for this message
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