← Back to team overview

yade-users team mailing list archive

[Question #685729]: wire=True for pfacet

 

New question #685729 on Yade:
https://answers.launchpad.net/yade/+question/685729

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) )

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.