[Plugin] Add Icons [for all SU files on mac]

Re: [Plugin] Add Icons [for all SU files on mac]

Postby greatoe » Sat Mar 21, 2015 7:11 pm

sorry I didn't read your words carefully.

I removed jbb_layers_panel, no more error message in ruby console.

however the close/open window issue remains:
I paste the code and return
JcB::SetWindowSize::Change.set_2_square and return
SketchUp ask if I want to save my file
no matter yes or no the window is closed
I manually re-open the window, continue with up arrow return, window transform forward and backward works fine afterwards.
0

greatoe 
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Sat Mar 21, 2015 7:21 pm

greatoe wrote:SketchUp ask if I want to save my file
no matter yes or no the window is closed
I manually re-open the window, continue with up arrow return, window transform forward and backward works fine afterwards.


I've been adding a catch for that as well, so it waits for you to save...

got it working for 'Unsaved' just need to add some code for modified ones as well...

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Sun Mar 22, 2015 12:20 am

here's a test version that hopefully deals with the retina and other v15 issues...

set_square and set_printer should both deal with unsaved models or changes, but you then need to re-select the option...
EDIT: removed test file
PM me if you can do any testing and I'll send you a rbz...
john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby jojo9 » Fri Jul 10, 2015 2:57 pm

:D
luxurious way to add icons…nice one!

however, the batch command doesnt work for me…i get the loading image, but this process continues forever. Where looks your plugin for, example, "*.skp" files?
Else, thanks!

oh, i forget : im on Mac 10.7.5, and use Su13 make
0
User avatar
jojo9 
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Sat Jul 11, 2015 1:36 am

jojo9 wrote::D
luxurious way to add icons…nice one!

cheers, I got sick of waiting for native icons...
however, the batch command doesnt work for me…i get the loading image, but this process continues forever.

this is down to me not using v2013 anymore, and not having the time to go back in time to fix it...
Where looks your plugin for, example, "*.skp" files?
In batch mode, it should open a 'Finder' window that lets you look anywhere you want, it is best to target small collections, i.e. if I target 'Downloads' it will try process the 206 files without icons and if any are corrupt files it can crash SU, but I have also done folders with 500+ skps that I've created without any issues...

oh, i forget : im on Mac 10.7.5, and use Su13 make

that is probably the issue, the single mode should work for any SU version, and some people can run batch mode in earlier versions, so it hard to figure out the problem...

I'll try to find some time to revisit...

john
1
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby sketchuh » Thu Dec 24, 2015 8:49 am

like to donate thru paypal. your add icons plugin works. what is your paypal address. u can pm me. Thanks.
0

sketchuh 
Premium Member
Premium Member
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby sketchuh » Thu Dec 24, 2015 9:52 am

i have to resize the sketchup window size to a square , if i want the thumb nail to be square. otherwise, my thumnails are always with red bands. the square button doesn't work.

also, can you change the red color to white or grey? thanks
0

sketchuh 
Premium Member
Premium Member
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Thu Dec 24, 2015 2:26 pm

Hi sketchuh,
are you still on SU v15 , which version of osx do you run and do you have a retina display?

I've been doing some more work on this, but it's not quite ready...

can I PM you some test files?

john
1
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby sketchuh » Fri Dec 25, 2015 8:19 am

yes john!

I am using sketchup 2015 on macbook pro retina 2013. and using the latest os system.
0

sketchuh 
Premium Member
Premium Member
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby sketchuh » Fri Dec 25, 2015 8:21 am

actually, when chose the batch mode, almost all other sktechup files would have square thumb nails, only one that is opened has red bands if the viewport is not square.
0

sketchuh 
Premium Member
Premium Member
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Fri Dec 25, 2015 9:57 am

if you want to change the red to Finder off white, copy/paste this code into 'Ruby Console' and hit Return...
it should work without needing a restart of SU...
Code: Select all
filename = Sketchup.find_support_file("jcb_Add_Icon/Add_icon_logic.rb", 'Plugins')
text = File.read(filename)
content = text.gsub(/ FF0000 /, " e8e9e8 ")
File.open(filename, "w") { |file| file << content }


john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby sketchuh » Sat Dec 26, 2015 1:38 pm

thanks, the red is changed.

just want to confirm do i have to resize the window to square in order to have the thumb nail square?
0

sketchuh 
Premium Member
Premium Member
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Sat Dec 26, 2015 3:07 pm

sketchuh wrote:just want to confirm do i have to resize the window to square in order to have the thumb nail square?


Currently, yes, and I don't know why the 'make square' button only works for some people...

It may be because of Retina or system/SU language used...

I have another way of doing it automatically, which 'batch mode' uses, but need some time to add it in and test...

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby driven » Wed Nov 09, 2016 9:06 pm

Finally SketchUp has added it's own icons for mac with the release of v17...

not the same quality [imho] but it's native and I can finally stop updating this plugin....

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby greatoe » Sat Nov 12, 2016 4:14 am

driven wrote:Finally SketchUp has added it's own icons for mac with the release of v17...

not the same quality [imho] but it's native and I can finally stop updating this plugin....

john



I've been using your plugin for years, thank you very much, John.

It's good that SketchUp can make native icon for mac (again) now but I still prefer yours, which has larger resolution. And I think that 'file' frame in the icons SketchUp produce is useless and screen-landscape-consuming.
0

greatoe 
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby greatoe » Thu Oct 10, 2019 4:40 pm

driven wrote:Finally SketchUp has added it's own icons for mac with the release of v17...

not the same quality [imho] but it's native and I can finally stop updating this plugin....

john



Hi driven,

This plug-in is not working on macOS 10.15 Catalina. Is there a chance that you would like to make a fix? :D :D
0

greatoe 
 

Re: [Plugin] Add Icons [for all SU files on mac]

Postby TIG » Thu Oct 10, 2019 6:36 pm

The latest MAC OS 'Catalina' does not support ANY current SketchUp version.
I know that SketchUp is working hard to release a new compatible update for version 2019 asap.
BUT no earlier versions will ever be made fully compatible.
Some might work, so will not - depending on how you use SketchUp etc.

So having an old Plugin updated seems to be the least of your worries !

Please complete your User-Profile so we know more details about your setup...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: dvd63, Jolivares_, piermario barozzi and 9 guests

Visit our sponsors: