offviewer 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.3
2
+ Name: offviewer
3
+ Version: 0.1.0
4
+ Summary: Add your description here
5
+ Author: Marcel Tünnissen
6
+ Author-email: Marcel Tünnissen <marcelteun@gmail.com>
7
+ Requires-Dist: moderngl>=5.12.0
8
+ Requires-Dist: numpy>=2.5.2
9
+ Requires-Dist: pygame>=2.6.1
10
+ Requires-Dist: windnd>=1.0.7
11
+ Requires-Python: >=3.12
12
+ Description-Content-Type: text/markdown
13
+
14
+ # About
15
+ 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.
16
+
17
+ # Using Repository from Github
18
+
19
+ After cloning the the repository the offviewer can be run from the directory through
20
+
21
+ `uv run offviewer [dir]`
22
+
23
+ This requires that you have uv installed, see [uv](https://docs.astral.sh/uv/getting-started/installation/)
24
+
25
+
26
+ # Using a Released Version
27
+
28
+ A released version can be installed by
29
+ `pip install offviewer`
30
+
31
+ # The Off File Viewer
32
+ When you open a grid window the sort mode will be greyed out while it
33
+ calculates the metrics for the off files. Once it has done this and you select
34
+ a sort order, duplicate values of the sort parameter are highlighted in pink.
35
+ The delete duplicates button will keep the oldest file with any one value.
36
+ Float parameters have a small tolerance built in.
37
+
38
+ - Auto rotate is fun but wait until the sort button blacks up or you'll slow it down.
39
+ - + (or =) and - will zoom the cells on the grid screen-
40
+ - Any polyhedron can be rotated by left dragging with the mouse ot=r by using the arrow keys
41
+ - Double click on an image to get to the enlarged screen.
42
+ - The left and right arrows are previous/next file.
43
+ - 'f' on the enlarged screen will cycle through the faces one by one.
44
+ - 'v' does the same with the vertices
45
+ - 'e' does some edge options
46
+ - 'x' to return to the original view
47
+ - The grid view also has some functions if you right click.
48
+ - 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.
49
+ - The path and 'search' at the top of the grid screen don't work (yet) and will probably be removed
@@ -0,0 +1,36 @@
1
+ # About
2
+ 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.
3
+
4
+ # Using Repository from Github
5
+
6
+ After cloning the the repository the offviewer can be run from the directory through
7
+
8
+ `uv run offviewer [dir]`
9
+
10
+ This requires that you have uv installed, see [uv](https://docs.astral.sh/uv/getting-started/installation/)
11
+
12
+
13
+ # Using a Released Version
14
+
15
+ A released version can be installed by
16
+ `pip install offviewer`
17
+
18
+ # The Off File Viewer
19
+ When you open a grid window the sort mode will be greyed out while it
20
+ calculates the metrics for the off files. Once it has done this and you select
21
+ a sort order, duplicate values of the sort parameter are highlighted in pink.
22
+ The delete duplicates button will keep the oldest file with any one value.
23
+ Float parameters have a small tolerance built in.
24
+
25
+ - Auto rotate is fun but wait until the sort button blacks up or you'll slow it down.
26
+ - + (or =) and - will zoom the cells on the grid screen-
27
+ - Any polyhedron can be rotated by left dragging with the mouse ot=r by using the arrow keys
28
+ - Double click on an image to get to the enlarged screen.
29
+ - The left and right arrows are previous/next file.
30
+ - 'f' on the enlarged screen will cycle through the faces one by one.
31
+ - 'v' does the same with the vertices
32
+ - 'e' does some edge options
33
+ - 'x' to return to the original view
34
+ - The grid view also has some functions if you right click.
35
+ - 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.
36
+ - The path and 'search' at the top of the grid screen don't work (yet) and will probably be removed
@@ -0,0 +1,24 @@
1
+ [project]
2
+ name = "offviewer"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = [
8
+ "moderngl>=5.12.0",
9
+ "numpy>=2.5.2",
10
+ "pygame>=2.6.1",
11
+ "windnd>=1.0.7",
12
+ ]
13
+
14
+ [[project.authors]]
15
+ name = "Marcel Tünnissen"
16
+ email = "marcelteun@gmail.com"
17
+
18
+ [project.scripts]
19
+ offviewer = "offviewer:main"
20
+ offchecker = "offviewer.offcheck:main"
21
+
22
+ [build-system]
23
+ requires = ["uv_build>=0.12.3,<0.13.0"]
24
+ build-backend = "uv_build"
@@ -0,0 +1,23 @@
1
+ [project]
2
+ name = "offviewer"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "Marcel Tünnissen", email = "marcelteun@gmail.com" }
8
+ ]
9
+ requires-python = ">=3.12"
10
+ dependencies = [
11
+ "moderngl>=5.12.0",
12
+ "numpy>=2.5.2",
13
+ "pygame>=2.6.1",
14
+ "windnd>=1.0.7",
15
+ ]
16
+
17
+ [project.scripts]
18
+ offviewer = "offviewer:main"
19
+ offchecker = "offviewer.offcheck:main"
20
+
21
+ [build-system]
22
+ requires = ["uv_build>=0.12.3,<0.13.0"]
23
+ build-backend = "uv_build"
@@ -0,0 +1,5 @@
1
+ from offviewer import offviewer
2
+
3
+
4
+ def main() -> None:
5
+ offviewer.main()