Skip to content

Plugin Pets in Editor

Hiromichi Yokoyama edited this page Nov 13, 2026 · 4 revisions

Pets in Editor

日本語 · Official Plugins

An animated pet overlay for MoleditPy 5.x. It covers the application window, is transparent to mouse input, and animates alongside your molecular editing.

Installation and controls

Install the release ZIP through MoleditPy's Plugin Manager, or copy the pets_in_editor folder into ~/.moleditpy/plugins/, then restart or reload plugins. The plugin uses MoleditPy’s existing Qt environment and imports pet packages directly.

All commands are under Plugins ▸ Pets in Editor:

Command Action
Toggle Pet Visibility Show or hide the overlay.
Import Pet Import a pet manifest and sprite sheet.
Settings Select the pet and change visibility, size, movement speed and activity, with an animated preview and Reset. Save applies changes; Cancel keeps current settings.

Activity choices are Lazy, Normal and Energetic; movement speed zero keeps the pet stationary with its idle animation. Changing size, speed or activity preserves its position.

Importing a pet

Select either pet.json with its referenced sprite sheet beside it, or a ZIP containing one pet.json and its sheet. Imported assets are copied to ~/.moleditpy/pets/<id>/.

PNG and WebP sheets are supported:

Layout Dimensions Cells
Standard 1536 × 1872 8 × 9; each cell 192 × 208
spriteVersionNumber: 2 1536 × 2288 8 × 11; each cell 192 × 208

Optional manifest frame and animations data are supported. Version 2 sheets use the standard movement and activity animations.

Animation and settings

The pet stays inside the editor bounds and pauses when the window is hidden or minimized. During built-in 2D-to-3D conversion or optimization it waits; dragging 3D atoms or groups uses the review animation. Hovering over it triggers a jump without intercepting clicks. Explicit calculation errors trigger failed, completion messages trigger waving, and cancellation briefly returns to idle. Use the calculation’s result display to review its outcome.

Personal settings live in pets_in_editor/settings.json inside the plugin directory. Overlay placement can vary with the desktop window manager, particularly on Linux/Wayland.

References

Supported MoleditPy >=5.0.0, <6.0.0
Supported Python >=3.9, <3.15
First-party plugin license LGPL-3.0-or-later

This page documents Pets in Editor v1.0.0, and was last updated on 2026-11-14. See REGISTRY/plugins.json for the current version.

Clone this wiki locally