[Plugin] UV Toolkit

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

Postby thomthom » Mon Aug 08, 2011 9:32 am

Thanks for posting examples of what you used the plugin for. It's very nice to see what results people get from it. :)

Glad you managed to work out your problem. I'm sure Fredo will offer an option for you.
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 (2.2.2) — 06 February 2011

Postby redlerred7 » Sun Aug 28, 2011 11:20 am

If I may make a suggestion,
the regular way SU textures is by rotating the texture on the mesh so it's like an un rolled canvas. the problem is, where there are curves, SU doesn't or possibly can't correct it. the solution is usually making the texture projected, but if you encounter and angle, say a +/-90 degrees one, the image stretches until you barely recognize it. If I may ask for a feature, it is a specialized UV mapping where, if the angle of a face from another is above +/-45 degrees, it switches the planar map to to closest axis while still being correctly connected to the other face. It is to my opinion that that feature is possible, yes, for this is the virtual world and nothing is impossible here, but improbable, so to say, the difficulty will lower the chances of it happening, anyway, this has helped me in my studies a lot. you have no idea how strict my 3D modeling teachers are about texturing a model
0

redlerred7 
 

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

Postby redlerred7 » Tue Aug 30, 2011 7:07 am

Gaieus wrote:You can use the other method of texturing an arch with UV Toolkit I posted here. That works with Thea.

Also Tgi3D Amorph should work (the same way: remember > restore UV's).





I made something similar to what he did
http://www.youtube.com/watch?v=XeiqIwNy9yE
0

redlerred7 
 

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

Postby thomthom » Tue Aug 30, 2011 7:39 am

:thumb:
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 (2.2.2) — 06 February 2011

Postby redlerred7 » Sun Oct 02, 2011 11:32 am

Will any new version feature triangulated quad face/ psedo-quad face mapping/copying-pasting
0

redlerred7 
 

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

Postby thomthom » Sun Oct 02, 2011 12:57 pm

redlerred7 wrote:Will any new version feature triangulated quad face/ psedo-quad face mapping/copying-pasting

I'm working on QuadFace 0.4 which will allow mapping and transfering of UV mapping. See the video in the QuadFace Tool thread.
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 (2.2.2) — 06 February 2011

Postby TopherBlair » Sat Feb 04, 2012 7:59 am

I know this is an old topic, but maybe someone may see this and help. I don't know how to install this plugin and the one that's required for this. I tried copying the way the footprint example is shown but I'm just getting errors every time Sketchup starts up. Anyone know how to install this stuff? Thanks. Using Sketchup 8 by the way.
0

TopherBlair 
 

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

Postby thomthom » Sat Feb 04, 2012 1:52 pm

TopherBlair wrote:I know this is an old topic, but maybe someone may see this and help. I don't know how to install this plugin and the one that's required for this. I tried copying the way the footprint example is shown but I'm just getting errors every time Sketchup starts up. Anyone know how to install this stuff? Thanks. Using Sketchup 8 by the way.

Here's a generic explanation of how to install plugins: http://www.thomthom.net/thoughts/2012/0 ... -sketchup/

If that doesn't set you on the right path you need to explain more what you are doing and what doesn't work. Especially the error messages - they are the most valuable pieces of information when trying to resolve a problem.
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 (2.2.2) — 06 February 2011

Postby bomastudio » Sat Mar 10, 2012 6:33 pm

Wonderful script!!!! :ecstatic: :ecstatic:

I little trouble with my ubuntu+SU machine: strange but true.... I get this error:

Errore di caricamento del file C:/Programmi/Google/Google SketchUp 7/Plugins/TT_Lib2/core.rb
uninitialized constant TT::System

I got a view in your code but there isn't any semantical error (IMHO), so what it could be????
0
User avatar
bomastudio 
PluginStore Author
PluginStore Author
 

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

Postby thomthom » Mon Mar 12, 2012 9:24 am

Did you install TT_Lib2?
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 (2.2.2) — 06 February 2011

Postby mingjae » Thu Mar 22, 2012 8:28 am

hello Mr.thomthom

may i ask, what kind of plane are u using in "UV Memory (2.1.0)" video?
is it sandbox from scratch?

if yes, i have difficulties to apply the texture to all of the segmented plane.. :roll:


plane above is a rectangle,
and below is sandbox from scratch,
how do you apply the texture to all the plane segment?
0

mingjae 
 

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

Postby katsuza » Fri Mar 23, 2012 5:33 am

Thanks for your plugin ... I really like it....
0

katsuza 
 

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

Postby thomthom » Fri Mar 23, 2012 10:01 am

mingjae wrote:hello Mr.thomthom

may i ask, what kind of plane are u using in "UV Memory (2.1.0)" video?
is it sandbox from scratch?

if yes, i have difficulties to apply the texture to all of the segmented plane.. :roll:

plane above is a rectangle,
and below is sandbox from scratch,
how do you apply the texture to all the plane segment?


I used a Sandbox mesh. There should be no problem applying the material by just selecting all and clickin it with the paint bucket... Don't know why you get that result...
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 (2.2.2) — 06 February 2011

Postby synthax » Sun Aug 12, 2012 10:26 pm

Dear All,
Is there any version for MAC?
0

synthax 
 

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

Postby thomthom » Mon Aug 13, 2012 7:57 am

synthax wrote:Dear All,
Is there any version for MAC?

It should work for Mac.

I presume it's not functioning for you? Errors or no visible menus/toolbars?
Have a look at this guide for installing plugins: http://www.thomthom.net/thoughts/2012/0 ... -sketchup/
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 (2.2.2) — 06 February 2011

Postby sepo » Sun Sep 02, 2012 1:11 pm

Hi Thomas

I am trying to install your plugin on my Imac and it is posting this error.
Code: Select all
Plugins/TT_UV_Toolkit/loader.rb
can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
can't convert nil into String
0
Last edited by Rich O Brien on Sun Sep 02, 2012 1:14 pm, edited 1 time in total.
Reason: Added code tag

sepo 
 

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

Postby TIG » Sun Sep 02, 2012 2:03 pm

sepo wrote:Hi Thomas

I am trying to install your plugin on my Imac and it is posting this error.
Code: Select all
Plugins/TT_UV_Toolkit/loader.rb
can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
can't convert nil into String
Did you also get and install the separate Lib as directed? Keeping the files inside the subfolder etc...
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby thomthom » Sun Sep 02, 2012 2:25 pm

sepo wrote:Hi Thomas

I am trying to install your plugin on my Imac and it is posting this error.
Code: Select all
Plugins/TT_UV_Toolkit/loader.rb
can't convert nil into StringError Loading File tt_uv_toolkit_2.rb
can't convert nil into String


Can you open the Ruby Console and type: load 'tt_uv_toolkit_2.rb' and report the full error message?
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 (2.2.2) — 06 February 2011

Postby sepo » Sun Sep 02, 2012 2:51 pm

Guess what Ruby Console does not appear in the tools menu. I googled and I got this explanation.
When I started SU on my Macbook, the expected "Ruby Console" menu item
did not appear at all in the Tools menu.

I figured out why, and I thought I'd share it here in case it saves
others from
similar frustration.

"The problem is that the installed resources and ruby files have
capitalization
that is different from what the installed ruby scripts use. For
example,
sketchup.rb looks for "gettingstarted.strings", but units.rb (and
others)
look for "GettingStarted.strings". If you chose, as I did, to install
OS X
on a case-sensitive filesystem, this won't work.

A workaround is to patch up all of these ruby files to use the names
with the correct capitalization. Change those and the Ruby Console
will work again."
I am not sure what does patch means in this instance.
0

sepo 
 

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

Postby sepo » Sun Sep 02, 2012 3:28 pm

To be honest I did not choose anything as the system came with preinstalled OS... I even do not know where to look to see if the system is installed as a case sensitive.
0

sepo 
 

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

Postby TIG » Sun Sep 02, 2012 3:41 pm

Using a 'case-sensitive' file-system on a MAC [aka 'Unix'] is a great recipe for disaster. :shock:
You could have two quite different files named "File.txt" and "file.txt" coexisting in the same folder.
Unlike on a PC or a correctly configured MAC OS, where those names are regarded as exact equivalents and therefore there is only ever one file and no issue with 'capitalization' in some Ruby paths etc as the file is always 'found' by the OS...
Can you reconfigure your system rather than try to botch up various scripts, which will never be fully successful... :o

This MAC OS case-sensitive 'disaster' has been discussed in threads before... :?
viewtopic.php?f=79&t=47428&p=424306&hilit=sensitive#p424306
viewtopic.php?f=79&t=46148&p=412811&hilit=case+sensitive#p412811
and
https://discussions.apple.com/thread/34 ... 0&tstart=0
http://help.bombich.com/discussions/que ... tem-format

Please avoid it in the first place.

Incidentally the Ruby Console is under Windows menu on a PC... is it really under Tools on a MAC ?
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby sepo » Sun Sep 02, 2012 5:04 pm

yes it is under tools... unfortunately for me it would mean reinstalling the root partition . I have dual boot system and I do not really wish to reinstall everything from the scratch. Is there any other way to repair this. That patch that was mentioned ...what does that mean? Also I do not understand is why Thea is gone after updating to trimble sketchup...
Your mirror plugin works fine and some other fredo's tools work fine bit your extrude tools , some fredo's tools and Thomas's UV tools do not work.
0

sepo 
 

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

Postby sepo » Sun Sep 02, 2012 5:06 pm

Hmmm ... I tried to create folder with same name but change capitalisation and it would not let me ....does it mean it is not case sensitive system?
confirmed ... same file names with different capitalisation would not stand. OK so the problem is elsewhere.
0

sepo 
 

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

Postby TIG » Sun Sep 02, 2012 5:25 pm

Assuming you do have a case-sensitive OS...

A 'patch' means writing a [Ruby] tool that searches through all of the .rb files in the Plugins and Tools folders [and all subfolders] and finding if there is any capitalization of 'required/loaded' files - for example 'Sketchup.rb' and making it 'sketchup.rb' as the file is actually named. That's a lot of work... AND you can't redo any .rbs files as they are compiled and any capitalization issues are thereby 'hardcoded'.
Alternatively find what the problem files are and make suitably capitalized versions in the same folders, so for example if a script says 'Sketchup.rb' make a duplicate copy of the Tools folder's 'sketchup.rb' named in the alternative way with a capital 'S', in the same folder - your OS being case-sensitive will allow this.
This means duplicating a relatively few .rb files [most of these are Sketchup's installed system ones]. The downside of this is when you next install a Sketchup update some of its system files might be updated and then your 'capitalized' one are them out of date, and might cause other unexpected issues - this is unlikely within a version, but beyond a simple Maintenance release might change some files subtly... If you do this then keep a record of what you've duplicated with different capitalization and after an update check for changes and repeat as necessary...
Examples might be:
sketchup.rb >> Sketchup.rb
gettingstarted.strings >> GettingStarted.strings
etc
The folders to look in are Tools, and perhaps Plugins...
Any remaining error messages should give clues...

I'm unsure what's 'broken' in my Extrusion tools perhaps post the errors in the tools thread to keep this under control...

IF you don't have a case-sensitive OS - be thankful!
Post screen-shots showing what's in the Plugins folder etc - I still suspect you haven't got some files inside the right folders - this can throw out the loading of other scripts too... so let's address each error as it arises, because it might fix other 'innocent' things...
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby sepo » Sun Sep 02, 2012 5:28 pm

OK I will post the error from the extrude tools in the right thread.
0

sepo 
 

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

Postby sepo » Sun Sep 02, 2012 7:05 pm

> load 'tt_uv_toolkit_2.rb'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:46: warning: already initialized constant VERSION
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:47: warning: already initialized constant PREF_KEY
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_uv_toolkit_2.rb:48: warning: already initialized constant TITLE
true
0

sepo 
 

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

Postby TIG » Sun Sep 02, 2012 8:26 pm

This suggests to me that you have some duplicate files loading...
One file where it ought to be and one already inside Plugins - where you have messed up an install earlier on...
Please refer to the original tools' pages about 'what goes where'...
Also check that nothing inside one of these tool's subfolders is also now inside the Plugins folder, e.g. if [on the of chance :roll: ] you have mis-installed files in the incorrect places earlier and you have failed to think about trying to rectifying your balls-up before restarting !
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby thomthom » Sun Sep 02, 2012 9:28 pm

TIG wrote:This suggests to me that you have some duplicate files loading...

No - I asked him to do that after SU had started. Those warning are there because the constants where defined when SU started. I was hoping that manually reloading would give me a full call stack trace... alas...
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 (2.2.2) — 06 February 2011

Postby TIG » Sun Sep 02, 2012 10:49 pm

Alack!
I'm sure there's a simple explanation to how he's balls-up this all up...
I'm sure its PEBKAC...
0
TIG
User avatar
TIG 
Global Moderator
 

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

Postby sepo » Mon Sep 03, 2012 7:55 am

If I remove UV tools and lib.. I do not have problem.
0

sepo 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: asustuf, Djet210, flower_sun12, melindasaur, OSN58 and 16 guests

Visit our sponsors: