[Plugin] TextureSwapper v1.1 20111112
-
There have been changes to the Ruby version used by SketchUp since the last release of this extension, so I'd say there is more than a fair chance that it won't function as expected.
-
Works fine for me in v2018/v2019, but remember it is 8 years old is somewhat clunky !
Install from the PluginStore's RBZ...
https://sketchucation.com/pluginstore?pln=TextureSwapperIt's not 'signed', so your Extension Loading Policy needs to be set to 'Unrestricted'.
Its Toolbar might need to be activated to be able to click-to-run...
Here's a synopsis of how it works...
Your model contains textured materials.
You run the 'OUT' option.
Everything is written to your a subfolder in your default user's folder - that is typically your 'Documents' folder.
A subfolder is made named thus "/ModelName_TexturesOUT".
The 'OUT'put.
If now contains all of those materials' textures' image-files, saved using their files extension - e.g. "Bricks.jpg".If you want to reuse modified versions of these textures in your model, copy them into a subfolder in the same parent folder, named say "/ModelName_TexturesIN" subfolder.
You can now edit any of those image-files, retaining their names.
Alternatively overwrite an image-file using another image, keeping the exact same name [note it is case-sensitive].Now you can use the 'IN' option.
All image-files in the "/ModelName_TexturesIN" subfolder are analyzed.
If your model 'ModelName' contains a material using any of the textures named in that folder [note it is case-sensitive and the image-file must be the same 'type' - e.g. .JPG or .PNG], then that material's texture is replaced by the current equivalent in the "/ModelName_TexturesIN" subfolder.So reasons for it to fail are the IN file isn't made.
There are mismatches in the image-file names between the OUT / IN subfolders.
The IN images' file-types don't match the textures' names in the materials' definitions.
Also note the exact destination of these folders; the default folder is set up in our preferences, but some plugins might interfere with that.
So to check what it is, use this in the Ruby Consul:
Dir.pwd
+ <enter> -
HI, today I was able to reinstall the textureswapper, I donĀ“t know why I succedded, but now it works.
Sorry, this is not very helpfull to learn about the issue I encountered.Best,
Advertisement