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.
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
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 faces one by one.
- 'v' does the same with the vertices
- 'e' does some edge options
- 'x' to return to the original view
- The grid view also has some functions if you right click.
- 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| offviewer-0.1.0.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| offviewer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.8 kB
Release files / offviewer-0.1.0.tar.gz
| Download URL | offviewer-0.1.0.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbf06f5af78a58cae22585be00b9273dceb9e95b8470d5a013090fcadab1df28
|
|
BLAKE2b-256 checksum How to use checksums |
b3e1a995fa39356800c39890698033f2a4d9863d579d941b64ae073115dfde2f
|
| 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.1.0-py3-none-any.whl
| Download URL | offviewer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 43.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6fe808fd959638cb85e996115d50b22e47317df76f32518b1dd2390389844fb
|
|
BLAKE2b-256 checksum How to use checksums |
ff07d690cfe7c34c1abe9633260e3912e16f87608134173a82177f735dd02caf
|
| 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}
|