(TRICK) To re-enable skp file preview
-
Does this work in sketchup 2015 windows 7 . I've been having the same problem with file preview.
-
For Mac
Download GraphicConverter: http://www.lemkesoft.de/en/products/graphicconverter/download/
Select: Download now (from Switch.ch)Once you open the Free version of GraphicConverter, File/Open and find the folder, where you have placed all your Sketchup files. Under EDIT / Select All
Now at the bottom click on (Create Preview) This will change all the Sketchup logo(s) into it's graphic thumbnail.
Note: It will not launch the graphic icon, unless you are in Sketchup.
Open Sketchup and (Open File). You should see the Thumbnails, and these icons will launch.
-
@steveclayton said:
For Mac
Download GraphicConverter: http://www.lemkesoft.de/en/products/graphicconverter/download/
Select: Download now (from Switch.ch)Once you open the Free version of GraphicConverter, File/Open and find the folder, where you have placed all your Sketchup files. Under EDIT / Select All
Now at the bottom click on (Create Preview) This will change all the Sketchup logo(s) into it's graphic thumbnail.
Note: It will not launch the graphic icon, unless you are in Sketchup.
Open Sketchup and (Open File). You should see the Thumbnails, and these icons will launch.
Steve, I could kiss you! I've been wanting to be able to see thumbnails of my SU files since I got my mac 4 years ago. Thank you so much for this tip!
-
@kevsterman said:
Steve, I could kiss you! I've been wanting to be able to see thumbnails of my SU files since I got my mac 4 years ago. Thank you so much for this tip!
+Eleventy! No idea why SU doesnβt bother to support this. Iβve missed it ever since it was dropped.
-
@pibuz said:
"regsvr32 thumbsup.dll" and press "return".
Great! It works!
My situation:
Windows XP 32 bit
installed Sketchup 8 and Sketchup 6 (version 6 installed later than 8 only for AutoCAD DWG files import, but not very usable BTW).
Only for .skp files made in version 6 thumbnails were visible.
Now I see all .skp files thumbnails!!! -
hello guys,
windows 10
sketchup 2016,
adobe bridge cs6
still no thumbnails....
explorer shows thumbnails perfectly but in bridge it's only icons... any suggestions?
-
does this work for windows 10?
i'm using SU make 2015, but i have 2016 too just to be able to open and re-save in 2015 friendly format. Does anyone else do that? I can't be bothered to set everything how i like it from scratch every year... and i preferred autonomy of size and location of entity info and layers, etc...
i'm just a tad scared of anything in the registry as it's way over my head, so advice appreciated in advance of tinkering.
Thanks
mike -
@slbaumgartner said:
@driven said:
@geomp said:
What's the best solution for Mac?
check out Jeff's earlier post, GraphicConvertor.app is still the best solution I'm aware of...
john
As a new Mac convert, I was frustrated by the lack of QuickLook thumbnails for SketchUp files, and worse, on my Mac QuickLook tried to treat the file as text, taking a long time and then displaying a huge amount of useless hexadecimal data. So I decided to see if there was a simple solution. Here's what I came up with.
First of all, although SketchUp saves a PNG format thumbnail inside each file (containing the last view you had open), and has Ruby API calls to generate thumbnails, these images are only 128 pixels wide. For a model of even modest complexity, this makes the image so distorted and blurry that it is useless. So, the first requirement was to create a better image for the file. To do this, I wrote the little Ruby plugin attached. It creates an observer that causes SketchUp to save a jpeg image of the current view each time you save a file. I set the image to 800x600 at a moderate level of compression to make it big and clear enough to see but not gigantic in size. You can easily edit the Ruby if you want a different size. The image has the same base name as the SketchUp file but with extension ".pv.jpg". There is a delay to export the image as you save a file; depending on the complexity of the model you might or might not notice.
Second, I wrote a little QuickLook generator, also attached, that looks for the image to go with a SketchUp file and tells the system to use it as a thumbnail. SketchUp does not (at this time) register its own UTI for its files, so OS X creates a dynamic UTI for them. I put the dynamic UTIs for skp and skb files in the info.plist for this generator. I am led to believe that these should be the same on all Macs, so hopefully they will work for everyone. With this generator, the thumbnail image is displayed for any file that has one and the SketchUp icon for files that do not.
To implement my system, copy the Ruby plugin into your plugins directory (~/Library/Application Support/Google SketchUp 8/SketchUp/Plugins) and copy the QuickLook generator into ~/Library/QuickLook. Note: by default the Finder hides your Library folder, but you can get there using the Go->Go To Folder menu in Finder. Also, you may need to restart the QuickLook system by rebooting or, if you are bolder, running qlmanage -r in a terminal window.
Despite the name of the generator, it actually creates a thumbnail, not a preview. After working on this it struck me that given a well-detailed thumbnail, there was really no need for a preview. If you want to go beyond the thumbnail, you can just open the file in SketchUp.
As I mentioned, I am new to Mac, so I don't know all the ins and outs of making this portable. I compiled the generator on a MacBook Pro under Mountain Lion, and I am not sure whether it will work on a non-Intel Mac or on an older version of the OS, as I have access to neither. If it won't run on your system, PM me and I'll be happy to send you the source code.
Steve
Thanks a lot! it works already, as i now see thumbnails in the system. Im not sure what the quicklooks does, cause it already worked without a restart. Im using 10.11.6
-
It just to work a while back but now im just seeing the icons aside of the SketchUp file. he files them self show the regular su icon. Not sure why it stopped working
-
Does anyone have the quicklook function working on OSX under El Capitan?
On mavericks it worked but with El Capitan the thumbnails arent set to the file
-
it works fine with El Capitan and SU v17 for me...
if the Finder icon size is set to small it will revert to the generic icon instead...
and it will show old files the same unless saved in v17...
are you seeing none?
john
-
I was looking into this little plugin again. I the quicklook.generator does give a error if i drop direct in the terminal, is that normal. The thumbnails are working but i dont preview them on the files no more. It did work for a small period of time though.
this is the code i got in terminal
-bash: /Library/QuickLook/SketchUp-Preview.qlgenerator/Contents/MacOS/SketchUp-Preview: Operation not permittedusing osx 10.11.6
-
I did some more digging and found a method how you can see what quicklook can see or what is using it for that
Last login: Wed Dec 13 17:50:45 on ttys000
MBP-Schroef:~ Admin$ qlmanage -m | grep epub
org.idpf.epub-folder -> /System/Library/QuickLook/iBooks.qlgenerator (1)
org.idpf.epub-container -> /System/Library/QuickLook/iBooks.qlgenerator (1)
MBP-Schroef:~ Admin$ qlmanage -m | grep skp
MBP-Schroef:~ Admin$ qlmanage -m | grep previewp
MBP-Schroef:~ Admin$ qlmanage -m | grep iwork
com.apple.iwork.keynote.sffkth -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.pages.sfftemplate -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.keynote.key -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.numbers.sffnumbers -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.numbers.numbers-tef -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.keynote.sffkey -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.pages.pages-tef -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.pages.sffpages -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.keynote.key-tef -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.numbers.sfftemplate -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.pages.pages -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.keynote.kth -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.numbers.numbers -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.numbers.template -> /Library/QuickLook/iWork.qlgenerator (146)
com.apple.iwork.pages.template -> /Library/QuickLook/iWork.qlgenerator (146)
MBP-Schroef:~ Admin$ qlmanage -m | grep skb
MBP-Schroef:~ Admin$ qlmanage -m | grep .skp
MBP-Schroef:~ Admin$skp isnt linked to anything as it seems. Could you have a look at i again perhaps
-
I don't know why it stopped working. It is possible that Apple changed something in releases of OS X since I wrote my qlgenerator or that subsequent versions of SketchUp associate the skp files with a different system id. There was so little interest expressed at the time that I haven't bothered to maintain it. I've since moved on to macOS 10.13.2, which might also behave differently than your OS. Plus, SketchUp 2018 comes with its own new qlgenerator, which eliminates the need for mine going forward. That said, you could try the ideas below to investigate.
You are using the wrong pattern in grep to search the return from qlmanage. Try qlmanage -m | grep Ske instead and you should see what is handling SketchUp files. If my qlgenerator is correctly installed, you should see entries for dyn.ah62d4rv4ge81g45u and com.sketchup. I had to use these because at the time SketchUp itself wasn't registering anything. The icons will take effect only after you save a file while the plugin is installed, as the plugin is what creates the image used by the icon.
It's been long enough I may have forgotten, but I don't think qlgenerators can be run standalone from the Terminal. They hook into a calling chain where they are fed a file and return an image handle, which doesn't make sense standalone.
You might also check for a folder named .QL_SketchUp in your home folder (things starting with . are hidden by default - in terminal you need to use ls -a to see them). It should exist, be writable, and should contain an image for each skp you have saved since the plugin was installed.
Check your system's log files to see whether you can find anything about quick look errors. Because OS X creates vast numbers of log messages about things that will mean nothing to you, this is somewhat like looking for a needle in a haystack but if you find something it might provide a clue about why it is no longer working.
-
I got it working by changing the plist file
I went on for hours checking and googling stuff. drove me nuts. I even installed Xcode but got to the point where you need to add code which does all the work and look at the folders and files. I didnt know what todo there.
So i went on again looking in other files. Then i noticed that when i changed com.skethup to com.sketchup.skp it does work again.
This is the altered Plist i got.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>BuildMachineOSBuild</key> <string>12C3006</string> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>skp</string> </array> <key>CFBundleTypeRole</key> <string>QLGenerator</string> <key>LSItemContentTypes</key> <array> <string>com.sketchup.skp</string> <string>dyn.ah62d4rv4ge81g45u</string> <string>dyn.ah62d4rv4ge81g45c</string> </array> </dict> </array> <key>CFBundleExecutable</key> <string>SketchUp-Preview</string> <key>CFBundleIdentifier</key> <string>SLBaumgartner.SketchUp-Preview</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>SketchUp-Preview</string> <key>CFBundleShortVersionString</key> <string>1</string> <key>CFBundleVersion</key> <string>1.0</string> <key>CFPlugInDynamicRegisterFunction</key> <string></string> <key>CFPlugInDynamicRegistration</key> <string>NO</string> <key>CFPlugInFactories</key> <dict> <key>36F18F11-EC39-4F93-9C9A-39C5CA341D28</key> <string>QuickLookGeneratorPluginFactory</string> </dict> <key>CFPlugInTypes</key> <dict> <key>5E2D9680-5022-40FA-B806-43349622E5B9</key> <array> <string>36F18F11-EC39-4F93-9C9A-39C5CA341D28</string> </array> </dict> <key>CFPlugInUnloadFunction</key> <string></string> <key>DTCompiler</key> <string></string> <key>DTPlatformBuild</key> <string>4G2008a</string> <key>DTPlatformVersion</key> <string>GM</string> <key>DTSDKBuild</key> <string>12C37</string> <key>DTSDKName</key> <string>macosx10.8</string> <key>DTXcode</key> <string>0452</string> <key>DTXcodeBuild</key> <string>4G2008a</string> <key>LSApplicationCategoryType</key> <string></string> <key>NSHumanReadableCopyright</key> <string>Copyright Β© 2012 Stephen Baumgartner. All rights reserved.</string> <key>QLNeedsToBeRunInMainThread</key> <false/> <key>QLPreviewHeight</key> <real>600</real> <key>QLPreviewWidth</key> <real>800</real> <key>QLSupportsConcurrentRequests</key> <false/> <key>QLThumbnailMinimumSize</key> <integer>16</integer> <key>UTImportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>SketchUp File</string> <key>UTTypeIdentifier</key> <string>com.sketchup.skp</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>skp</string> <string>skb</string> </array> </dict> </dict> </array> </dict> </plist>
So su18 supports finally thumb previews? thats about time
Does it also preview material icons now in material editor? I use thea and has own material library, yet it doesnt take the icon out of the material but shows a texture only
-
Heavy models do take super long to save, is that due to jpg creation?
-
Im baffled, i worked for a while and stopped again. I didnt put all my other ql plugins back and so i did. Then nothing happened again.
Now ive taken all out accept qlsketchup and still nothing is created??
Also thumb generator was working and that as well stopped now. I think ill do a restart orso. -
Not sure whats happening, but removed all other. put them back restart and now it seems to work again... weird stuff
-
@rombout said:
I got it working by changing the plist file
I looked some more, and it seems that SketchUp's own plist files affect what CFBundleDocumentTypes are initially registered for skp files. At some point they went from just com.sketchup to com.sketchup.skp, which necessitates the change you made in my plist.
-
@rombout said:
Heavy models do take super long to save, is that due to jpg creation?
Heavy models can take a long time to save even without the jpg generation, but yes it will slow the save even more. You could get a sense of the impact by exporting the model as a 800x600 2D jpeg image, which is essentially what the plugin does.
Advertisement