symbrim.core.mixins.NewtonianBodyMixin

class symbrim.core.mixins.NewtonianBodyMixin

Bases: object

Mixin class adding a Newtonian body to a model.

Attributes

body

The body representing the model.

descriptions

Descriptions of the symbols used in defining the body.

frame

Reference frame of the model.

x

X-axis of model.

y

Y-axis of model.

z

Z-axis of model.

Methods

__init__

set_plot_objects

Set the symmeplot plot objects.

__weakref__

list of weak references to the object (if defined)

property body: RigidBody

The body representing the model.

property descriptions: dict[object, str]

Descriptions of the symbols used in defining the body.

property frame: ReferenceFrame

Reference frame of the model.

set_plot_objects(plot_object: PlotModel) None

Set the symmeplot plot objects.

property x: Vector

X-axis of model.

property y: Vector

Y-axis of model.

property z: Vector

Z-axis of model.