• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[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.
  • G Offline
    Gaieus
    last edited by 15 Nov 2009, 13:38

    Thom, great stuff so far! In my basilica, there was an arch in which there was literally hundreds of bricks. Even with the UV toolkit, it needed a lot of manual "quading" of the faces. 😲
    (and there were like 7 different sizes so you can imagine that day I was making them). πŸ˜†

    Gai...

    1 Reply Last reply Reply Quote 0
    • M Offline
      majid
      last edited by 18 Nov 2009, 20:09

      maybe adding a "goust preview" of how plugin is going to UVmap (i.e. showing a sphere when choosing shepherical...etc) could improve the ui!!


      Untitled-1.jpg

      My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 18 Nov 2009, 20:52

        @majid said:

        maybe adding a "goust preview" of how plugin is going to UVmap (i.e. showing a sphere when choosing shepherical...etc) could improve the ui!!

        mm? I got no spherical mapping option.

        As for the mapping types I do have, I don't have any API to draw texture previews.

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

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pixero
          last edited by 29 Nov 2009, 06:35

          Just wanted to say thanks. I've had this plugin for a while but recently it saved me when doing some remapping of leaves on a highres tree. πŸ‘
          Looking forward to the next version.

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by 29 Nov 2009, 18:18

            Is this correct, or am I using it wrong? I applied the material, selected the face, and selected "Rotate QF Clockwise 90" from the menu.


            093.png

            Hi

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 29 Nov 2009, 19:18

              I think it's doing it correct. As it rotates the orientation of the texture it stretch the texture to fit the quad-face.

              For normal texture rotation you use the rotate methods from the native Position Texture tool.

              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
                Jim
                last edited by 29 Nov 2009, 19:44

                Ok Thanks, I was just thinking about a quick shortcut to rotate a texture 90 degrees (no stretching.)

                Hi

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 29 Nov 2009, 19:54

                  To add a hotkey to?

                  Since SU already has a rotate method I haven't made one myself.
                  uvrotate.PNG

                  But you can't assign a hotkey to it. That is one reason why I have considered recreating my own function. But it haven't been high up on the list.

                  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
                    Jim
                    last edited by 29 Nov 2009, 20:10

                    Looking at your UV Tools, you are shifting the positions of points in 2 arrays. Is it as simple using a rotation on the arrays (around face.normal at face.bounds.center, maybe) instead of shifting? I'll try that.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 29 Nov 2009, 20:15

                      I don't quite remember what I did. But what I do is somewhat special for quad-faces with textures stretched to fit.
                      Think you need some different handling for a general rotate method...

                      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
                        Jim
                        last edited by 29 Nov 2009, 20:37

                        It works for square textures (where the image is square) but distorts rectangular ones.

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 29 Nov 2009, 20:47

                          I think what you need to do is sample four points in a quadratic formation of the face's plane and then shift the 3Dpoints.

                          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
                            thomthom
                            last edited by 22 Dec 2009, 08:08

                            @pixero said:

                            First, an option to keep the scale of a texture when rotating.

                            That's a mighty small image there... can't see much what's going on.

                            The rotate feature is meant for textures stretched to fit quad-faces. Special purpose rotate. SU already got rotate methods built in - When you activate SU's texture gizmo - you have a Rotate sub-menu.

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

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              Pixero
                              last edited by 22 Dec 2009, 08:19

                              Here's my two requests for a great tool:

                              First, an option to keep the scale of a texture when rotating.

                              http://imagecloset.com/28/a429772e52af5cc3266b8d5eb74ce6f3/UVrotate.jpg

                              Second, add it to the right click menu for easier access.

                              Edit: Fixed the image size. πŸ˜’

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Pixero
                                last edited by 22 Dec 2009, 08:21

                                Still its great to be able to select a bunch of faces and rotate at the same time.
                                You cant do that with SU's build in tools can you?

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 22 Dec 2009, 08:24

                                  @pixero said:

                                  Still its great to be able to select a bunch of faces and rotate at the same time.
                                  You cant do that with SU's build in tools can you?

                                  No you can't. Good point. I could add that feature. πŸ‘

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

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    Pixero
                                    last edited by 22 Dec 2009, 08:26

                                    I'm using it to rotate the texture on leaves on trees so doing it manually isn't an option. πŸ˜‰

                                    And don't forget the right click menu...

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 22 Dec 2009, 08:30

                                      Only thing though, about which points should it rotate...?

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

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Pixero
                                        last edited by 22 Dec 2009, 08:34

                                        Can't you just swap the UV "scale"?
                                        I mean like it is now but with an option to keep the scale on the X and Y axis.
                                        (Rotating the points so that Points A,B,C,D would be D,A,B,C or something like that.)

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 22 Dec 2009, 08:49

                                          There is no such fixed points. The one for the quad-faces works like that because you can use the four vertices of the face. But you can't do that when you have differently shaped faces and/or want to preserve scale.

                                          With SU, you have to generate the set of points yourself and query the face. So when rotating, I need one anchor point.

                                          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
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 18
                                          • 19
                                          • 4 / 19
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement