Karana.KUtils.MultibodyTUI#

A TUI used to inspect a Multibody.

Submodules#

Classes#

MultibodyTUI

A terminal user interface (TUI) to examine a multibody.

Package Contents#

class Karana.KUtils.MultibodyTUI.MultibodyTUI(multibody, *, run: bool = True, highlight: Karana.Scene.Scene_types.MaterialType | Karana.Scene.Color = Color.YELLOW, axes_size: float = 10)[source]#

Bases: Karana.KUtils.MultibodyTUI.base.TUIBase

A terminal user interface (TUI) to examine a multibody.

multibody#
graph_adapters: collections.abc.Mapping[ViewTag, GraphAdapter]#
loopdb#
hist#
notify#
highlighter#
highlighter2#
loop_lines#
frame_lines#
frame_axes#
swing_manager#
property state: State#

The current state.

redraw()[source]#

Redraw the MultibodyTUI view.

handleKey(key: str) bool[source]#

Handle a single key press from the user.