grains.cad.plot_splinegons¶
-
grains.cad.plot_splinegons(splinegons, transparency=0.5, color='random')[source]¶ Plots splinegons.
- Parameters
splinegons (list) – Each member of the list is a TopoDS_Face object, the surface of a splinegon.
transparency (float, optional) – The transparency value should be between 0 and 1. At 0, an object will be totally opaque, and at 1, fully transparent.
color (tuple or str, optional) – Color of the splinegons. Either ‘random’ to associate a random color for each splinegon in the list splinegons or a 3-tuple with entries between 0 and 1 to give the same RGB values to all the splinegons.
- Returns
None
See also