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 hedron_scripts 0.4.1

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

Source distribution (sdist)

Source distribution for hedron_scripts 0.4.1
File Size Uploaded
hedron_scripts-0.4.1.tar.gz 62.2 kB Details

Built distribution (wheel)

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

Total release size: 128.2 kB

Release files / hedron_scripts-0.4.1.tar.gz

Download URL hedron_scripts-0.4.1.tar.gz
Size 62.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9519e0b63aa8930c2386766864f09aad5437c3d1e30c4cb153f9a45c32f6bab3
BLAKE2b-256 checksum
How to use checksums
a7850c569ad91cf4b238b3af4a8111377de4cad6508d3bebebf4c309875a33da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 / hedron_scripts-0.4.1-py3-none-any.whl

Download URL hedron_scripts-0.4.1-py3-none-any.whl
Size 66.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5452dff71c73ea92976b3c6184126c6576734c30d8a79f6f0a4cfdee09eab5ae
BLAKE2b-256 checksum
How to use checksums
2c829a02897827fc91853ed96799f23acf31080d5d5c62769f5b70b8efce77d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.5.3

2 release files

0.5.0

2 release files

This release

0.4.1 This release

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