sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

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

    Scheduled Pinned Locked Moved Plugins
    47 Posts 8 Posters 10.7k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      greatoe
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        @greatoe said:

        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

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

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by

          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

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

          1 Reply Last reply Reply Quote 0
          • jojo9J Offline
            jojo9
            last edited by

            😄
            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

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              @jojo9 said:

              😄
              luxurious way to add icons…nice one!

              cheers, I got sick of waiting for native icons...
              @unknownuser said:

              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...
              @unknownuser said:

              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...
              @unknownuser said:

              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

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

              1 Reply Last reply Reply Quote 0
              • S Offline
                sketchuh
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sketchuh
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    driven
                    last edited by

                    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

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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sketchuh
                      last edited by

                      yes john!

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

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sketchuh
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          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...

                          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

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

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sketchuh
                            last edited by

                            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?

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              driven
                              last edited by

                              @sketchuh said:

                              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

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

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                driven
                                last edited by

                                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

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

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  greatoe
                                  last edited by

                                  @driven said:

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    greatoe
                                    last edited by

                                    @driven said:

                                    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? 😄 😄

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      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...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                      • 2
                                      • 3
                                      • 1 / 3
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement