Matthias Melcher

Results 77 comments of Matthias Melcher

This Pull Request adds macOS QuickLook previews and icons to FreeCAD. The patch in _Info.plist_ makes *.FCStd files known as filetype `org.freecad.fcstd` to the system. The actual QL plugin source...

Looking at the CI output, I saw that the `QuickLook/main.c` source code is checked on Linux, not finding includes that only exist on macOS (CoreFoundations, etc.). I did fix the...

@ipatch Thanks for trying my code. I have not touched lines 37 to 40 in MacAppBundle/CMakeLists.txt. My changes are in lines 128 to 144. The lines handle some Python code...

> all that brings another issue though, i think these checks should be a tad bit more robust, but that's separate issue for another day. as my manually added `.pth`...

You are right, the Conda script does indeed include its own Info.plist wich does not have the changes to register the file type. [Script](https://github.com/FreeCAD/FreeCAD-Bundle/blob/master/conda/osx-arm64/create_bundle.sh) [Info.plist template](https://github.com/FreeCAD/FreeCAD-Bundle/blob/master/conda/osx-arm64/Info.plist.template) @looooo Hi Lorenz. Would...

The bundle must be moved to `/Applications`. This should be enough for macOS to pick up on the file type. You can check that by running ``` qlmanage -m |...

@ipatch The file you attached has no Thumbnail.png. You can enable this feature using the FreeCAD preferences. I attached a file that does have the thumbnail (just rename the FCStd...

That's how it is supposed to look. Great!

@looooo I added a PR [136](https://github.com/FreeCAD/FreeCAD-Bundle/pull/136) to FreeCAD-Bundle, so QuickLook should work with Conda bundles as well.

Suspended! I will have to do some updates to make this work with Conda.