[Plugin] UV Toolkit

Re: [Plugin] UV Toolkit (2.2.2) — 06 February 2011

Postby thomthom » Fri Aug 02, 2013 4:48 pm

hm... should be working fine on both system though...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UV Toolkit (0.1.1b)

Postby DesertRaven » Tue Sep 03, 2013 11:07 pm

Gaieus wrote:I am not the man of words,


Would it make sense to create an arched texture and map it just flat on to your arch instead?
0
simplicity is the ultimate sophistication
User avatar
DesertRaven 
 

Re: [Plugin] UV Toolkit (2.2.2) — 06 February 2011

Postby jctiv4 » Mon Oct 14, 2013 11:51 pm

Hello,

I am having an issue using his plug in
I open sketch up and it reads:

"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"

I think I put everything in the right place but its not working. I am using windows 7 can you help?
0

jctiv4 
 

Re: [Plugin] UV Toolkit (2.2.2) — 06 February 2011

Postby TIG » Tue Oct 15, 2013 10:54 am

You have not installed the supporting 'Lib' as directed on the plugins main page...
If you think you have installed it and there are still errors, then check your Plugins folder's security permissions are set to FULL and retry the installation...
There are many other threads covering security permissions etc in very great detail...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] UV Toolkit

Postby jumpjack » Fri May 02, 2014 12:20 pm

I have a 3d model which has colours but no textures... at least, I can't see any texture upon exporting it in Collada (.dae) format.
But I need a texture file to convert to VRML and to be able to upload file to Shapeways.
Can I use this plugin to obtain a texture map from my colors?
If not, how can I accomplish this task?
0

jumpjack 
 

Re: [Plugin] UV Toolkit

Postby john2 » Thu May 08, 2014 5:12 pm

I'm getting the following error

Error Loading File tt_uv_toolkit_2.rb
Error: C:/Users/john2/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_uv_toolkit_2.rb:48: invalid multibyte char (UTF-8)
C:/Users/john2/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_uv_toolkit_2.rb:54: syntax error, unexpected tCONSTANT, expecting keyword_end
loader = File.join( path, 'TT_UV_Toolkit', 'loader.rb' )
0
Sketchup Make 2016 (64-bit), SketchUp Make 2015 (64-bit), Vray 2.0 , Windows 8.1 – 64 bit, ATI Radeon 8570 Graphics 2GB,
User avatar
john2 
 

Re: [Plugin] UV Toolkit

Postby TIG » Thu May 08, 2014 6:11 pm

@John2

I posted a similar response to you in another thread. :roll:
Do not copy plugins files/libs from an earlier SketchUp version.
Install the newest available ones - available from the PluginStore - they have been updated to suit v2014 ! :o
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] UV Toolkit

Postby speedjunkie » Wed Sep 17, 2014 1:49 pm

Hi, I'm using UV toolkit with FredoScale for game modelling.
I've noticed that when I export the model(to dae), I get one texture for each quad face. I'm making a city model and this results in thousands of textures... Is this just how the plugin works or is it something I can do about it?
Edit: Never mind, Just found out that the faces has to be triangels...
0
User avatar
speedjunkie 
 

Re: [Plugin] UV Toolkit

Postby speedjunkie » Sun Mar 29, 2015 1:54 pm

If I open a model made with skp 2013 and an earlier version of UV toolkit(and TT_lib) and try to edit the UV-mapping in Skp 2015 with the most recent UV-toolkit and TT lib , will the UV-mapping get messed up?
0
User avatar
speedjunkie 
 

Re: [Plugin] UV Toolkit

Postby thomthom » Mon Apr 06, 2015 8:34 pm

No - should act the same. Are you seeing otherwise?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UV Toolkit

Postby maricanis » Tue Jun 21, 2016 9:32 am

Hi Thom,

I was playing with UV Toolkit on a model from warehouse:
https://3dwarehouse.sketchup.com/model. ... f886bbb404

I tried to copy come textures from one face to another and get next error:
Could not compute valid matrix from points
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/tt_uv_toolkit2/clipboard.rb:230:in `position_material'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/tt_uv_toolkit2/clipboard.rb:230:in `block (2 levels) in paste_uv'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/tt_uv_toolkit2/clipboard.rb:197:in `each'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/tt_uv_toolkit2/clipboard.rb:197:in `block in paste_uv'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/simpletask.rb:59:in `block in run'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/simpletask.rb:58:in `each'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/TT_Lib2/simpletask.rb:58:in `run'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/tt_uv_toolkit2/clipboard.rb:188:in `paste_uv'
C:/Users/Marija/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/tt_uv_toolkit2/clipboard.rb:34:in `block in <module:UV_Toolkit>'
SketchUp:1:in `call'


Surfaces I'm talking about are rectangles, below arches
uv_problem.png


I've inspected them a bit, it is definitely rectangle, and seems problem is that for UVQ coordinates we get 2 pairs of identical coordinates.

face=Sketchup.active_model.selection[0]
face.vertices.each{|v| puts v.position}
(-81.244783m, 48.236298m, 29.144603m)
(-81.244783m, 48.236298m, 25.126711m)
(-78.64126m, 46.296916m, 25.126711m)
(-78.64126m, 46.296916m, 29.144603m)

tw=Sketchup.create_texture_writer
uvh = face.get_UVHelper( true, false, tw )
uvq = face.vertices.collect { |v|
uvh.get_front_UVQ( v.position )}
[Point3d(-0.77926, 0.615652, 1.07232), Point3d(-0.77926, 0.615652, 1.07232), Point3d(-0.770337, 0.611328, 1.07188), Point3d(-0.770337, 0.611328, 1.07188)]


Is there some solution for surfaces with such coordinates?

I've tried slight change in plugin code: removing of duplicates (and their corresponding vertices coordinates) and then position_material -> no error, but final texture not positioned as original one.

Thanks in advance,
Marija
0

maricanis 
 

Re: [Plugin] UV Toolkit

Postby thomthom » Mon Jun 27, 2016 5:51 pm

Hm... I think this relate to projected textures. The API doesn't have good support for that type of mapping. :/
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UV Toolkit

Postby maricanis » Tue Jun 28, 2016 10:32 am

thomthom wrote:Hm... I think this relate to projected textures. The API doesn't have good support for that type of mapping. :/


You are right. I've checked and these are projected textures.
I know not much useful things in API on mapping of projected textures.

Do you think there is some possibility to 'extract' that info and use it for pasting. Something with get_texture_projection() and set_texture_projection().

Marija
0

maricanis 
 

Re: [Plugin] UV Toolkit

Postby thomthom » Tue Jun 28, 2016 7:37 pm

get_texture_projection and set_texture_projection was an attempt to add support for that. It was added close to a release a while back. Though it didn't really fully solve things. (and should probably be deprecated.) As things are right now there aren't any good info to go by.
1
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] UV Toolkit

Postby Oxer » Wed Apr 18, 2018 9:51 pm

I noted when you save UVs data and then you save the .skp file the size of the file increases notably, is there any way to cleanup that data after it has been used?
It would be fantastic to add a feature to clean the data.


Example: UVs data of 6000 faces, the file increases about 4mg, if you have saved the UVs of various objects the increment can be immense.
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [Plugin] UV Toolkit

Postby Oxer » Wed Jul 11, 2018 4:55 pm

Excuse me but I'm waiting an answer, please I need a solution, I use the plugin many times in my personal projects.
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: arangopar, emadm, pcgenius122, Viper23 and 7 guests

Visit our sponsors: