[Plugin] UV Toolkit
-
ENV.each { |k,v| puts "#{k.inspect} : #{v.inspect}" }; nil
"PATH" : "/usr/bin:/bin:/usr/sbin:/sbin"
"DISPLAY" : "/tmp/launch-MHvctR/org.x:0"
"SSH_AUTH_SOCK" : "/tmp/launch-Vm9A84/Listeners"
"Apple_Ubiquity_Message" : "/tmp/launch-bpbd2b/Apple_Ubiquity_Message"
"Apple_PubSub_Socket_Render" : "/tmp/launch-33EI0M/Render"
"COMMAND_MODE" : "unix2003"
"IG_ROOT" : "/Applications/Google SketchUp 8/SketchUp.app/Contents/Resources"
nil -
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?
-
Lion 10.7.4
-
Could it be because it is installed in the root? just guess.
-
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... -
@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...
-
@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
-
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. -
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.
-
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. -
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.
-
@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... -
Cool thanks. I'll give it a try.
-
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.
Advertisement