add_mesh#

MapdlPlotter.add_mesh(meshes, points, labels, *, cpos=None, show_bounds=False, show_axes=True, background=None, style=None, color='w', show_edges=None, edge_color=None, point_size=10, line_width=None, opacity=1.0, flip_scalars=False, lighting=None, n_colors=256, interpolate_before_map=True, cmap=None, render_points_as_spheres=False, render_lines_as_tubes=False, scalar_bar_args=None, smooth_shading=None, feature_angle=30.0, show_scalar_bar=None, split_sharp_edges=None, font_size=None, font_family=None, text_color=None, theme=None, add_points_kwargs=None, add_mesh_kwargs=None, add_point_labels_kwargs=None, plotter_kwargs=None)#

Adds a mesh to the plotter.

Parameters:
meshespv.PolyData

The mesh to add to the plotter.

pointspv.PolyData

The points to add to the plotter.

labelspv.PolyData

The labels to add to the plotter.

plotter_kwargsdict, optional

Extra kwargs, by default {}