MapdlPlotter#
- class ansys.mapdl.core.plotting.visualizer.MapdlPlotter(use_trame=False, theme=None, **plotter_kwargs)#
Plotter class for PyMAPDL.
This class is an implementation of the
PlotterInterfaceclass from the Visualization Interface Tool. The picker is implemented in PyMAPDL-specific classes due to the characteristics of the library.- パラメーター:
- use_tramebool,
optional Whether to use the Trame visualizer. The default is
False.- theme
pv.DefaultTheme,optional Theme to use for the plotter. The default is
None.
- use_tramebool,
Methods
MapdlPlotter.add_labels(points, labels, ...)Add labels to the plotter.
MapdlPlotter.add_lines(points[, ...])Add line segments to the scene.
MapdlPlotter.add_mesh([meshes, points, ...])Adds a mesh to the plotter.
MapdlPlotter.add_planes([center, normal, ...])Add a plane to the scene.
MapdlPlotter.add_points(points, ...)Add points to the plotter.
MapdlPlotter.add_text(text, position[, ...])Add text to the scene.
MapdlPlotter.animate(frames[, fps, loop, ...])Create an animation from a sequence of frames.
MapdlPlotter.bc_nodes_plot(mapdl, bc_labels)Plot nodes BC given a list of labels.
MapdlPlotter.bc_plot([mapdl, bc_labels, ...])Plot boundary conditions.
Clear all actors from the scene.
Get the meshes plotted in the plotter.
MapdlPlotter.plot([meshes, points, labels, ...])Add an object to the plotter.
MapdlPlotter.plot_iter(plotting_list[, ...])Add a list of objects to the plotter.
MapdlPlotter.show([window_size, ...])Show the plotter.
Switches the backend scene to the given plotter.
Attributes
Return the base plotter object.
Get the boundary condition settings object.
Return the meshes.
Return the scene.