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

    [Plugin] CleanUp

    Scheduled Pinned Locked Moved Plugins
    974 Posts 217 Posters 788.6k Views 217 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.
    • D Offline
      driven
      last edited by

      hi Thomas,

      i'm getting path errors in safari
      Not allowed to load local resource:file:///Library/Application%20Support/Google%20SketchUp%208/SketchUp/Plugins/TT_Lib2/webdialog/css/ui.css

      note: I can run selection toy WD with it's path

      <script type="text/javascript" src="js/base.js"></script>
      

      I can't fathom your interface enough to switch paths...

      has anyone had it [cleanup3] all working on a mac? [I am using the dev version of safari]

      cheers
      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
      • thomthomT Offline
        thomthom
        last edited by

        @spookychick1013 said:

        Late Edit: Something bitslapped said got me thinking, and so I UNchecked "Merge Identical Materials". When I ran CleanUp with MergeIdenticalMaterials NOT checked, Cleanup ran fine; So I am wondering at this point if the problem is with that part of the plugin.

        I'll have a look next week. But are you sure you have the very latest CleanUp and TT_Lib?

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          @driven said:

          hi Thomas,

          i'm getting path errors in safari
          Not allowed to load local resource:file:///Library/Application%20Support/Google%20SketchUp%208/SketchUp/Plugins/TT_Lib2/webdialog/css/ui.css

          note: I can run selection toy WD with it's path

          <script type="text/javascript" src="js/base.js"></script>
          

          I can't fathom your interface enough to switch paths...

          has anyone had it [cleanup3] all working on a mac? [I am using the dev version of safari]

          cheers
          john

          I got a mac at home I test on - CleanUp should work.
          ...what OSX version do you have?

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            @driven said:

            i'm getting path errors in safari
            Not allowed to load local resource:file:///Library/Application%20Support/Google%20SketchUp%208/SketchUp/Plugins/TT_Lib2/webdialog/css/ui.css

            Can you post a screenshot of this error? When does it appear?

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

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

              I'm still on 10.5.8, but safari 5.0.6 is the pre-release for the next safari and it stops Fredo's updater from checking here for updates, but I haven't had any local file errors from anything else, and sellectionToys works...

              dev version of safari 5.0.6 is stricter

              EDIT: checked on my macbook and it's OK for now...
              The dev version of safari is a preview for safari 6, so soon everyone will have this issue...
              is it possible to use the same paths as selection toys, because they work on both.

              BTW... I modded the ui.css for nicer IMHO mac scrollbars
              safari 5.0.3 on macbook OSX10.5.8

              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
                SpookyChick1013
                last edited by

                @thomthom said:

                I'll have a look next week. But are you sure you have the very latest CleanUp and TT_Lib?

                Yeah. I wondered myself if I really had DL'ed and installed it, but I do have it. Freshly downloaded and installed, just to see if that would fix the problem. Seems to have cropped up since I originally updated to this latest version.

                https://kuromatsudriveyards.com

                Fo-su to tomo ni aran koto o...

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  Driven: I have no idea why it says it is not allowed to load any local resource... I hope it's a bug in that beta version.
                  (btw - how did you edit the mac scrollbars? I thought only IE allowed that to be changed...)

                  Spooky & Driven: I won't be able to look into this until next week - when my vacation is over.

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

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

                    @thomthom said:

                    I hope it's a bug in that beta version.

                    just did some checking and it's not a bug or a beta,
                    it's now the current update with new security 'features'...
                    5.0.6 for Leopard or 5.1 for Snow and Lion,
                    anyone with auto update will already have this as well, there are no changes since the pre-release...

                    @thomthom said:

                    (btw - how did you edit the mac scrollbars? I thought only IE allowed that to be changed...)
                    Webkit psuedo elements, here's a link with detailshttp://css-tricks.com/9130-custom-scrollbars-in-webkit/
                    I did a close[ish] match for Selection Toys
                    by dropping this into ui.css

                    ;;-webkit-scrollbar
                    {
                        width; 12px;
                    }
                    
                     ;;-webkit-scrollbar-thumb
                    { 
                        background; rgba(255, 255, 255, .25);
                        border; solid 1px rgba(0, 0, 0, .25); 
                    }
                    ;;-webkit-scrollbar-thumb;vertical,{
                    }
                    
                    ;;-webkit-scrollbar-thumb;hover
                    {
                       background-color; rgba(0, 255, 0, .25);
                       border; solid 1px rgba(0, 0, 0, .25);
                    }
                    
                    ;;-webkit-scrollbar-track-piece
                    {
                        background; rgba(0, 0, 0, .05);
                        border;none;
                        border-left; solid 1px rgba(255, 255, 255, .1);
                    }
                    
                    ;;-webkit-scrollbar-corner
                    {
                        display; none;
                    }
                    

                    for Cleanup I just dropped in the version I use as a Safari alternate CSS,

                    /* blendin mods */
                    
                    ;;-webkit-scrollbar
                    {
                        width; .5em;
                        height; .5em;
                    }
                    
                     ;;-webkit-scrollbar-thumb
                    {
                        background;  transparent; 
                        -webkit-border-radius; 1em;
                        border; solid 1px rgba(0, 0, 0, .05);
                        background; -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, .25)), to(rgba(0, 0, 0, .25))); 
                       
                    }
                    ;;-webkit-scrollbar-thumb;vertical,{
                    }
                    
                    ;;-webkit-scrollbar-thumb;hover
                    {
                    background-color; rgba(0, 255, 0, .5);
                    }
                    
                    ;;-webkit-scrollbar-button;start;decrement, ;;-webkit-scrollbar-button;end;increment
                    {
                        display; block;
                        height; .5em;
                        width; .5em;
                        -webkit-border-radius; 1em;
                        background; rgba(0, 0, 0, .05);
                        border; solid 1px rgba(0, 0, 0, .05);
                    }
                    
                    ;;-webkit-scrollbar-track-piece
                    {
                        background; rgba(0, 0, 0, .05);
                        display; block;
                        margin; .5em;
                        -webkit-border-radius; 1em;
                        border; solid 1px rgba(0, 0, 0, .05);
                    }
                    
                    ;;-webkit-scrollbar-corner
                    {
                        display; none;
                    }
                    /* end of blendin mods */
                    

                    you can set them here for Safari, WebDialogs need the css includedon all websites, iFrames can be flakey...

                    have a good vacation

                    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
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @driven said:

                      @thomthom said:

                      I hope it's a bug in that beta version.

                      just did some checking and it's not a bug or a beta,
                      it's now the current update with new security 'features'...
                      5.0.6 for Leopard or 5.1 for Snow and Lion,
                      anyone with auto update will already have this as well, there are no changes since the pre-release...

                      Ah pooh! Cursed - now I got to dig into this new ... thing - whatever it is. Thanks for reporting though.

                      And thanks for the webkit CSS tip. 👍 👍

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by

                        Something's up with this .skp?

                        uninitialized constant TT;;Sketchup
                        
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;456;in `cleanup!'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;442;in `show_cleanup_ui'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;161;in `call'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;161;in `initialize'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;144;in `call'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;144;in `close'
                        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;144;in `initialize'
                        

                        TT_CleanUp_Error.skp

                        Download the free D'oh Book for SketchUp 📖

                        1 Reply Last reply Reply Quote 0
                        • Rich O BrienR Offline
                          Rich O Brien Moderator
                          last edited by

                          Actually getting this on any file?

                          Download the free D'oh Book for SketchUp 📖

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @unknownuser said:

                            Actually getting this on any file?

                            Yer CleanUp is out of date!

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • Rich O BrienR Offline
                              Rich O Brien Moderator
                              last edited by

                              Yer dead right 👍

                              I'd forgotten I'd updated TT_Lib2 with Quad Tools. My bad.

                              Download the free D'oh Book for SketchUp 📖

                              1 Reply Last reply Reply Quote 0
                              • thomthomT Offline
                                thomthom
                                last edited by

                                Ye!

                                Thomas Thomassen — SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  wrc86
                                  last edited by


                                  http://img580.imageshack.us/img580/8752/capturadepantalla201108ft.th.png

                                  it's not working for me, it doesn't show any error when I start SU
                                  It just to work with my old OS, now I'm working with OS X LION

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    @wrc86 said:


                                    http://img580.imageshack.us/img580/8752/capturadepantalla201108ft.th.png

                                    it's not working for me, it doesn't show any error when I start SU
                                    It just to work with my old OS, now I'm working with OS X LION

                                    hm... not sure what it could be. with no error message at all.

                                    can you open the Ruby Console before you try to use CleanUp and see if you get any messages there?

                                    Thomas Thomassen — SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

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

                                      This might be a "stupid" question, but how do i install this plugin on sketchup? Because it is an .rb file and i dont know what program to open it?!

                                      Thanks,
                                      Sakika

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

                                        Sakika

                                        You really need to read some help files on general 'basic Plugin installation' 😕

                                        You do not need to 'open' a Ruby .rb file at all [you can open it with a plain-text-editor and read it, as there are often 'notes' at the start, but its main contents might not be very easy to understand!].
                                        You simply put the .rb file into the ../Sketchup../Plugins folder [there's a folder tree diagram].
                                        Note that this particular tool also needs a 'TT_Lib2' - there's a link to get it on the tool's first 'download' page - this is a zipped folder of extra 'helper' files. The folder goes into Plugins with its files still inside it [there's a folder tree diagram to help you too] - Note: never move files out of these subfolders as it will break things! You then need to restart Sketchup to get everything operating.

                                        The new tool will become available to you as explained in its installation/usage note... For this tools there's some 'Access' instructions and a screenshot of the menu item you should see...

                                        TIG

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

                                          Thanks for ur help TIG

                                          I really Apreciate it!

                                          Sakika

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            bonobomidwest
                                            last edited by

                                            Thanks man. This was a HUGE help.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 18
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 48
                                            • 49
                                            • 20 / 49
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement