pyvista.Property.render_lines_as_tubes#

property Property.render_lines_as_tubes: bool[source]#

Return or set rendering lines as tubes.

Defaults to pyvista.plotting.themes.Theme.render_lines_as_tubes.

Requires representation style be set to 'wireframe'.

Examples

Enable rendering lines as tubes.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.style = 'wireframe'
>>> prop.line_width = 10
>>> prop.render_lines_as_tubes = True
>>> prop.render_lines_as_tubes
True

Visualize default line rendering.

>>> prop.render_lines_as_tubes = False
>>> prop.plot()
../../../_images/pyvista-Property-render_lines_as_tubes-1_00_00.png

Visualize rendering lines as tubes

>>> prop.render_lines_as_tubes = True
>>> prop.plot()
../../../_images/pyvista-Property-render_lines_as_tubes-1_01_00.png