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

    [Plugin] UV Toolkit

    Scheduled Pinned Locked Moved Plugins
    377 Posts 86 Posters 298.7k Views 86 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.
    • thomthomT Offline
      thomthom
      last edited by

      @gaieus said:

      Richard,

      Indeed UV Toolkit 2 only works properly if the number/shape of the initial faces is the same as those of the end result.

      If during a distortion operation faces get subdivided further, it fails. You can pre-triangulate your faces first if needed however.

      I found that after I manipulated my mesh, it rendered properly in Twilight and Thea (neither of which "likes" distorted textures AFAIK) so I thought the plugin fixes texture distortion.

      You mean when using UV Memory?
      That doesn't fix anything - in fact, it doesn't reapply distorted textures to triangles, they end up as skewed textures. Though, if you have a dense triangulated mesh you probably don't see the artefacts.

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

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        @thomthom said:

        You mean when using UV Memory?
        That doesn't fix anything - in fact, it doesn't reapply distorted textures to triangles, they end up as skewed textures. Though, if you have a dense triangulated mesh you probably don't see the artefacts.

        Well, I used triangulated faces here and it re-applied the texture perfectly:
        http://forums.sketchucation.com/viewtopic.php?p=300361#p300361
        (skp also added in that post)

        Gai...

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          And it also renders the twisted/bent "column" correctly (all faces are triangulated)


          UV.jpg

          Gai...

          1 Reply Last reply Reply Quote 0
          • I Offline
            irvinekagiwa
            last edited by

            can't use your plug in this error appears Error Loading File tt_uv_toolkit_2.rb
            no such file to load -- TT_Lib2/core.rb

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

              Triangulation is probably a good solution to deal with render engines. Maybe I should add an option to triangulate (soft/smooth the new faces) to the UV memory tool...

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

              1 Reply Last reply Reply Quote 0
              • GaieusG Offline
                Gaieus
                last edited by

                @irvinekagiwa said:

                can't use your plug in this error appears Error Loading File tt_uv_toolkit_2.rb
                no such file to load -- TT_Lib2/core.rb

                Irvine,

                Please, go back to the first post (where you downloaded the plugin) and follow the link to the TT_Lib library. You will need to install that, too.

                @thomthom said:

                Triangulation is probably a good solution to deal with render engines. Maybe I should add an option to triangulate (soft/smooth the new faces) to the UV memory tool...

                Not a bad idea (although there are triangulating plugins available). However I had no issues with it without the triangulation (where it was not needed) otherwise (testing in Twilight and Thea only)

                I would be more interested in that sneak preview of UV Toolkit 3 (with the copy > paste function from other geometry). I have now a project where there are vaults and domes of the same kind but completely different sizes/distortions...

                Gai...

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

                  @gaieus said:

                  I would be more interested in that sneak preview of UV Toolkit 3 (with the copy > paste function from other geometry). I have now a project where there are vaults and domes of the same kind but completely different sizes/distortions...

                  v2.2 - I'm wrapping it up. πŸ˜„

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

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    Well, I answered your PM (that it is not that bloody urgent yet) but if it is not that much of a work...
                    πŸ˜‰

                    Gai...

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

                      Ah - you need to transfer UVs between whole surfaces, not use individual faces... ?

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

                      1 Reply Last reply Reply Quote 0
                      • GaieusG Offline
                        Gaieus
                        last edited by

                        Yes. I guess(ed) the plugin would work that way, too.

                        Currently I (sort of) "copy" (or "memorize") the UV's on a mesh and then restore them. In my thoughts, it would work the same way with the improved UV Tools just it could (also) transfer these co-ordinates from one mesh to the other.

                        Sometimes you can quite easily apply a material to a certain shape but if you modify it further, it is not easy. Then here is a quick (and rather dirty) example. I will have all different shapes (tapered and distorted) vaults that are derived from the same, quite regular shape. If I texture each separately, it will take forever.

                        UV-example.png
                        But even a better example: this way you could easily apply a texture to a flat (yet subdivided) (sur-)face then copy the UV's and apply it to a completely modified mesh.

                        Gai...

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

                          Copy from one mesh to another is more challenging.
                          UV copy/paste only works on per quad-face.

                          If you have a mapped mesh, then use the UV Memory function to store the UVs - then you can make a copy of that mesh - modify it (as long as you don't erase/recreate the faces and finally use the UV Restore function.

                          Copy from a mesh to another would require the mesh to have the same structure, same number of faces etc. The challenge is trying to match it all up.

                          hmmm...

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

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by

                            @thomthom said:

                            Copy from a mesh to another would require the mesh to have the same structure, same number of faces etc. The challenge is trying to match it all up.

                            Well yes, as the plugin currently works (also), it is obvious. But as I explained, I'll have to finish the untextured model first and then texture it.

                            @thomthom said:

                            If you have a mapped mesh, then use the UV Memory function to store the UVs - then you can make a copy of that mesh - modify it (as long as you don't erase/recreate the faces and finally use the UV Restore function.

                            This method would require to re-model each vault. In my above example, the two vaults are identical in face count and all. So with "my version" I could (re-)texture the whole thing any time by texturing the "regular" one and then transfer the co-ordinates to the other one.

                            But of course, if it is a no-go, I won't insist (somehow I thoughtyour unpublished beta worked that way)

                            Gai...

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

                              It's not a complete go. But it may not be part of the next release. ...will see... Would be a very useful tool.

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

                              1 Reply Last reply Reply Quote 0
                              • GaieusG Offline
                                Gaieus
                                last edited by

                                @thomthom said:

                                Would be a very useful tool.

                                Definitely. And thanks for listening!
                                πŸ˜„

                                (We could add a topic next to "Google is listening" like "ThomThom is listening")
                                πŸ˜„

                                Gai...

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

                                  Or even "Gaieus is pestering" maybe?

                                  Download the free D'oh Book for SketchUp πŸ“–

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    I am only doing it for the sake of the community (i.e. squeezing everything out of Thom in order that we have the greatest UV plugin ever!)
                                    πŸ˜„

                                    Gai...

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

                                      I'll agree on the UV toolkit being excellent but don't forget he needs to concentrate on Bezier Patch for me.

                                      Now i need to return to baking the world biggest cookie.....for Thom.....my pal...... πŸ‘

                                      Download the free D'oh Book for SketchUp πŸ“–

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        Ro33y
                                        last edited by

                                        thanks a lot thom!! πŸ‘

                                        very usefull... β˜€

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          robert111
                                          last edited by

                                          why uv toolkit , no work with me, i have make uv toolkit (2.1.0) and TT_Lib2 (v2.4.0) in sketchup / plugin but i dont find uv toolkit in my plugin

                                          is the same problem with sketchup 7 and 8
                                          plz i need solution for this problem
                                          thanks

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

                                            Windows or OSX? Can you post a screenshot of where you placed the files?
                                            Any error messages?

                                            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
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 18
                                            • 19
                                            • 10 / 19
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement