Requirements

SHAPE 2.1 on macOS and Linux

SHAPE 2.1 is known to give trouble on macOS newer than 2022 and on some Linux systems. The ESG has not published a precompiled SHAPE version since 2013, so this cannot be fixed from Timeo. Cosmochlore does not depend on SHAPE.

Install the plugin

  1. Download the files from the latest GitHub release.

  2. Open the base directory of your Olex2 installation by typing shell BaseDir() in the Olex2 console.

  3. Create a file called plugins.xld in that directory with the following contents:

    plugins.xld
    <Plugin
     <Timeo>
    >

Note

If there is already a file named plugins.xld, edit it and write into the line.

  1. Go to <BaseDir>\util\pyUtil\PluginLib\ and create a folder called plugin-Timeo.
  2. Extract the downloaded zip and drop the contents of the timeo-X.X.X folder into plugin-Timeo, so that Timeo.py sits directly at <BaseDir>\util\pyUtil\PluginLib\plugin-Timeo\Timeo.py.
  3. Restart Olex2. A Timeo panel should appear under the Tools tab.

Keeping up to date

Development changes are pushed constantly to the master branch. If you git clone the repository into plugin-Timeo, the plugin updates automatically. Changes are usually only pushed when the plugin is in a usable state, but I cannot guarantee that nothing will break.

Install with a script

Instead of the steps above, the scripts below download the latest release, copy it to plugin-Timeo, and add <Timeo> to plugins.xld (creating the file if needed, and leaving other plugins in place). Run them with the path printed by shell BaseDir() in the Olex2 console (on macOS this is a folder inside the Olex2 application bundle) and restart Olex2 afterwards. Running them again updates an existing installation, overwriting its files but leaving your own files (such as the ones in user_shapes) alone. They do not touch a git clone installation.

Windows (PowerShell)

Download install-timeo.ps1 and run .\install-timeo.ps1 -BaseDir "C:\Program Files\Olex2-1.5". If PowerShell refuses to run it, use powershell -ExecutionPolicy Bypass -File .\install-timeo.ps1 -BaseDir "...".

Linux and macOS (bash)

Needs curl and unzip, both present on macOS and most Linux distributions. Download install-timeo.sh and run bash install-timeo.sh /path/to/olex2.

Make external executables available

Timeo calls the cosmochlore and shape executable as a background process. Either:

  • put them in a folder on your system PATH (see Cosmochlore installation), or
  • put them in the same folder as timeo.py, or
  • put them in the same folder as olex.exe, or
  • set the explicit path in Options > Settings (timeo.cosmochlore.exe_path). See settings.

The same applies to SHAPE through timeo.shape.exe_path.

Troubleshooting

Upgrading from Timaeus

  1. Delete the <BaseDir>\util\pyUtil\PluginLib\plugin-Timaeus folder and install Timeo as described above.
  2. In plugins.xld, replace the <Timaeus> line with <Timeo>.
  3. Console commands are now spy.Timeo.* instead of spy.Timaeus.*.