Skip to content

Commit

Permalink
update readme and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
l-koehler committed Apr 6, 2024
1 parent eb2549e commit e422d14
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 19 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Version 2.4.0
-------------

* Added trimesh/gmsh to support 3D-Models (close #11)

* Fixed crash when using drag-and-drop (close #12)

* When set to only show common file types, still show uncommon ones
if no common types are available

Version 2.3.2
-------------

Expand Down
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,20 @@ in the Microsoft Store is [worse in some regards](https://docs.python.org/3/usin
`python -m pip install PyQt5` to get PyQt5.

#### Optional dependencies:
(Without these some conversions will not work)
Without these some conversions will not work.

System Packages:

* ffmpeg (Audio and Video)
* imagemagick (Images)
* unoconv (Office formats)
* pandoc (Markdown)
* squashfs-tools, zip, unzip, binutils, tar, gzip, bzip2 (Compressed files)
* trimesh (python package, used for 3D Models)
__If trimesh is installed, these dependencies are required__
- gmsh (python package)

Python packages:

* trimesh _AND_ gmsh (python packages, used for 3D Models)


On Linux, use your distributions Package manager to install these.
On Windows, either get .exe files and place them on the $PATH , use [scoop](https://scoop.sh),
Expand All @@ -53,18 +57,6 @@ If a optional dependency is installed after the program, you might
need to restart the program twice to ensure the cache gets overwritten.
If this does not work, delete the cache (Preferences -> Delete Cache).

Trimesh is broken, patch for `{site_packages}/trimesh/interfaces/gmsh.py`
(e.g. `~/.local/lib/python3.11/site-packages/trimesh/interfaces/gmsh.py`):
```patch
79,80c79
< if not gmsh.isInitialized():
< gmsh.initialize()
---
> gmsh.initialize()
```
this patch is probably a bad idea but it delays
the crash until the conversion is done.

#### Troubleshooting (Linux)
On some distros ("externally managed environments", like Arch and Debian),
`pip` will not work. In this case, you should use `pipx`.
Expand Down
4 changes: 2 additions & 2 deletions ffconverter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

# version
__major__ = 2
__minor__ = 3
__patch__ = 2
__minor__ = 4
__patch__ = 0
__prerelease__ = "" # alpha, beta, rc etc.

# package information
Expand Down
2 changes: 1 addition & 1 deletion share/ffconverter.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Version=2.3.2
Version=2.4.0
Name=FF Converter
GenericName=File Format Converter
GenericName[pt]=Conversor de ficheiros
Expand Down

0 comments on commit e422d14

Please sign in to comment.