cherab.phix.machine.pfc_mesh.show_PFCs_3D#

cherab.phix.machine.pfc_mesh.show_PFCs_3D(fig=None, fig_size=(700, 500))Source#

Show PHiX Plasma Facing Components in 3-D space.

Plot 3D meshes of PFCs with plotly.

Parameters:
  • fig (Figure | None) – plotly Figure object, by default Figure.

  • fig_size (tuple[int, int]) – figure size, be default (700, 500) px.

Return type:

plotly Figure object

Examples

fig = show_PFCs_3D(fig_size=(700, 500))
fig.show()

The above codes automatically lauch a browser to show the figure when it is executed in the python interpreter like the following picture:

../_images/show_PFCs_3D_example.png