• 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.
  • T Offline
    thomthom
    last edited by 24 Sept 2012, 07:52

    Can you post a sample model please?

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

    1 Reply Last reply Reply Quote 0
    • V Offline
      vanman
      last edited by 27 Sept 2012, 05:52

      I've PM'd you.
      Thanks for the help.

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 27 Sept 2012, 07:12

        @vanman said:

        Hi,

        I used the plugin to use the "Frontface Material to Backface", and it worked fine, but when I check for errors in SU, it says: "The front or back texture coordinates for CFaceTextureCoords (48) is not valid" for every face and when I click fix, it reverts to the way it was before using the plugin (no textures on the backfaces).

        Any ideas? Or is this normal?

        Thanks.

        Huh! That's odd. Don't know what's going on here. 😕 Never seen that before - and the model looks to be fine. I'll have to investigate.

        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 27 Sept 2012, 09:03

          Is there a very tiny facet that returns invalid coordinates, that are regarded as the same because of the 'rounding' of its very close vertex-points ?

          I just had a perhaps somewhat similar issue with my Octane Exporter [on their forum]... Someone has made a very small object that would have had overly tiny facets when created, if they hadn't scaled it up to process and then back down when done - the small facets can exists, it's just making them that's the issue. So far so good... now they exported it to OBJ format for use in Octane and there were tiny holes in the object when it rendered. Octane requires the OBJ to be in 'm' and have triangulated faces. In processing the meshes my tool uses the API methods to triangulate the mesh's faces. I now think that what was happening was that the triangulation of some tiny quad faces resulted in two triangulated facets that are so small that they have two vertices that 'round' to be at the 'same point' [the OBJ format is set to 'm' 6 d.p.] - therefore that new facet can't exist as its only a 'line' at best, and the two parts can then be missed, out leaving a small quad shaped hole when the object is reformed from the OBJ data...
          This could of course also mess with the tiny face's texture mapping ?

          TIG

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 27 Sept 2012, 09:27

            It's a 1:1 scale building with textures...

            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 27 Sept 2012, 09:40

              BUT might it still not have a very tiny textured facet somewhere that is thereby tripping things up ?

              TIG

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 27 Sept 2012, 10:48

                I'm not finding any small faces...

                Sketchup.active_model.selection.each { |f| puts f.area }
                90921.1990251775
                8884.83094815197
                89096.7297450352
                8797.85733797857
                73856.383925685
                141994.698396594
                9102.23521971269
                12145.8874379084
                24291.7748758168
                72875.3920821179
                44959.9790473181
                14734.602162027
                17691.3311847609
                24392.7484579021
                30011.1066867323
                5913.42252781615
                106356.388178604
                34341.9813095441
                3545905.862747
                4551.09075463125
                141994.698396594
                50062.2342056662
                104443.19428945
                427926.997414128
                498.944000443444
                1387.04002680257
                555.234138673402
                1387.04002680257
                498.938868995756
                1387.04002680257
                555.228428303232
                1387.04002680257
                498.945026732981
                1387.04002680257
                555.235280747436
                1387.04002680257
                498.945026732981
                1387.04002680257
                555.235280747436
                1387.04002680257
                13652.9721252099
                153511.061835866
                543.299207966775
                1387.04002680257
                604.593436356126
                1387.03753654542
                27697.347044386
                4359.49237901717
                4451.34639743716
                4451.35947758332
                4451.35424552485
                4451.35424552485
                4451.36013159063
                4451.3599680888
                36670.6765526049
                4451.35362924216
                4451.35379274376
                4451.34790668637
                4451.34790668637
                4451.35313873738
                4451.34005860984
                4359.49925111979
                30024.5993279971
                67236.1596991253
                17251.2833128222
                21472.4971347198
                25566.7510791362
                128807.275064796
                493528.467044927
                23028.3607461373
                18401.0262709489
                130944.016437284
                511510.510285885
                22920.9833744596
                20675.3865149603
                125516.784053139
                9609.28530909866
                7391.72898352146
                7391.72898352146
                182.619508624077
                213.451079707593
                5652.52077005804
                5652.52077005804
                613232.018621877
                18262.0502714831
                9102.22363510579
                362053.963948095
                13639.6107236221
                23326.5092276735
                263054.266003366
                661.054059026763
                44600.8861230744
                75814.7493808884
                12669.2358815777
                35555.4855367881
                12669.2358815777
                8522.23635725677
                8522.23635725677
                668996.234413132
                543.287712531164
                1387.03753654542
                604.58207642406
                498.938121928659
                1387.03753654542
                555.228912425377
                1387.03753654542
                498.93825021456
                1387.03753654542
                555.229055184646
                1387.03753654542
                498.937737070955
                1387.03753654542
                555.228484147571
                498.942868507002
                1387.03753654542
                555.234194518316
                1387.03753654542
                498.937737070955
                1387.03753654542
                555.228484147571
                1387.03753654542
                498.943894794211
                1387.03753654542
                555.235336592465
                1387.03753654542
                498.943894794211
                1387.03753654542
                555.235336592465
                1387.03753654542
                261012.344038505
                13652.9721252099
                1387.03753654542
                498.939253854332
                1387.04002680257
                555.228856580994
                1387.04002680257
                498.939382140525
                1387.04002680257
                555.228999340249
                1387.04002680257
                498.938868995756
                1387.04002680257
                555.228428303232
                1387.04002680257
                6522.12890144438
                11305.0324846641
                16957.5094865821
                11305.0324846641
                16957.5094865821
                18109.752711948
                201171.422032186
                165547.943793187
                

                Btw vanman - your SketchUp file is 8 MB because the texture you used is 8MB JPG - 4096x4096 pixels. The very max SketchUp will display is 2048x2048 if you enable large textures.

                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 27 Sept 2012, 14:11

                  I'm out of ideas then 😕

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    vanman
                    last edited by 28 Sept 2012, 07:36

                    Ok,

                    Thanks for looking into it. I'll just deal with it on a model by model basis.
                    I'll reduce the image size, I didn't know about the SU max texture size.

                    😄

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

                      I've not had time to dig deep into this. I've a wee bit busy for the time being. Trying to get some stuff ready for Basecamp.

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

                      1 Reply Last reply Reply Quote 0
                      • usenU Offline
                        usen
                        last edited by 19 Nov 2012, 12:48

                        Thanks. 👍

                        http://www.sketchupturkiye.com/

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mannomann
                          last edited by 6 Dec 2012, 18:08

                          Hi,
                          sorry for that question: I put the plugin into the plugin folder. But no plugin is in SU. What is wrong?
                          J.
                          Cannot read 23 pages for installing problems. Tried to use the search, but no results for that problem.

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by 6 Dec 2012, 18:27

                            @mannomann said:

                            ...Cannot read 23 pages for installing problems...

                            Just read the first post and make sure you follow the instructions carefully. Have you also installed the TT_Lib library for instance?

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mannomann
                              last edited by 6 Dec 2012, 18:45

                              Didn´t and don´t find installing instructions. And in the downloaded file I also do not see the TT_lib library.

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                mannomann
                                last edited by 6 Dec 2012, 18:51

                                Ok - thank you.
                                The missing TT_Lib was the problem.
                                Best regards

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  The Firle Fanz
                                  last edited by 19 Dec 2012, 13:31

                                  Hi,
                                  I already installed the TT_UV_Toolkit at my Laptop at home.
                                  Here on my businesss PC I don´t know anymore and can´t remember where to put the TT_Lib???!!!
                                  And I still do not find a installing instructions for that.
                                  Would somebody please be so kind and show me the install passage?
                                  Or any hint?
                                  Thanks in advance MM

                                  OK - found it.
                                  MM

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dickorama
                                    last edited by 24 Jan 2013, 16:42

                                    You sure these UV things work on Sketchup 8? I've been getting a lot of errors, namely:

                                    Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_UV_Toolkit/loader.rb
                                    no such file to load -- TT_Lib2/core.rbError Loading File tt_uv_toolkit_2.rb
                                    no such file to load -- TT_Lib2/core.rb

                                    And before you ask, creating the TT_Lib2 folder and placing core.rb in it did not work well. And it's not really my job to try and "hack" plugins so they work.

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 24 Jan 2013, 20:42

                                      @dickorama said:

                                      You sure these UV things work on Sketchup 8? I've been getting a lot of errors, namely:

                                      Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_UV_Toolkit/loader.rb
                                      no such file to load -- TT_Lib2/core.rbError Loading File tt_uv_toolkit_2.rb
                                      no such file to load -- TT_Lib2/core.rb

                                      And before you ask, creating the TT_Lib2 folder and placing core.rb in it did not work well. And it's not really my job to try and "hack" plugins so they work.

                                      It's also not my job to create plugins. I create tools to do my job and I release them for the public to use as is. The least you can do is take a moment to read the instructions of the free tool you're trying to use.

                                      If you go back you will see at the bottom of the thread the footprint of where the files should be. You should not manually create a TT_Lib2 folder and move the core.rb file from UV Toolkit into it. You should install the required TT_Lib2 support library as link right above the UV Toolkit download button, labeled Requirements. It's all there, at a glance. In no way are you supposed to "hack" anything! 😒

                                      If you have trouble installing plugins you can use this utility: http://sketchucation.com/forums/viewtopic.php?f=323&t=42315&p=375454#p375454
                                      It let you install RBZ and ZIP packages. It's an RBZ package itself so follow the instructions in the thread (lots of screenshots) on how to use the Install Extension feature in SketchUp.

                                      For a complete breakdown on installing plugins: http://www.thomthom.net/thoughts/2012/01/installing-plugins-for-google-sketchup/

                                      (However, installing them to the correct location wasn't the issue here, it was because you didn't read the instructions!)

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

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rv1974
                                        last edited by 28 Feb 2013, 07:55

                                        I've got constant 'Don't panic!' pop-up that 'fixes' the error after applying 'front face mat to back face' (as a result backfaces are messed). Could you take a look at the attachment?


                                        green_example.skp

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 28 Feb 2013, 09:08

                                          @rv1974 said:

                                          I've got constant 'Don't panic!' pop-up that 'fixes' the error after applying 'front face mat to back face' (as a result backfaces are messed). Could you take a look at the attachment?

                                          I got a warning when I first opened the model. When I said fix problems that reset the backside textures. But when I ran the plugin again, front side to backside and used the Fix Problems button - I got no errors.

                                          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
                                          • 15
                                          • 16
                                          • 17
                                          • 18
                                          • 19
                                          • 17 / 19
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement