Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.core.sdynpy_geometry.GeometryPlotter

Signature

class sdynpy.core.sdynpy_geometry.GeometryPlotter(*args, **kwargs)

Class used to plot geometry

This class is essentially identical to PyVista’s BackgroundPlotter; however a small amount of additional functionality is added.

Methods

NameSummary
__init__Initialize the qt plotter.
hide_origin_marker
save_rotation_animationSaves an animation of the rotating geometry to a file
show_origin_marker

__init__

def sdynpy.core.sdynpy_geometry.GeometryPlotter.__init__(self, *args, **kwargs)

Initialize the qt plotter.

hide_origin_marker

def sdynpy.core.sdynpy_geometry.GeometryPlotter.hide_origin_marker(self)

save_rotation_animation

def sdynpy.core.sdynpy_geometry.GeometryPlotter.save_rotation_animation(self, filename=None, frames=20, frame_rate=20, individual_images=False)

Saves an animation of the rotating geometry to a file

Parameters

Returns

show_origin_marker

def sdynpy.core.sdynpy_geometry.GeometryPlotter.show_origin_marker(self, arrow_scale=0.05)