• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[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 3 Sept 2012, 17:09

    My suspicion is confirmed.
    But I don't understand - it gives no info about where the system temp path should be. ๐Ÿ˜ฎ ๐Ÿ˜ฒ ๐Ÿ˜•

    Exactly what OS do you have?

    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 3 Sept 2012, 17:11

      Lion 10.7.4

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

        Could it be because it is installed in the root? just guess.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 3 Sept 2012, 17:18

          When you installed Sketchup did you accept the default folder location ?
          The ENV variable should contain lots of data - like your user-paths, temp/tmp folders etc...

          TIG

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 3 Sept 2012, 17:21

            @sepo said:

            Could it be because it is installed in the root? just guess.

            I have no idea. I'm not that familiar with OSX - but this is the first time anyone ever reported an issue like this. I've also never seen a complete lack of environment variables... ๐Ÿ˜•

            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 3 Sept 2012, 17:52

              @tig said:

              When you installed Sketchup did you accept the default folder location ?
              The ENV variable should contain lots of data - like your user-paths, temp/tmp folders etc...

              Yes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sepo
                last edited by 4 Sept 2012, 13:07

                OK, I solved problem now. I created the account and moved all software to that account and now everything loads fine so far. So it looks like Mac does not like when some stuff is installed on root. It seems to me it requires creating account.
                Thanks for your help Thomas.

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

                  Well, I didn't manage to provide too much of a solution. I'm glad you worked it out in the end, because I was at a complete loss. Thanks for reporting back. I'm making a note of this that environment variables might be completely missing.

                  On a sidenote - I do generally think that running as root is not recommended out of security concerns.

                  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 4 Sept 2012, 13:51

                    Yes you are correct...lesson learned. I was just messing about as you can do more stuff from the root than from the admin account. It is interesting that all licenses did not transferred automatically I had to reinstall for Thea and license for Twilight was not recognised so I need another one. MS and Adobe went without hitch.
                    On the windows side I did not have any problems.
                    In any case you tried to help and that is appreciated. ๐Ÿ‘

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      vanman
                      last edited by 23 Sept 2012, 06:30

                      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.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 23 Sept 2012, 10:15

                        @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.
                        I don't know without seeing the SKP file in question...
                        My FixReversedFaceMaterials flips faces and reuses the back-material that was incorrectly 'looking out' so it's now on the front-face that's now changed to be correctly 'looking outwards'... if you get my drift... try that and see if there are errors... ๐Ÿ˜•

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          vanman
                          last edited by 24 Sept 2012, 00:23

                          Cool thanks. I'll give it a try.

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

                                          Advertisement