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.5.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 hedron_scripts 0.5.0
File Size Uploaded
hedron_scripts-0.5.0.tar.gz 69.0 kB Details

Built distribution (wheel)

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

Total release size: 142.2 kB

Release files / hedron_scripts-0.5.0.tar.gz

Download URL hedron_scripts-0.5.0.tar.gz
Size 69.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4ba51a0ded59cbff7d20f767cecc8024b684e21127f5cc728c71ba0202c5c4c2
BLAKE2b-256 checksum
How to use checksums
9c15005d420acd994b4536fd779b7ae2bd9a9f3b79669d50f4fb700d43039253
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 / hedron_scripts-0.5.0-py3-none-any.whl

Download URL hedron_scripts-0.5.0-py3-none-any.whl
Size 73.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1af399817d9d615f475a7c87b57baa3bc9c3dddb80ac5049f86582e2c794cff
BLAKE2b-256 checksum
How to use checksums
3b28642d0ae4af05424e5d62d5deadb24062e242b3c96296310c4f5fa6a315a7
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.5.3

2 release files

This release

0.5.0 This release

2 release files

0.4.1

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