sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] TextureTools

    Scheduled Pinned Locked Moved Plugins
    106 Posts 34 Posters 99.7k Views 34 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.
    • jgbJ Offline
      jgb
      last edited by

      Another useful plugin by the master.... TIG


      jgb

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

        Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
        TextureTools expanded to include Rotate AND Shunt.
        Traps now added for colinear vertices and > quad faces etc.

        These tools now allow for accurate rotation of a texture anchored about the face's first vertex by typing in an angle in degrees into a dialog; and the shunting of the texture's UV-mapping [in XY/UV] by typing in two offset lengths into a dialog...

        A third tool - 'TextureScale' - might follow if I ever get some spare time...

        Feedback please...

        TIG

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

          Quite handy, thank you!

          1 Reply Last reply Reply Quote 0
          • massimoM Offline
            massimo Moderator
            last edited by

            Thanks again TIG. ๐Ÿ‘ ๐Ÿ‘
            Seems to work fine at a first quick try also with irregular shapes (just a little thing: if you don't copy the icon's folder in the plugins folder you get an error at the start of SU. The first version worked without icons).

            @unknownuser said:

            and the shunting of the texture's UV-mapping [in XY/UV] by typing in two offset lengths into a dialog...

            That's really cool... ๐Ÿ˜Ž Would be possible also to have a way to move the texture via keyboard (for example arrow keys)? I mean often you have to align textures each other or with an edge so a "fine" control on the movements with the keyboard would be really great. Something like the move tool of Photoshop.

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

              @massimo said:

              Thanks again TIG. ๐Ÿ‘ ๐Ÿ‘
              Seems to work fine at a first quick try also with irregular shapes (just a little thing: if you don't copy the icon's folder in the plugins folder you get an error at the start of SU. The first version worked without icons).

              @unknownuser said:

              and the shunting of the texture's UV-mapping [in XY/UV] by typing in two offset lengths into a dialog...

              That's really cool... ๐Ÿ˜Ž Would be possible also to have a way to move the texture via keyboard (for example arrow keys)? I mean often you have to align textures each other or with an edge so a "fine" control on the movements with the keyboard would be really great. Something like the move tool of Photoshop.

              I'll look at the code I must have messed something up adding the extra buttons etc...
              The 'To Do' list could include a 'nudge' with arrow-keys option as doing it on screen might be little different from the Texture tool...

              TIG

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

                Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
                I fixed the typo in the toolbar code so it should only make the toolbar and its button[s] if you have the icon[s]...

                TIG

                1 Reply Last reply Reply Quote 0
                • N Offline
                  notareal
                  last edited by

                  Sounds good, Thanks!

                  Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

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

                    Here's v1.3 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
                    A new tool Texture Nudge is added which allows you to nudge a texture in UV/XY using the four arrow keys, by a factor entered in a dialog or 10x if Shift is held down...

                    feedback please - especially MAC users as I'm not sure about the key-codes...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • massimoM Offline
                      massimo Moderator
                      last edited by

                      Seems to work just fine! ๐Ÿ˜„
                      A "must have" plugin. ๐Ÿค“

                      1 Reply Last reply Reply Quote 0
                      • massimoM Offline
                        massimo Moderator
                        last edited by

                        A detail: the first time you start the "nudge" and the "shunt" tools you are obliged to input an increment because if you confirm the default number by just pressing "Ok" they don't work.

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

                          @massimo said:

                          A detail: the first time you start the "nudge" and the "shunt" tools you are obliged to input an increment because if you confirm the default number by just pressing "Ok" they don't work.

                          I'll look at it... ๐Ÿ˜•
                          EDIT:
                          I recheck and it works fine... ๐Ÿ˜•
                          Do you have the latest version? [I'm sure you do]
                          The default for the setting is 1 unit - if you have mm it's likely to be very small - conversely with meters it'll probably be too much...
                          What's your default template's 'units' ? mm??
                          Zoom in to a corner to see if things move...
                          Open the tool and hit OK without editing the dialog, you get the movement required.
                          With the Nudge tool try holding down the Shift key as the movement is magnified by x10 so 1mm >> 10mm... Once you've set your preferred nudge or shunt values they are remembered across uses of the tool during that session.
                          IF you want to have a default find @@u, @@v and @@d values near the start of the two tools class initialize and change the numbers there - e.g. '10.0' intsead of '1.0' will make the initial values 10mm not 1mm etc... ๐Ÿ˜•

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • OxerO Offline
                            Oxer
                            last edited by

                            @tig said:

                            Here's v1.3 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
                            A new tool Texture Nudge is added which allows you to nudge a texture in UV/XY using the four arrow keys, by a factor entered in a dialog or 10x if Shift is held down...

                            feedback please - especially MAC users as I'm not sure about the key-codes...

                            Hi TIG,
                            I'm a mac user, i don't know the code of the mac keyboard but i have found a web page it's possible that help you
                            http://wordherd.com/keyboards/

                            "The result is the end what is important is the process" by Oxer
                            [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

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

                              @tig said:

                              feedback please - especially MAC users as I'm not sure about the key-codes...

                              KeyCodes UP, Down, Left, Right work on 10.5.8, and I changed KSHIFT = VK_SHIFT to get shift to work

                              I'll read the instructions now that I've worked out that you have to apply material to the front face for it to work at all.

                              Is an alert possible for back face materials, I was trying to adjust texture on a LiveIvy skp and some are front face and some back face and I couldn't figure why TR was working intermittently.

                              I'll try and get the correct KeyCode for Shift, but Jims script is throwing an error at the moment and I need sleep.

                              great stuff, again

                              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
                              • massimoM Offline
                                massimo Moderator
                                last edited by

                                @tig said:

                                @massimo said:

                                A detail: the first time you start the "nudge" and the "shunt" tools you are obliged to input an increment because if you confirm the default number by just pressing "Ok" they don't work.

                                I'll look at it... ๐Ÿ˜•
                                EDIT:
                                I recheck and it works fine... ๐Ÿ˜•

                                I have cm and yes it's the latest version, so i think it's not a matter of small lengths. I think that the culprit is the "." (just noticed the dot). So the default "1.0" should be "1,0" for me. Here you have the ruby console anyway.

                                Error; #<ArgumentError; Cannot convert "1.0" to Length>
                                C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/TextureRotate.rb;282;in `to_l'
                                C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/TextureRotate.rb;282;in `reset'
                                C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/TextureRotate.rb;276;in `activate'
                                C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/TextureRotate.rb;410;in `select_tool'
                                C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/TextureRotate.rb;410
                                C;/Program Files (x86)/Google/Google SketchUp 7/Plugins/TextureRotate.rb;410;in `call'
                                
                                

                                EDIT

                                @unknownuser said:

                                IF you want to have a default find @@u, @@v and @@d values near the start of the two tools class initialize and change the numbers there

                                Changed "1.0" to "1,0" and now seems to work fine. ๐Ÿ‘

                                EDIT 2
                                Tried to change also the "angle" default parameter to "90,0" but it doesn't work. So now I have the "rotate" which works with "dot" and the "shunt+nudge" with "comma". ๐Ÿ˜•

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jean-Luc Clauss
                                  last edited by

                                  Nice tool for geomodeling.
                                  Thank you so much Tig !

                                  Auteur de guides et de mรฉmos sur SketchUp aux รฉditions ENI
                                  http://archi-com21.blogspot.fr/

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

                                    Massimo

                                    I hadn't anticipated you weird Eurpoeans using a ',' as a decimal point rather than a sensible '.' ๐Ÿ˜’
                                    I can easily trap that in the code... I'll release an update later today - it should also have new tools added - TextureScale and TextureTweak... ๐Ÿ˜„

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • V Offline
                                      vidy
                                      last edited by

                                      Wooow.. like this TIG, thank you..
                                      my wish, hopefully it could do also on the complex shape surface like sphere or cylinder.. ๐ŸŽ‰

                                      regards,

                                      still so much to learn..

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

                                        Here's v1.4 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
                                        New tools have been added - TextureScale & TextureTweak [Scale by Arrows], and TextureAdjust [Rotate by Arrows]. Some button png files have been adjusted.
                                        'Locale' use of a ',' instead of a '.' as a decimal-point now works in all dialogs.

                                        Please read the usage note for each tool...

                                        Feedback please...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • massimoM Offline
                                          massimo Moderator
                                          last edited by

                                          Wonderful. ๐Ÿ˜ฎ ๐Ÿ‘
                                          A little issue is that now i have to do something like this when input values:
                                          rotate-->dot
                                          adjust-->dot
                                          shunt-->comma
                                          nudge-->comma
                                          scale-->dot
                                          tweak-->dot
                                          While in SU i use always comma.

                                          1 Reply Last reply Reply Quote 0
                                          • OxerO Offline
                                            Oxer
                                            last edited by

                                            Thanks TIG, it works fine on Mac, only one thing the dot and comma don't works on all tools.

                                            "The result is the end what is important is the process" by Oxer
                                            [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

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

                                            Advertisement