[Plugin] UV Toolkit
-
Can you post a sample model please?
-
I've PM'd you.
Thanks for the help. -
@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.
-
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 ? -
It's a 1:1 scale building with textures...
-
BUT might it still not have a very tiny textured facet somewhere that is thereby tripping things up ?
-
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.
-
I'm out of ideas then
-
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. -
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.
-
Thanks.
-
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. -
@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?
-
Didn´t and don´t find installing instructions. And in the downloaded file I also do not see the TT_lib library.
-
Ok - thank you.
The missing TT_Lib was the problem.
Best regards -
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 MMOK - found it.
MM -
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.rbAnd 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.
-
@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.rbAnd 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!)
-
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?
-
@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.
Advertisement