• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] UV Toolkit

Scheduled Pinned Locked Moved Plugins
377 Posts 86 Posters 298.7k Views
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.
  • J Offline
    Justo
    last edited by 3 Feb 2011, 11:11

    Hey
    getting this error below;
    Error Loading File tt_uv_toolkit_2.rb
    undefined method `add_item' for nil:NilClass

    Ive got the latest lib in the plugin folder as well
    any help would be appreciated

    Cheers
    Justin

    Cheers
    Justin

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 3 Feb 2011, 11:19

      @justo said:

      Hey
      getting this error below;
      Error Loading File tt_uv_toolkit_2.rb
      undefined method `add_item' for nil:NilClass

      Ive got the latest lib in the plugin folder as well
      any help would be appreciated

      Cheers
      Justin

      I'm guessing you didn't extract it correctly and places all .rb files in the Plugins folder?
      If you look at the bottom of the first post you see an example of the footprint for the files.
      In the plugins folder you should have tt_uv_toolkit_2.rb and a folder TT_UV_Toolkit which contains other .rb files.

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

      1 Reply Last reply Reply Quote 0
      • J Offline
        Justo
        last edited by 3 Feb 2011, 11:27

        i believe they're in the right spots?
        tt_uv_toolkit_2.rb is in plugin folder
        and folder TT_UV_Toolkit contains clipboard, core, memory, and quadface .rb files.
        TT_Lib2 is in plugin folder.

        if it makes a difference, this is the first time ive tried to use this plugin (no older versions)

        Cheers
        Justin

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 3 Feb 2011, 11:38

          hm...

          Ok - do this for me:
          Open the Ruby Console (Window > Ruby Console)

          Type: load 'tt_uv_toolkit_2.rb'
          Post back the full message it reports back.

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

          1 Reply Last reply Reply Quote 0
          • J Offline
            Justo
            last edited by 3 Feb 2011, 11:46

            load 'tt_uv_toolkit_2.rb'
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:59: warning: already initialized constant BB_LEFT_FRONT_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:60: warning: already initialized constant BB_RIGHT_FRONT_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:61: warning: already initialized constant BB_LEFT_BACK_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:62: warning: already initialized constant BB_RIGHT_BACK_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:63: warning: already initialized constant BB_LEFT_FRONT_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:64: warning: already initialized constant BB_RIGHT_FRONT_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:65: warning: already initialized constant BB_LEFT_BACK_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:66: warning: already initialized constant BB_RIGHT_BACK_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:68: warning: already initialized constant BB_CENTER_FRONT_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:69: warning: already initialized constant BB_CENTER_BACK_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:70: warning: already initialized constant BB_CENTER_FRONT_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:71: warning: already initialized constant BB_CENTER_BACK_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:73: warning: already initialized constant BB_LEFT_CENTER_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:74: warning: already initialized constant BB_LEFT_CENTER_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:75: warning: already initialized constant BB_RIGHT_CENTER_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:76: warning: already initialized constant BB_RIGHT_CENTER_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:78: warning: already initialized constant BB_LEFT_FRONT_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:79: warning: already initialized constant BB_RIGHT_FRONT_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:80: warning: already initialized constant BB_LEFT_BACK_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:81: warning: already initialized constant BB_RIGHT_BACK_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:83: warning: already initialized constant BB_LEFT_CENTER_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:84: warning: already initialized constant BB_RIGHT_CENTER_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:85: warning: already initialized constant BB_CENTER_FRONT_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:86: warning: already initialized constant BB_CENTER_BACK_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:87: warning: already initialized constant BB_CENTER_CENTER_TOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:88: warning: already initialized constant BB_CENTER_CENTER_BOTTOM
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:90: warning: already initialized constant BB_CENTER_CENTER_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:91: warning: already initialized constant BB_CENTER
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:96: warning: already initialized constant MB_ICONHAND
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:97: warning: already initialized constant MB_ICONSTOP
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:98: warning: already initialized constant MB_ICONERROR
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:99: warning: already initialized constant MB_ICONQUESTION
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb💯 warning: already initialized constant MB_ICONEXCLAMATION
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:101: warning: already initialized constant MB_ICONWARNING
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:102: warning: already initialized constant MB_ICONASTERISK
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:103: warning: already initialized constant MB_ICONINFORMATION
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:104: warning: already initialized constant MB_ICON_NONE
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:106: warning: already initialized constant MB_DEFBUTTON1
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:107: warning: already initialized constant MB_DEFBUTTON2
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:108: warning: already initialized constant MB_DEFBUTTON3
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:109: warning: already initialized constant MB_DEFBUTTON4
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:120: warning: already initialized constant VERSION
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:124: warning: already initialized constant V_MAJOR
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:128: warning: already initialized constant V_MINOR
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:132: warning: already initialized constant V_REV
            Error: #<NoMethodError: undefined method add_item' for nil:NilClass> D:/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb:27 D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:213:in require'
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:213
            D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:212:in each' D:/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb:212 D:/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb:27:in require'
            D:/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb:27
            (eval):58:in `load'
            (eval):58

            Cheers
            Justin

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 3 Feb 2011, 12:04

              😲 😕
              I'm not making any sense out of this.

              
              Error; #<NoMethodError; undefined method `add_item' for nil;NilClass>
              D;/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb;27
              D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;213;in `require'
              D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;213
              D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;212;in `each'
              D;/Applications/Google/Google Sketchup 8/Plugins/TT_Lib2/core.rb;212
              D;/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb;27;in `require'
              D;/Applications/Google/Google Sketchup 8/Plugins/tt_uv_toolkit_2.rb;27
              (eval);58;in `load'
              (eval);58
              
              

              tt_uv_toolkit_2.rb doesn't have any add_item at line 27. ...it doesn't have any .add_item at all.
              Nor do I understand the backtrace why TT_Lib2/core.rb is referred... It looks like it throws an error while loading TT_Lib2, but also that doesn't use .att_item.

              😢 😕

              Just to be sure: you installed UV Toolkit 2.1.0 and TT_Lib2 2.4.0 ?
              Can I see a screenshot of your TT_Lib2 folder? (And your Plugins folder? (Maybe there's a conflict somewhere...) )

              What OS do you use? If Windows, have you got an User or Administrator account? UAC enabled?

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

              1 Reply Last reply Reply Quote 0
              • J Offline
                Justo
                last edited by 3 Feb 2011, 12:17

                Yup they are the latest versions... I downloaded them from your links only a few hours ago.
                Is it worth trying an older version?

                anyways I'll have to get back to you about the screenshot... past my bedtime and ill be away for a few days.

                Thanks anyways for your help.

                Cheers
                Justin

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 3 Feb 2011, 12:20

                  @justo said:

                  Is it worth trying an older version?

                  No.
                  But did you update TT_Lib2? If so, did you remove the old TT_Lib2 first?

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

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Justo
                    last edited by 3 Feb 2011, 12:28

                    Sorry to waste your time...
                    Just had a thought, I remember I didnt have the 2.4 Lib (any) installed before I had the uv toolkit in there...
                    So I just deleted both the folders and the toolkit.rb and re extracted both in... all sorted.
                    😒
                    Cheers
                    Justin

                    Cheers
                    Justin

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 3 Feb 2011, 12:39

                      Ah - good to hear it's working again.

                      (btw - update to both is coming in a day or two. 😉 )

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

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Gaieus
                        last edited by 3 Feb 2011, 12:56

                        @thomthom said:

                        (btw - update to both is coming in a day or two. 😉 )

                        How about that UV copy > paste function then? 🎉

                        Gai...

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 3 Feb 2011, 12:59

                          @gaieus said:

                          @thomthom said:

                          (btw - update to both is coming in a day or two. 😉 )

                          How about that UV copy > paste function then? 🎉

                          Not from one mesh to another, no. 😞

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

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gaieus
                            last edited by 3 Feb 2011, 13:02

                            😢
                            Any time later? 😒

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 3 Feb 2011, 13:12

                              @gaieus said:

                              😢
                              Any time later? 😒

                              Absolutely. I just need to get these releases out. I kept on adding more and more features - never get anything release like that.
                              Smaller more often releases - what I'll be trying to do.

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

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Gaieus
                                last edited by 3 Feb 2011, 13:25

                                😍

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 5 Feb 2011, 19:55

                                  Version 2.2.0

                                  • UV Memory stores backside
                                  • UV Memory cleans up UV data
                                  • UV Memory toolbar buttons
                                  • UV Memory fixes
                                  • UV Clipboard supports multiple copy
                                  • Extension support

                                  Remember to update TT_Lib2

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

                                  1 Reply Last reply Reply Quote 0
                                  • R Online
                                    Rich O Brien Moderator
                                    last edited by 5 Feb 2011, 19:59

                                    Your on a roll 👍

                                    Download the free D'oh Book for SketchUp

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Gaieus
                                      last edited by 5 Feb 2011, 20:59

                                      ThomThom,

                                      I cannot get it to work on that dome I sent you. In fact, the copy and paste buttons remain greyed out no matter what I do. 😢

                                      TT_Lib also updated correctly.


                                      UVToolkit.jpg

                                      Gai...

                                      1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        Gaieus
                                        last edited by 5 Feb 2011, 21:02

                                        Hm. It works only on quads?

                                        Gai...

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 5 Feb 2011, 21:20

                                          @gaieus said:

                                          Hm. It works only on quads?

                                          Yes, that feature is only quads. It's not the UV copy/paste for meshes as you want. That will come at a later release.
                                          This version is to copy the UV mapping of one quad face onto another quadface - keeping the UVs relative to the shape of the quads.

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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 13
                                          • 18
                                          • 19
                                          • 11 / 19
                                          11 / 19
                                          • First post
                                            217/377
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement