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.4.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.4.0
File Size Uploaded
offviewer-0.4.0.tar.gz 69.5 kB Details

Built distribution (wheel)

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

Total release size: 142.7 kB

Release files / offviewer-0.4.0.tar.gz

Download URL offviewer-0.4.0.tar.gz
Size 69.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2c70a6e9d2990f652dafd42d78b379fc70c75f85c4a63e9a420544234fb8ba34
BLAKE2b-256 checksum
How to use checksums
b6e629a4b40ca0ebc307b29897952c13d191370e34e53c8db649780e9b5a83cc
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.4.0-py3-none-any.whl

Download URL offviewer-0.4.0-py3-none-any.whl
Size 73.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92abe05550aca21a64e5215acbf02a1617aba400aadee801e9e1d2ab1ab6f1b2
BLAKE2b-256 checksum
How to use checksums
a390fc690223c748ea4bf295bd0bd467d9f7ea85b891ec63c9194ce21cb9643d
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

This release

0.4.0 This release

2 release files

0.3.0

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