[Plugin] TextureTools
-
Thanks
-
Finally!
Thanks a lot for this TIG.
Now a request : would be possible to add some move commands for the textures (for example the arrows buttons)? As you know moving precisely the textures is a real pain... -
I suppose that now that I have a 'proof of concept' in 'transforming' textures then as well as rotating, scaling or translation could be possible. A simple scaling about the center by an entered factor e.g. 2.0 is straight forward, and a translation by entering X & Y values [lengths] to shunt the texture along by on the face could be to - e.g. 100mm & 0 would shunt the texture to the 'right' 100mm...
I'll see what's needed... -
Is there a difference except the process with the Right Click / Texture / Position / rotation yet existing?
-
@unknownuser said:
I'll see what's needed...
@unknownuser said:
Is there a difference except the process with the Right Click / Texture / Position / rotation yet existing?
Yes mainly two for what I can see:
1)You can input a precise angle of rotation;
2)You don't have to deal with that painful rotate+scale green pin. -
Great! Thanks!
-
There are a few glitches with non-quad faces etc but a fix is under way... as are the Shunt/Scale versions... watch for announcements...
-
Another useful plugin by the master.... TIG
-
Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
TextureTools expanded to include Rotate AND Shunt.
Traps now added for colinear vertices and > quad faces etc.These tools now allow for accurate rotation of a texture anchored about the face's first vertex by typing in an angle in degrees into a dialog; and the shunting of the texture's UV-mapping [in XY/UV] by typing in two offset lengths into a dialog...
A third tool - 'TextureScale' - might follow if I ever get some spare time...
Feedback please...
-
Quite handy, thank you!
-
Thanks again TIG.
Seems to work fine at a first quick try also with irregular shapes (just a little thing: if you don't copy the icon's folder in the plugins folder you get an error at the start of SU. The first version worked without icons).@unknownuser said:
and the shunting of the texture's UV-mapping [in XY/UV] by typing in two offset lengths into a dialog...
That's really cool... Would be possible also to have a way to move the texture via keyboard (for example arrow keys)? I mean often you have to align textures each other or with an edge so a "fine" control on the movements with the keyboard would be really great. Something like the move tool of Photoshop.
-
@massimo said:
Thanks again TIG.
Seems to work fine at a first quick try also with irregular shapes (just a little thing: if you don't copy the icon's folder in the plugins folder you get an error at the start of SU. The first version worked without icons).@unknownuser said:
and the shunting of the texture's UV-mapping [in XY/UV] by typing in two offset lengths into a dialog...
That's really cool... Would be possible also to have a way to move the texture via keyboard (for example arrow keys)? I mean often you have to align textures each other or with an edge so a "fine" control on the movements with the keyboard would be really great. Something like the move tool of Photoshop.
I'll look at the code I must have messed something up adding the extra buttons etc...
The 'To Do' list could include a 'nudge' with arrow-keys option as doing it on screen might be little different from the Texture tool... -
Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
I fixed the typo in the toolbar code so it should only make the toolbar and its button[s] if you have the icon[s]... -
Sounds good, Thanks!
-
Here's v1.3 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
A new tool Texture Nudge is added which allows you to nudge a texture in UV/XY using the four arrow keys, by a factor entered in a dialog or 10x if Shift is held down...feedback please - especially MAC users as I'm not sure about the key-codes...
-
Seems to work just fine!
A "must have" plugin. -
A detail: the first time you start the "nudge" and the "shunt" tools you are obliged to input an increment because if you confirm the default number by just pressing "Ok" they don't work.
-
@massimo said:
A detail: the first time you start the "nudge" and the "shunt" tools you are obliged to input an increment because if you confirm the default number by just pressing "Ok" they don't work.
I'll look at it...
EDIT:
I recheck and it works fine...
Do you have the latest version? [I'm sure you do]
The default for the setting is 1 unit - if you have mm it's likely to be very small - conversely with meters it'll probably be too much...
What's your default template's 'units' ? mm??
Zoom in to a corner to see if things move...
Open the tool and hit OK without editing the dialog, you get the movement required.
With the Nudge tool try holding down the Shift key as the movement is magnified by x10 so 1mm >> 10mm... Once you've set your preferred nudge or shunt values they are remembered across uses of the tool during that session.
IF you want to have a default find @@u, @@v and @@d values near the start of the two tools class initialize and change the numbers there - e.g. '10.0' intsead of '1.0' will make the initial values 10mm not 1mm etc... -
@tig said:
Here's v1.3 http://forums.sketchucation.com/viewtopic.php?p=329765#p329765
A new tool Texture Nudge is added which allows you to nudge a texture in UV/XY using the four arrow keys, by a factor entered in a dialog or 10x if Shift is held down...feedback please - especially MAC users as I'm not sure about the key-codes...
Hi TIG,
I'm a mac user, i don't know the code of the mac keyboard but i have found a web page it's possible that help you
http://wordherd.com/keyboards/ -
@tig said:
feedback please - especially MAC users as I'm not sure about the key-codes...
KeyCodes UP, Down, Left, Right work on 10.5.8, and I changed KSHIFT = VK_SHIFT to get shift to work
I'll read the instructions now that I've worked out that you have to apply material to the front face for it to work at all.
Is an alert possible for back face materials, I was trying to adjust texture on a LiveIvy skp and some are front face and some back face and I couldn't figure why TR was working intermittently.
I'll try and get the correct KeyCode for Shift, but Jims script is throwing an error at the moment and I need sleep.
great stuff, again
john
Advertisement