Question #680888 on Yade changed: https://answers.launchpad.net/yade/+question/680888
Jan Stránský proposed the following answer: Hi, Next time, please be more specific: - transparent in Yade GUI? Paraview? - haw do you create your polyhedrons? a MWE with one polyhedron displaying it would be nice.. Assuming Yade GUI: transparency is controlled by body.shape.wire attribute. Set it to True to see "wireframe". It is not only edges, but also triangulation of more-than-tree-vertex faces. some functions accepts wire argument (like utils.polyhedron), some not (like those in polyhedra_utils module) ### from yade import polyhedra_utils, qt mat = defaultMaterial() p1 = polyhedra_utils.polyhedra(mat) # no parameter 'wire' #p1.wire = ... must be set "manually" p2 = utils.polyhedron(((0,0,0),(1,0,0),(0,1,0),(1,1,0),(0,0,1)),wire=True) # you can set wire at creation O.bodies.append((p1,p2)) qt.View() # uncomment to "flip" transparency #p1.shape.wire = True #p2.shape.wire = False ### cheers Jan -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

