Sketchup icon does not shows in Mac finder.
-
@driven said:
the reason the two icons are different is Finder is trying to guess what the files are...
both contain binary and text
for the windows file it is being seen as a binary file
for the mac the text will have mac line endings and is being seen as a unknown text filejohn
John, you may have enlightened me about a strange effect I have noticed on my Mac: when I download a skp that someone created on Windows, it displays with the SketchUp via Parallels icon instead of the native Mac icon - despite the fact that I have set Open With to use the Mac SketchUp and double-clicking it will open it natively on the Mac! Finder and open appear to have independent ideas!
Steve
-
hey Steve
fwiw, the icons always look the same to me regardless of being created on mac or windows.
but then again, i don't have parallels installed (assuming you do?)@Amar..
maybe a silly question but just checking.. do you have sketchup installed on your mac? -
@jeff hammond said:
hey Steve
fwiw, the icons always look the same to me regardless of being created on mac or windows.
but then again, i don't have parallels installed (assuming you do?)Hi Jeff,
Yes, I have Windows 7 installed under Parallels on my Mac, and I have SketchUp Make 2015 installed on Parallels. I use this to test whether plugins I write will work on both platforms. So that's where Mac OS got the icon from. What's weird is that Finder displays a Windows-originated skp with the Parallels version of the icon even if Parallels is not currently running, and double-click a skp from any source launches Mac SketchUp, not Parallels. Of course, I regard this as a Mac OS issue, not SketchUp.
Steve
-
hi to all...
what do two show in Finder after downloading?
zipped...
renamed so wont clash with zip...
they should both show a real icon, unless the forum strips the mac resource fork...
after download in coverflow...
john -
@driven said:
hi to all...
what do two show in Finder after downloading?
-
@driven said:
hi,
the next thing to try is resetting 'Finder', one way is to 'quit' from Finder menu then reopen it...some questions:
do they work when double clicked?
which version of OS X?
can you update to SU v15? [it's better than v13]the reason the two icons are different is Finder is trying to guess what the files are...
both contain binary and text
for the windows file it is being seen as a binary file
for the mac the text will have mac line endings and is being seen as a unknown text filejohn
Hey John,
I am using the latest release os OSX i.e Yosemite and i am already on SU 15.
Also sketchup is set as my default application to open all my .skp files.
I tried increasing the size of the preview icon from view option in mac i.e frm 64px x 64px to some 124px to 124px and the sketchup icon started showing but again when i had gone back to 64px is showed me as blank.
It is not showing only in thumbnail preview and other than thumbnail preview all the view options shows the icon correctly.
Also to make a diffrence between files saved on mac and windows, mac saved the file with hidden extensions property hence it is showing as blank but when we save our files on windows pc the defualt extension option is set to visible, hence both the icon appear diffrent in the preview but ya when i increase the size of the preview icon i.e from thumbnail to other such as column or something both the icon appear correctly.
May be there is some problem with mac finding the icons of smaller pixels.
-
@jeff hammond said:
hey Steve
fwiw, the icons always look the same to me regardless of being created on mac or windows.
but then again, i don't have parallels installed (assuming you do?)@Amar..
maybe a silly question but just checking.. do you have sketchup installed on your mac?Yup i have sketchup installed on my mac and i dont hav any virtual desktop software on my mac.
-
You can see what I mean about the Parallels icon.
-
@amarv91, can you see the icon from the zipped skp I posted?
@jeff, cheers
@steve. that is odd, it's certainly not a windows generated skp...
what does
xattr -l <path_to_file>
show for that file...
I'll see if I can find how I fixed it when I used Parallels, I did have that issue at some stage.john
-
@steve
I think it was this as I have an old bookmark for it...
http://kb.parallels.com/en/4718don't know if it's still relevant...
-
@driven said:
@steve. that is odd, it's certainly not a windows generated skp...
what does
xattr -l <path_to_file>
show for that file...
steves-macbook:Downloads steve$ xattr -l icon_test_raw.skp
com.apple.metadata:kMDItemDownloadedDate:
00000000 62 70 6C 69 73 74 30 30 A1 01 33 41 BA 2C E7 5E |bplist00..3A.,.^|
00000010 71 6F 65 08 0A 00 00 00 00 00 00 01 01 00 00 00 |qoe.............|
00000020 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 13 |.....|
00000035
com.apple.metadata:kMDItemWhereFroms:
00000000 62 70 6C 69 73 74 30 30 A2 01 02 5F 10 3B 68 74 |bplist00....;ht|
00000010 74 70 3A 2F 2F 73 6B 65 74 63 68 75 63 61 74 69 |tp://sketchucati|
00000020 6F 6E 2E 63 6F 6D 2F 66 6F 72 75 6D 73 2F 64 6F |on.com/forums/do|
00000030 77 6E 6C 6F 61 64 2F 66 69 6C 65 2E 70 68 70 3F |wnload/file.php?|
00000040 69 64 3D 31 32 35 39 37 30 5F 10 3A 68 74 74 70 |id=125970.:http|
00000050 3A 2F 2F 73 6B 65 74 63 68 75 63 61 74 69 6F 6E |://sketchucation|
00000060 2E 63 6F 6D 2F 66 6F 72 75 6D 73 2F 76 69 65 77 |.com/forums/view|
00000070 74 6F 70 69 63 2E 70 68 70 3F 66 3D 37 39 26 74 |topic.php?f=79&t|
00000080 3D 36 30 31 30 37 08 0B 49 00 00 00 00 00 00 01 |=60107..I.......|
00000090 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 |................|
000000A0 00 00 00 00 00 00 00 00 86 |.........|
000000a9
com.apple.quarantine: 0002;547cafde;Safari;9E1D94FE-013C-4742-B929-996591069EE1 -
not much help...
maybe mdls will bare fruit...mdls icon_test_raw.skp
-
@amarv91 said:
Yup i have sketchup installed on my mac and i dont hav any virtual desktop software on my mac.
if you double-click on one of those icons, does the file open in sketchup?
-
steves-macbook:Downloads steve$ mdls icon_test_raw.skp
kMDItemContentCreationDate = 2014-12-01 16:07:22 +0000
kMDItemContentModificationDate = 2014-12-01 16:07:22 +0000
kMDItemContentType = "dyn.ah62d4rv4ge81g45u"
kMDItemContentTypeTree = (
"public.data",
"public.item"
)
kMDItemDateAdded = 2014-12-01 18:13:50 +0000
kMDItemDisplayName = "icon_test_raw.skp"
kMDItemDownloadedDate = (
"2014-12-01 18:13:50 +0000"
)
kMDItemFSContentChangeDate = 2014-12-01 16:07:22 +0000
kMDItemFSCreationDate = 2014-12-01 16:07:22 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "icon_test_raw.skp"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 14847
kMDItemFSTypeCode = ""
kMDItemKind = "SketchUp Document"
kMDItemLogicalSize = 14847
kMDItemPhysicalSize = 16384
kMDItemWhereFroms = (
"http://sketchucation.com/forums/download/file.php?id=125970",
"http://sketchucation.com/forums/viewtopic.php?f=79&t=60107"
)Comparing that with the same command on one of my Mac-created skp's, nothing jumps out at me...a mystery!
-
a bit off topic but since sketchup is now 64bit, shouldn't we be able to get preview thumbnails out of sketchup itself?
as in- Trimble could/should make some sort of QLgenerator (or whatever the applicable set up would be)? -
the preview is in there but it's a tiny raster image...
I think it should be possible to create a 3d preview for quicklook... -
was just thinking they could update it to give 512px (at least) preview icons with the view of the model when the file is saved/closed being the icon view. rhino works like that and it's pretty sweet.
idk, sometimes I wonder if the reasoning is because Trimble doesn't want to do it (for whatever reason) or if they just don't have the resources to work on things like that.
-
@jeff hammond said:
a bit off topic but since sketchup is now 64bit, shouldn't we be able to get preview thumbnails out of sketchup itself?
as in- Trimble could/should make some sort of QLgenerator (or whatever the applicable set up would be)?Not really off topic, Jeff, since icons and quick looks are very tightly entangled. I have long wondered why @Last, then Google, and now Trimble have not bothered to write one - especially since they added a thumbnail system for Windows as of SU 2015.
This really has nothing to do with 32- vs 64-bit SketchUp, it depends only on whether the app either embeds a thumbnail image you can use or an automation interface you can query to get a thumbnail. A Mac SketchUp file has an undocumented embedded thumbnail, but the last time I checked it was at a pathetic resolution (I think it was either 64x64 or 128x128) that made a blurry mess out of most models. SketchUp does not provide any external query mechanism by which to retrieve a thumbnail.
A few years ago I wrote a ruby and QLgenerator that work together to save and then display a higher-resolution quicklook. The main downside is that the ruby saves an image each time a file closes, which makes closing a complex model slow. It could not attach the image directly to the file, which means the thumbnail is lost if you send the file anywhere else. That's part of what John addressed with his icon approach, since the icon lives in the Resource Fork of the skp file, and is lost only during transfers that strip the resource fork.
Someday when I have nothing to do (!) I plan to investigate whether the SketchUp SDK could be used to write a QLgenerator that would read the file, create an image on the fly, and display it. That might be slow, but it would otherwise be the best solution.
steve
Steve
-
@jeff hammond said:
...with the view of the model when the file is saved/closed being the icon view. rhino works like that and it's pretty sweet.
mine can be very easily modified to do that, but it's something I didn't want...
the main reason was I always save the document based on what I just drew, which might not represent the model very well.
I think of them more like a poster-frame on a .mov where you frame what you want and apply it as an icon.
an on-close overwrite would take away my choice...Trimble have two engines that they could exploit for better previews...
one is Apples DAE quicklook generator
the other is the system used for 3d Warehouse that could be hosted locally and feed the html to quicklook...I would image either solution will only be explored if windows has similar possibilities...
john
-
In case any Mac users were following this topic and wondered why I was getting that icon, I found the answer: when two apps both register for the same file UTI, Finder uses the icon for the most recently installed one. I had installed SketchUp 2015 on Windows in Parallels and let Parallels make it visible in Mac mode. I did this after installing the native Mac version, so Finder chose the Windows icon. Touching the native Mac app to give it a more recent timestamp fixed the problem.
Steve
Advertisement