Skip to content

Add additional RPC calls #157

@ghutchis

Description

@ghutchis

Right now, there are two main JSON-RPC calls:

  • openFile(filename)
  • loadFile(data)

There's a definite need for other JSON-RPC calls to help with automation / scripting:

  • saveFile(format) => bytestream or string
  • saveFile(format, filename) => force a save
  • renderImage(filename) => render current frame buffer
  • renderAnimation(options) => step through coordinates to render the whole reaction / trajectory, etc.

I can imagine requesting particular rendering options would be useful

Some level of security analysis is needed (e.g., to make sure malformed request don't crash Avogadro, and to ensure RPC can be turned off as a preference even if compiled in).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions