Open schroef opened 6 years ago
It should go to ~/Library/QuickLook/
The code is a bit old. Maybe need to rebuild for latest OS?
Can you provide a sample file to test on my machine?
Have you also tried building from source?
It does work, but should add that you need to save files without compression. Otherwise it doesnt work. But the preview is super crappy and alle files get 2/3 times bigger now. So not sure its really usefull. Also it seems to take own approach on what to render. black background and i think only layer 1 is rendered
Blender files come with a thumbnail preview of the scene rendered with the default camera. This is the image that is shown by the quicklook plugin. For files with compression maybe it needs to decompress before being able to read the thumbnail?
Also I am not sure how Blender decides what layers/settings to use for rendering the preview thumbnail.
Well in blender the preview looks of much better quality and also show more when you use "add previews"
Hmm interesting, need to check the source code of the preview in blender. I won't have much time to check that for a few months.
Thanks for the feedback.
I noticed it stopped working again... still using osx 10.11.6 tried both bl 2.78c and 2.79 nothing shows. Have previews on, saveing without compression. Still nothing.
Ill try debuggin again if can remember it
I know see these errors when i debug it
Testing Quick Look preview with files: /Desktop/BLender-Quicklook-test.blend [WARNING] Unable to determine UTI for file:///Desktop/BLender-Quicklook-test.blend: Error Domain=NSCocoaErrorDomain Code=260 "The file “BLender-Quicklook-test.blend” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Desktop/BLender-Quicklook-test.blend, NSFilePath=/Desktop/BLender-Quicklook-test.blend, NSUnderlyingError=0x7f9fe0c02b50 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [WARNING] Unable to determine UTI for file:///Desktop/BLender-Quicklook-test.blend: Error Domain=NSCocoaErrorDomain Code=260 "The file “BLender-Quicklook-test.blend” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Desktop/BLender-Quicklook-test.blend, NSFilePath=/Desktop/BLender-Quicklook-test.blend, NSUnderlyingError=0x7f9fe3005cd0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [ERROR] Can't access file:///Desktop/BLender-Quicklook-test.blend: Error Domain=NSCocoaErrorDomain Code=260 "The file “BLender-Quicklook-test.blend” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Desktop/BLender-Quicklook-test.blend, NSFilePath=/Desktop/BLender-Quicklook-test.blend, NSUnderlyingError=0x7f9fe3154a50 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [ERROR] Can't access file:///Desktop/BLender-Quicklook-test.blend: Error Domain=NSCocoaErrorDomain Code=260 "The file “BLender-Quicklook-test.blend” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Desktop/BLender-Quicklook-test.blend, NSFilePath=/Desktop/BLender-Quicklook-test.blend, NSUnderlyingError=0x7f9fe0fd0fc0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [WARNING] LSCopyDefaultApplicationURLForURL for file:///Desktop/BLender-Quicklook-test.blend returned error Error Domain=NSOSStatusErrorDomain Code=-10814 "kLSApplicationNotFoundErr: E.g. no application claims the file" 2018-07-17 21:08:36.945 qlmanage[6382:2470958] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9403, name = 'com.apple.coredrag' See /usr/include/servers/bootstrap_defs.h for the error codes. 2018-07-17 21:08:37.027 qlmanage[6382:2470958] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xb93f, name = 'com.apple.tsm.portname' See /usr/include/servers/bootstrap_defs.h for the error codes. 2018-07-17 21:08:37.028 qlmanage[6382:2470958] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x4707, name = 'com.apple.CFPasteboardClient' See /usr/include/servers/bootstrap_defs.h for the error codes. 2018-07-17 21:08:37.028 qlmanage[6382:2470958] void __CFPasteboardSetup() : Failed to allocate communication port for com.apple.CFPasteboardClient; this is likely due to sandbox restrictions MBP-Schroef:~ Admin$
So there are problems with sandbox and code signing with QuickLook plugins.
https://stackoverflow.com/q/23058657 https://apple.stackexchange.com/q/323854
https://github.com/whomwah/qlstephen#permissions-quarantine
I tried moving the file from ~/Library/QuickLook to /Library/QuickLook and it seemed to work. But need to do it with sudo because that is a system directory.
Copying to /Library/QuickLook/
, and then running qlmanage -r && qlmanage -r cache
on macOS 13.0.1 (Ventura) and relaunching Finder worked for me.
Copying to
/Library/QuickLook/
, and then runningqlmanage -r && qlmanage -r cache
on macOS 13.0.1 (Ventura) and relaunching Finder worked for me.
What chip on you machine, apple Silicon or Intel? thanks for answer
What chip on you machine, apple Silicon or Intel? thanks for answer
Intel (i9)
Hi there and thanks for making such cool thing. I just tried it but nothing is generated.
This is the code i got using qlmanage in Terminal
I had this ql sketchup thing today and was testing that immense, it worked for a while and stopped as well??
Ive taken out all other ql plugins and also did qlmanage -r and qlmanage -r cache and killall Finder
Still nothing
Plugins needs to go in /library/quicklook/ right?