Skip to main content

About

These scripts were written by Jim McNeill using AI tools. I decided it would be a good idea to add them to a git repo. These files come as is and without any guaratees and I cannot promise that any problems will be solved any time soon.

Using Repository from Github

After cloning the the repository the offviewer can be run from the directory through

uv run offviewer [dir]

This requires that you have uv installed, see uv

Using a Released Version

A released version can be installed by pip install offviewer

It is wise to use a virtual Python environment, e.g. on Linux:

python -m venv path_to_venv
. path_to_venv/bin/activate

Then the script can be run by: offviewer [path-to-folder]

There is also the scripts

  • offchecker
  • facetings

The Off File Viewer

When you open a grid window the sort mode will be greyed out while it calculates the metrics for the off files. Once it has done this and you select a sort order, duplicate values of the sort parameter are highlighted in pink. The delete duplicates button will keep the oldest file with any one value. Float parameters have a small tolerance built in.

  • Auto rotate is fun but wait until the sort button blacks up or you'll slow it down.
    • (or =) and - will zoom the cells on the grid screen-
  • Any polyhedron can be rotated by left dragging with the mouse ot=r by using the arrow keys
  • Double click on an image to get to the enlarged screen.
    • The left and right arrows are previous/next file.
    • 'f' on the enlarged screen will cycle through the face types one by one.
    • 'v' cycles through the vertices
    • 'e' does some edge options (also on the grid view)
    • 'x' to return to the original view
  • The grid view also has some functions if you right click: delete, rename, view source, open in Stella.
  • The offcheck.py file is also a standalone checker. If you change the metrics that this is calculating they should flow through into offviewer automatically.
  • The path and 'search' at the top of the grid screen don't work (yet) and will probably be removed

Metadata

Release files for offviewer 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for offviewer 0.3.0
File Size Uploaded
offviewer-0.3.0.tar.gz 57.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for offviewer 0.3.0
File Interpreter ABI Platform
offviewer-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 116.6 kB

Release files / offviewer-0.3.0.tar.gz

Download URL offviewer-0.3.0.tar.gz
Size 57.5 kB
Tags Source
SHA-256 checksum
How to use checksums
899c6770b7c4abdeba27c25d47d6db2484230f44cb98b1882b9df00f99cc4e28
BLAKE2b-256 checksum
How to use checksums
e6a92be67d39f37eaf7af707834b051ba363897ff536a18b74c42f333b8f863c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / offviewer-0.3.0-py3-none-any.whl

Download URL offviewer-0.3.0-py3-none-any.whl
Size 59.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4656ba2d6df21bb7c55f43bc186cd2630521323eaa1e7a5bbedbe90cf483f25b
BLAKE2b-256 checksum
How to use checksums
8b7af06ed71756929dba9a47ac4791d7f742af9d4e4fe3fb5a504bcc35cf728c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page