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

    [Plugin] TT_Lib²

    Scheduled Pinned Locked Moved Plugins
    310 Posts 66 Posters 394.3k Views 66 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.
    • tt_suT Offline
      tt_su
      last edited by

      After that message there should be an Explorer window opening, which is contains the Virtual Store files. Note the full file path in the address bar. Those files should be in the real Plugins folder.

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

        Sorry - new core.rb problem here:

        Having 'inherited' some large, complex and badly-built SU models, I need a way to clean them up without resorting to a dozen partial solutions. I've been trying to get TT_cleanup to work, but I'm getting the following error when Sketchup starts:

        Error Loading File /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/core.rb
        can't convert nil into StringError Loading File /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2.rb
        can't convert nil into StringError Loading File /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup/core.rb
        can't convert nil into StringError Loading File tt_cleanup.rb
        can't convert nil into String

        I should maybe mention that my Mac is a PPC G4 (there's a lot of us left!) and I'm using the most recent versions of the plugin and library. I'm beginning to wonder if the hardware may be the problem. It is rather old (without being in any sense rickety). This said, I haven't experienced problems with any other plugins (yet).

        But I'm sure someone will know better than me...

        1 Reply Last reply Reply Quote 0
        • tt_suT Offline
          tt_su
          last edited by

          hm.. missing a stacktrace there.

          Can you try these commands in the Ruby Console:

          load 'tt_cleanup.rb'

          load 'tt_cleanup/core.rb'

          ?

          See if you get a more detailed error message?

          Also, what version of TT_Lib and CleanUp do you have installed?

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

            Hi TT

            Thanks for the fast response.

            Here's what the Console gives me:

            load 'tt_cleanup.rb'
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup.rb:20: warning: already initialized constant PLUGIN_ID
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup.rb:21: warning: already initialized constant PLUGIN_NAME
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup.rb:22: warning: already initialized constant PLUGIN_VERSION
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup.rb:25: warning: already initialized constant FILENAMESPACE
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup.rb:26: warning: already initialized constant PATH_ROOT
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup.rb:27: warning: already initialized constant PATH
            true

            load 'tt_cleanup/core.rb'
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2.rb:19: warning: already initialized constant PLUGIN_ID
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2.rb:20: warning: already initialized constant PLUGIN_NAME
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2.rb:21: warning: already initialized constant PLUGIN_VERSION
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/system.rb:16: warning: already initialized constant PLATFORM_IS_OSX
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/system.rb:19: warning: already initialized constant PLATFORM_IS_WINDOWS
            Error: #<TypeError: /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/system.rb:22:in expand_path': can't convert nil into String> /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup/core.rb:11 /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/system.rb:22 /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/core.rb:10:in require'
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/TT_Lib2/core.rb:10
            /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup/core.rb:10:in require' /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/tt_cleanup/core.rb:10 (eval):155:in load'
            (eval):155

            The versions installed are:

            Cleanup 3.2.0
            TT Lib 2.9.8

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

              Oh, I forgot to come back to this issue. Is it still an issue or have you found a way to resolve it?

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

                Hi Thomas. Thanks for getting back to me. I now have a working setup but only on my Mac at work. it's an Intel Mac Mini running 10.5.8 and I'm using SU7, TT_Cleanup 3.2.1 with TT_Lib 2.7.1. I tried 2.7.0, 2.8.3 and 2.9.8 before this and none of them worked. On my home computer, a G4 desktop running 10.4.11, no combination of TT_Cleanup and TT_Lib will work. I've tried them all (many times). Do you have any suggestions? Thanks.

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

                  Further to my earlier post:

                  1. I now have a working setup on a 10.5.8 partition on my home Mac, using TT_Cleanup 3.2.1 and TT_Lib2 2.7.1 (the same setup as my Mac at work). I haven't tried every possible combination, but 2.9.8 definitely won't work. Having to use a separate partition is obviously not ideal, but it's a workround - a pity all my other stuff is on the main partition (running 10.4.11).

                  2. I now have a working setup on the main partition using Cleanup 2.0.0. which of course requires no TT_Lib. Again not ideal, but it's a workround.

                  It appears that the operating system may be the problem. Is there a way to get the more recent versions of TT_Cleanup and TT_Lib2 to run on OSX 10.4.11? If not, what is the most recent version of TT_Cleanup that will run on 10.4.11 (with or without TT_Lib)?

                  Trouble is, Cleanup3 is such an advance on 2 that I may have to consider upgrading the main partition just to get the benefits!

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

                    10.4...hmm... been a long time since I used that. I think I have an old G4 Mac Mini somewhere. Though not sure if it's alive.
                    And what's the latest SketchUp version you can run on 10.4? (Guess I should know this.... :s)

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

                      I knew you'd say that :OD

                      On 10.4 the latest version of Sketchup is 7. Leopard can use 8.

                      1 Reply Last reply Reply Quote 0
                      • ssokolS Offline
                        ssokol
                        last edited by

                        ThomThom , thank you for your great plugins!
                        I use Sketchup 2014 on Win8.1 and I have problem. I installed your current plugins but error appear. I had simillar problem with other plugins but I resolved this by creating other plugin folder without polish letters. But if moved your plugins to this folder it doesn't work. please help.Thank you.
                        Error below:

                        Error Loading File C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb
                        Error: #<IOError: Path not found>
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/c_extension_manager.rb:49:in initialize' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:124:in new'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:124:in <module:Lib>' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:110:in module:TT'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:20:in <top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require'
                        C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2.rb:40:in register_extension'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2.rb:40:in <module:Lib>' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2.rb:14:in module:TT'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2.rb:13:in <top (required)>' Error Loading File C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools/core.rb Error: #<IOError: Path not found> C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/c_extension_manager.rb:49:in initialize'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:124:in new' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:124:in module:Lib'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:110:in <module:TT>' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/core.rb:20:in <top (required)>'
                        C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools/core.rb:10:in <top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require'
                        C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools.rb:39:in register_extension'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools.rb:39:in <module:MaterialTools>' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools.rb:15:in module:Plugins'
                        C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools.rb:14:in <module:TT>' C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_material_tools.rb:13:in <top (required)>'

                        Thanks for help!

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

                          @skpudden said:

                          I knew you'd say that :OD

                          On 10.4 the latest version of Sketchup is 7. Leopard can use 8.

                          Right, I would need to poke around in dark corners to see if I can find the hardware to reproduce this. To be honest - I haven't tested my plugins on SU7 for a long time...

                          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

                            @ssokol said:

                            ThomThom , thank you for your great plugins!
                            I use Sketchup 2014 on Win8.1 and I have problem. I installed your current plugins but error appear. I had simillar problem with other plugins but I resolved this by creating other plugin folder without polish letters. But if moved your plugins to this folder it doesn't work. please help.Thank you.

                            Non-english characters should not be a problem in SU2014 any more as we updated the Ruby interpreter to version 2.0 that should handle Unicode.

                            Can you give me a screenshot of the content of:
                            C:/Users/Stanisław/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2/

                            There should be a 'libraries' folder containing a 'stage' folder:
                            2014-03-04_11h27_34.png

                            Do you find that?

                            Also what is the content of the 'stage' folder?

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

                              @thomthom said:

                              I haven't tested my plugins on SU7 for a long time...

                              I'm giving serious consideration to upgrading my home rig to 10.5.8 (which is as far as it can go). It would have a number of benefits (not the least of which would be the ability to use Cleanup3!). There would also be a few drawbacks, but I suppose these could be alleviated by keeping a 10.4 partition (mainly for for Classic apps - yes, I still use OS9 sometimes). Thank you for looking into this, and if you feel like having a look, please do. But I can manage with version 2 for now.

                              1 Reply Last reply Reply Quote 0
                              • X Offline
                                xjhossef
                                last edited by

                                Hi Thomthom

                                I really appreciate your great plugins.

                                since installing the new tt_lib2. I get this error and it is not installed, only when I open the already saved files but when I open sketchup 2014 as a new document is normally installed
                                :C

                                Link Preview Image

                                1 Reply Last reply Reply Quote 0
                                • tt_suT Offline
                                  tt_su
                                  last edited by

                                  Are you using the first release of SketchUp 2014? If so, please update to maintenance release 1.

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

                                    @tt_su said:

                                    Are you using the first release of SketchUp 2014? If so, please update to maintenance release 1.

                                    We were having the same problem as xjhossef. Couldn't figure out what it was because it worked on one half of the computers but not the other.

                                    Looks like IT didn't update the half w/ the problem to maintenance release 1.

                                    Thanks for the heads up ThomThom!

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jemoto
                                      last edited by

                                      Thanks for all the great work. I have a problem installing TT_Lib2 and Bezier Surface to my Sketchup 2013, actually on two different computers, one running W7 32-bit and one running W8 64-bit. The error messages are the same. I am told TT_Lib is not installed although it is listed under extensions, and then I get the following error messages in the Ruby Console:

                                      Error Loading File C:/Program Files/SketchUp/SketchUp 2013/Plugins/TT_Lib2/core.rb
                                      5: Access is denied. - C:/Users/Anybody/AppData/Local/Temp/TT_Lib2.rb/2.9.15/1.8/win32/tt_lib2.so
                                      Error Loading File C:/Program Files/SketchUp/SketchUp 2013/Plugins/TT_Lib2.rb
                                      5: Access is denied. - C:/Users/Anybody/AppData/Local/Temp/TT_Lib2.rb/2.9.15/1.8/win32/tt_lib2.so
                                      Error Loading File C:/Program Files/SketchUp/SketchUp 2013/Plugins/tt_bezier_surface/core.rb
                                      uninitialized constant TT::Version
                                      Error Loading File tt_bezier_surface.rb
                                      uninitialized constant TT::Version

                                      Do you have any idea what causes this? I have searched the net, but without success.

                                      1 Reply Last reply Reply Quote 0
                                      • tt_suT Offline
                                        tt_su
                                        last edited by

                                        How are you installing the extension?
                                        Are you using a User or Administrator account?

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jemoto
                                          last edited by

                                          I am using a User account (supposedly with administrator privileges), and I suspected that could have something to do with it. I just tried to install under a "real" administrator account, and then it works. Only problem now is that I cannot invoke the "Create Quadpatch" icon, but it is in the Draw menu, so not a big deal.

                                          Thanks a lot for your help!

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            Pherim
                                            last edited by

                                            Hello,

                                            I just installed CleanUp v3.3.1, Solid Inspector 2.4.3, and TT Library 2.10.2 and now ThomThom's Menu doesn't work any more, apparently. Only PickIt remains in the Menu, all other plugins are scattered around the Extensions Menu, which also breaks some of my Shortcuts.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 14 / 16
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement