• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Material Replacer

Scheduled Pinned Locked Moved Plugins
73 Posts 39 Posters 79.0k Views 39 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.
  • B Offline
    Bob James
    last edited by 30 Oct 2010, 21:01

    @thomthom said:

    One can select all entities that has material with the same colour.

    That's what I don't know how to do: If I could select all the entities with the same color and then isolate only those entities I could see which ones had the "wrong" color so I could change it.
    Very belated update:

    Karen Walkerman has done just what I requested above.
    http://forums.sketchucation.com/viewtopic.php?t=31378
    Thanks again Karen πŸ‘

    i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

    1 Reply Last reply Reply Quote 0
    • D Offline
      dedmin
      last edited by 30 Nov 2010, 20:45

      Is it possible to change just the material of the picked face?

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 30 Nov 2010, 20:50

        @dedmin said:

        Is it possible to change just the material of the picked face?

        Can't you just paint it ??

        TIG

        1 Reply Last reply Reply Quote 0
        • D Offline
          dedmin
          last edited by 30 Nov 2010, 21:04

          The beauty of this tool - You don't have to open a component to change the material of the faces.
          But it changes all the material in the whole model - not just the face You click on.

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 1 Dec 2010, 09:35

            @dedmin said:

            The beauty of this tool - You don't have to open a component to change the material of the faces.
            But it changes all the material in the whole model - not just the face You click on.

            BUT your question was to change the material of the picked face !
            You mean to change the material of the picked face INSIDE THE GROUP/INSTANCE !
            It couldbe done... but I must leave it to others......

            TIG

            1 Reply Last reply Reply Quote 0
            • D Offline
              dedmin
              last edited by 1 Dec 2010, 10:56

              Yes, inside the group or component. And only of that picked fase.

              1 Reply Last reply Reply Quote 0
              • L Offline
                lcbrewer
                last edited by 2 Dec 2010, 06:14

                How do you install this plugin

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 2 Dec 2010, 06:56

                  Open the zip file and drop the .rb file and the folder with it into the Plugins folder where SketchUp is installed.

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bagatelo
                    last edited by 25 Jan 2011, 21:13

                    It would be possible to create a function swap some materials? Something like this:
                    Imagine a blue box and a red ball. We play the plugin, we click on the box and after the ball, and the colors are reversed. It would be interesting too, if it were possible to exchange materials not in the whole scene, but only on selected objects. Thanks for this fantastic tool.

                    While the cat's away, the mice will play

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cobb89
                      last edited by 12 Mar 2011, 02:00

                      Is there any way we can use this plugin to replace a specific material [.skm]..that has been used in the model with vray materials [i.e. .vismats]...??

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 14 Mar 2011, 09:46

                        @cobb89 said:

                        Is there any way we can use this plugin to replace a specific material [.skm]..that has been used in the model with vray materials [i.e. .vismats]...??

                        Use V-Ray's material editor. Right click a material and Import

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jarynzlesa
                          last edited by 24 Mar 2011, 13:59

                          thank you for this plugin, i found this very useful. πŸ‘

                          http://www.vizualizaceschodiste.mypage.cz/

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Bob James
                            last edited by 1 May 2011, 20:49

                            This sort of ties in with the current thread:
                            http://forums.sketchucation.com/viewtopic.php?f=79&t=36987

                            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                            1 Reply Last reply Reply Quote 0
                            • dereiD Offline
                              derei
                              last edited by 24 Jun 2011, 06:42

                              As I can see, this plugin replaces a material globally in entire model. It would be awesome to have option to replace material on a specific object only. πŸ‘
                              Will you take into consideration my suggestion?
                              Thank you.

                              DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 24 Jun 2011, 07:44

                                @unknownuser said:

                                As I can see, this plugin replaces a material globally in entire model. It would be awesome to have option to replace material on a specific object only. πŸ‘
                                Will you take into consideration my suggestion?
                                Thank you.

                                You probably need http://forums.sketchucation.com/viewtopic.php?p=63629#p63629 [my olde Global_Material_Replacer.rb tool] - it is dialog driven to choose the material to go and material to use - including 'All' and 'Default-front/back'. It swaps materials in the entire model's active_entities collection, OR IF there's a selection on selected objects... It works inside 'containers'...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • dereiD Offline
                                  derei
                                  last edited by 26 Jun 2011, 10:27

                                  @tig said:

                                  You probably need http://forums.sketchucation.com/viewtopic.php?p=63629#p63629 [my olde Global_Material_Replacer.rb tool] - it is dialog driven to choose the material to go and material to use - including 'All' and 'Default-front/back'. It swaps materials in the entire model's active_entities collection, OR IF there's a selection on selected objects... It works inside 'containers'...

                                  As I could see, thomthom's plugin keeps UV mapping, when replacing materials, which is cool πŸ˜„. Does yours keeps UV ?
                                  When I use paint bucket tool to change the material on some object, the UV is reset.

                                  DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 26 Jun 2011, 10:45

                                    @unknownuser said:

                                    When I use paint bucket tool to change the material on some object, the UV is reset.

                                    Use the Entity Info to replace materials - then the UV is preserved.

                                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 Reply Last reply Reply Quote 0
                                    • dereiD Offline
                                      derei
                                      last edited by 26 Jun 2011, 19:58

                                      @thomthom said:

                                      Use the Entity Info to replace materials - then the UV is preserved.

                                      Thanks! I never used it.

                                      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 26 Jun 2011, 21:18

                                        @unknownuser said:

                                        [TIG] Does yours keeps UV ?
                                        When I use paint bucket tool to change the material on some object, the UV is reset.
                                        Like with Entity Info... my tool swaps the material but keeps the UV-mapping - so any rotated or scales/skewed textures stay unchanged, but the material uses a different image-file...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • dereiD Offline
                                          derei
                                          last edited by 27 Jun 2011, 07:43

                                          @tig said:

                                          Like with Entity Info... my tool swaps the material but keeps the UV-mapping - so any rotated or scales/skewed textures stay unchanged, but the material uses a different image-file...

                                          Will this affect Twilight metadata? If I change a "wood" material with a "metal" material, both with textures... will it render as "metal", or just the image is changed and uses metadata from initially "wood" ?

                                          DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

                                          Advertisement