sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] TextureSwapper v1.1 20111112

    Scheduled Pinned Locked Moved Plugins
    23 Posts 7 Posters 19.1k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jujuJ Offline
      juju
      last edited by

      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.

      Save the Earth, it's the only planet with chocolate.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        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=TextureSwapper

        It'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>

        TIG

        1 Reply Last reply Reply Quote 0
        • FlatchoumF Offline
          Flatchoum
          last edited by

          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,

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement