• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[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.
  • M Offline
    mingjae
    last edited by 22 Mar 2012, 07:28

    hello Mr.thomthom

    may i ask, what kind of plane are u using in "UV Memory (2.1.0)" video?
    is it sandbox from scratch?

    if yes, i have difficulties to apply the texture to all of the segmented plane.. ๐Ÿ˜’

    http://img32.imageshack.us/img32/7720/76792321.jpg

    plane above is a rectangle,
    and below is sandbox from scratch,
    how do you apply the texture to all the plane segment?

    1 Reply Last reply Reply Quote 0
    • K Offline
      katsuza
      last edited by 23 Mar 2012, 04:33

      Thanks for your plugin ... I really like it....

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 23 Mar 2012, 09:01

        @mingjae said:

        hello Mr.thomthom

        may i ask, what kind of plane are u using in "UV Memory (2.1.0)" video?
        is it sandbox from scratch?

        if yes, i have difficulties to apply the texture to all of the segmented plane.. ๐Ÿ˜’

        plane above is a rectangle,
        and below is sandbox from scratch,
        how do you apply the texture to all the plane segment?

        I used a Sandbox mesh. There should be no problem applying the material by just selecting all and clickin it with the paint bucket... Don't know why you get that result...

        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
          synthax
          last edited by 12 Aug 2012, 21:26

          Dear All,
          Is there any version for MAC?

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 13 Aug 2012, 06:57

            @synthax said:

            Dear All,
            Is there any version for MAC?

            It should work for Mac.

            I presume it's not functioning for you? Errors or no visible menus/toolbars?
            Have a look at this guide for installing plugins: http://www.thomthom.net/thoughts/2012/01/installing-plugins-for-google-sketchup/

            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
              sepo
              last edited by 2 Sept 2012, 12:14

              Hi Thomas

              I am trying to install your plugin on my Imac and it is posting this error.

              Plugins/TT_UV_Toolkit/loader.rb
              can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
              can't convert nil into String
              
              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 2 Sept 2012, 13:03

                @sepo said:

                Hi Thomas

                I am trying to install your plugin on my Imac and it is posting this error.

                Plugins/TT_UV_Toolkit/loader.rb
                > can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
                > can't convert nil into String
                

                Did you also get and install the separate Lib as directed? Keeping the files inside the subfolder etc...

                TIG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 2 Sept 2012, 13:25

                  @sepo said:

                  Hi Thomas

                  I am trying to install your plugin on my Imac and it is posting this error.

                  Plugins/TT_UV_Toolkit/loader.rb
                  > can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
                  > can't convert nil into String
                  

                  Can you open the Ruby Console and type: load 'tt_uv_toolkit_2.rb' and report the full error message?

                  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
                    sepo
                    last edited by 2 Sept 2012, 13:51

                    Guess what Ruby Console does not appear in the tools menu. I googled and I got this explanation.
                    When I started SU on my Macbook, the expected "Ruby Console" menu item
                    did not appear at all in the Tools menu.

                    I figured out why, and I thought I'd share it here in case it saves
                    others from
                    similar frustration.

                    "The problem is that the installed resources and ruby files have
                    capitalization
                    that is different from what the installed ruby scripts use. For
                    example,
                    sketchup.rb looks for "gettingstarted.strings", but units.rb (and
                    others)
                    look for "GettingStarted.strings". If you chose, as I did, to install
                    OS X
                    on a case-sensitive filesystem, this won't work.

                    A workaround is to patch up all of these ruby files to use the names
                    with the correct capitalization. Change those and the Ruby Console
                    will work again."
                    I am not sure what does patch means in this instance.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sepo
                      last edited by 2 Sept 2012, 14:28

                      To be honest I did not choose anything as the system came with preinstalled OS... I even do not know where to look to see if the system is installed as a case sensitive.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 2 Sept 2012, 14:41

                        Using a 'case-sensitive' file-system on a MAC [aka 'Unix'] is a great recipe for disaster. ๐Ÿ˜ฒ
                        You could have two quite different files named "File.txt" and "file.txt" coexisting in the same folder.
                        Unlike on a PC or a correctly configured MAC OS, where those names are regarded as exact equivalents and therefore there is only ever one file and no issue with 'capitalization' in some Ruby paths etc as the file is always 'found' by the OS...
                        Can you reconfigure your system rather than try to botch up various scripts, which will never be fully successful... ๐Ÿ˜ฎ

                        This MAC OS case-sensitive 'disaster' has been discussed in threads before... ๐Ÿ˜•
                        http://forums.sketchucation.com/viewtopic.php?f=79&t=47428&p=424306&hilit=sensitive#p424306
                        http://forums.sketchucation.com/viewtopic.php?f=79&t=46148&p=412811&hilit=case+sensitive#p412811
                        and
                        https://discussions.apple.com/thread/3463082?start=0&tstart=0
                        http://help.bombich.com/discussions/questions/5807-how-to-restore-the-backup-image-with-keeping-the-destination-file-system-format

                        Please avoid it in the first place.

                        Incidentally the Ruby Console is under Windows menu on a PC... is it really under Tools on a MAC ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sepo
                          last edited by 2 Sept 2012, 16:04

                          yes it is under tools... unfortunately for me it would mean reinstalling the root partition . I have dual boot system and I do not really wish to reinstall everything from the scratch. Is there any other way to repair this. That patch that was mentioned ...what does that mean? Also I do not understand is why Thea is gone after updating to trimble sketchup...
                          Your mirror plugin works fine and some other fredo's tools work fine bit your extrude tools , some fredo's tools and Thomas's UV tools do not work.

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sepo
                            last edited by 2 Sept 2012, 16:06

                            Hmmm ... I tried to create folder with same name but change capitalisation and it would not let me ....does it mean it is not case sensitive system?
                            confirmed ... same file names with different capitalisation would not stand. OK so the problem is elsewhere.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 2 Sept 2012, 16:25

                              Assuming you do have a case-sensitive OS...

                              A 'patch' means writing a [Ruby] tool that searches through all of the .rb files in the Plugins and Tools folders [and all subfolders] and finding if there is any capitalization of 'required/loaded' files - for example 'Sketchup.rb' and making it 'sketchup.rb' as the file is actually named. That's a lot of work... AND you can't redo any .rbs files as they are compiled and any capitalization issues are thereby 'hardcoded'.
                              Alternatively find what the problem files are and make suitably capitalized versions in the same folders, so for example if a script says 'Sketchup.rb' make a duplicate copy of the Tools folder's 'sketchup.rb' named in the alternative way with a capital 'S', in the same folder - your OS being case-sensitive will allow this.
                              This means duplicating a relatively few .rb files [most of these are Sketchup's installed system ones]. The downside of this is when you next install a Sketchup update some of its system files might be updated and then your 'capitalized' one are them out of date, and might cause other unexpected issues - this is unlikely within a version, but beyond a simple Maintenance release might change some files subtly... If you do this then keep a record of what you've duplicated with different capitalization and after an update check for changes and repeat as necessary...
                              Examples might be:
                              sketchup.rb >> Sketchup.rb
                              gettingstarted.strings >> GettingStarted.strings
                              etc
                              The folders to look in are Tools, and perhaps Plugins...
                              Any remaining error messages should give clues...

                              I'm unsure what's 'broken' in my Extrusion tools perhaps post the errors in the tools thread to keep this under control...

                              IF you don't have a case-sensitive OS - be thankful!
                              Post screen-shots showing what's in the Plugins folder etc - I still suspect you haven't got some files inside the right folders - this can throw out the loading of other scripts too... so let's address each error as it arises, because it might fix other 'innocent' things...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sepo
                                last edited by 2 Sept 2012, 16:28

                                OK I will post the error from the extrude tools in the right thread.

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sepo
                                  last edited by 2 Sept 2012, 18:05

                                  load 'tt_uv_toolkit_2.rb'
                                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:46: warning: already initialized constant VERSION
                                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:47: warning: already initialized constant PREF_KEY
                                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:48: warning: already initialized constant TITLE
                                  true

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 2 Sept 2012, 19:26

                                    This suggests to me that you have some duplicate files loading...
                                    One file where it ought to be and one already inside Plugins - where you have messed up an install earlier on...
                                    Please refer to the original tools' pages about 'what goes where'...
                                    Also check that nothing inside one of these tool's subfolders is also now inside the Plugins folder, e.g. if [on the of chance ๐Ÿ˜’ ] you have mis-installed files in the incorrect places earlier and you have failed to think about trying to rectifying your balls-up before restarting !

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 2 Sept 2012, 20:28

                                      @tig said:

                                      This suggests to me that you have some duplicate files loading...

                                      No - I asked him to do that after SU had started. Those warning are there because the constants where defined when SU started. I was hoping that manually reloading would give me a full call stack trace... alas...

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

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 2 Sept 2012, 21:49

                                        Alack!
                                        I'm sure there's a simple explanation to how he's balls-up this all up...
                                        I'm sure its PEBKAC...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sepo
                                          last edited by 3 Sept 2012, 06:55

                                          If I remove UV tools and lib.. I do not have problem.

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

                                          Advertisement