Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

View

An export view with its own camera. Get it from Model.activeView. Changing its camera doesn’t move the camera in the desktop window.

camera: Camera

The view’s camera. Assign a Camera to change it.

writeImage(filename, options?): void

Renders the committed model to a PNG file. Existing files are overwritten; the folder must exist. Call it outside operations. Throws RangeError for invalid arguments and ModelError when rendering or writing fails. Scripts only: plugins get a PermissionError, since they write files through PluginFiles.save.

string

ImageOptions

void