PrimePlotter#
- class ansys.meshing.prime.graphics.PrimePlotter(use_trame=None, allow_picking=True)#
Create a plotter for PyPrimeMesh models.
This plotter is a wrapper around the PyAnsys generic plotter with additional functionality for PyPrimeMesh.
- Parameters:
Methods
PrimePlotter.add_model(model[, scope, update])Add a Prime model to the plotter.
PrimePlotter.add_model_pd(model_pd)Add a model to the plotter.
PrimePlotter.add_scope(model, scope[, update])Add a scope to the plotter.
PrimePlotter.get_scalar_colors(mesh_info)Get the scalar colors for the mesh.
PrimePlotter.plot(plottable_object[, scope, ...])Add an object to the plotter.
PrimePlotter.plot_iter(plotting_list[, ...])Add a list of any type of object to the scene.
PrimePlotter.show([plottable_object, ...])Show the plotted objects.
Attributes
Return the base plotter object.
Get the information actor map for the selected information widget.
Examples using PrimePlotter#
Convert data when importing and exporting mesh and CAD formats
Mesh a mid-surfaced bracket for a structural analysis
Mesh a pipe T-section for structural thermal and fluid flow analysis
Morph a hexahedral mesh of a turbine blade to a new shape
Mesh a generic F1 car rear wing for external aero simulation
Mesh a generic PCB geometry with multiple hexa layers
Create a contact patch for wrapping between a wheel and ground interface