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

    [Plugin] Material Replacer

    Scheduled Pinned Locked Moved Plugins
    73 Posts 39 Posters 79.2k 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.
    • thomthomT Offline
      thomthom
      last edited by

      Should now be picking the material from the side of the face visible to the user.

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

      1 Reply Last reply Reply Quote 0
      • P Offline
        pichuneke
        last edited by

        Thanks, I will test the plugin this weekend, it seems very interesting.

        Your cookie:

        COOKIE.jpg

        Forgive my spanglish...

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          what a delightful virtual cookie.

          Now... if I can only fit my monitor inside my mouth?

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

          1 Reply Last reply Reply Quote 0
          • P Offline
            pichuneke
            last edited by

            In fact I was eating cookies while I was reading you, I have been working with my scanner all the week making pdfs for my work, and I couldn't resist the temptation to scan one cookie for you! 😄

            Forgive my spanglish...

            1 Reply Last reply Reply Quote 0
            • EarthMoverE Offline
              EarthMover
              last edited by

              Thanks TT! Trying to limit the number of new plugins I download, but this one looks useful!! Keep up all you great scripting efforts....it's definitely appreciated!

              3D Artist at Clearstory 3D Imaging
              Guide Tool at Winning With Sketchup
              Content Creator at Skapeup

              1 Reply Last reply Reply Quote 0
              • A Offline
                agrazdi
                last edited by

                Any plans to get an icon for this great plugin ?

                Thanks

                agrazdi

                1 Reply Last reply Reply Quote 0
                • simon le bonS Offline
                  simon le bon
                  last edited by


                  http://www.lejapon.fr/blog/images/japan_life2008/IMG_5340.jpg

                  and this is mine dear thomthom 👍 👍

                  simon

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nomeradona
                    last edited by

                    definitely a time saver. thanks thom2

                    visit my blog: http://www.nomeradona.blogspot.com

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      Don't yet tested but if I understand you are not obliged to pass with the bucket tool for have the eye dropper?
                      here my Proust's madeleine 😉

                      http://dd.img.v4.skyrock.net/ddc/lemonzrh/pics/2314562571_2.jpg

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • bagateloB Offline
                        bagatelo
                        last edited by

                        I thought about an additional function in this plugin that may be useful for a lot of people.
                        The plugin would create several squares (or plans, or boxes) in the scene, in a separate place, maybe in separate tab.
                        The of number of the squares (or plans, or boxes) it would be the same as the number of the materials in the scene.
                        In each one of them it would be applied a material. The objective of this function would be the one of to join identical materials or to join similar materials in the scene, reducing the number of materials in the scene. That would aid a lot in the moment of preparing the materials for rendering.
                        Another interesting function would be to erase all of the squares and to recreate all from materials purged.
                        That would be very special for me. Please, think with love about this possibility.

                        While the cat's away, the mice will play

                        1 Reply Last reply Reply Quote 0
                        • bagateloB Offline
                          bagatelo
                          last edited by

                          Another interesting thing would be if it was possible to change materials just in the selected objects.

                          While the cat's away, the mice will play

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            Excellent ideas! 💭 👍

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

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rv1974
                              last edited by

                              Thomtom huge thank you!
                              2 things that would make this script a dream come true:

                              1. To be able to make the 'first eyedropper click' a multiple one (with control key)- to select a set of materials to be replaced.
                              2. To insert material editor into the picture. I mean ability to select materials (to be replaced\replacement candidate) both in model and mateditor.
                                Almost forgot: 😄

                              92743-0-0-2.jpg

                              1 Reply Last reply Reply Quote 0
                              • McGyverM Offline
                                McGyver
                                last edited by

                                Very cool! Thank you!


                                wlcookie.jpg

                                [Visit My ShareCG Freebie Gallery](http://www.ShareCG.com/pf/full_uploads.php?pf_user_name)

                                1 Reply Last reply Reply Quote 0
                                • Bob JamesB Offline
                                  Bob James
                                  last edited by

                                  I have a real need for something very similar to bagatelo's request.

                                  I have a need that doesn't seem to fit "Select by Material" or "Material Replacer" or "Repaint" or "GlobalMaterialChange".

                                  In the development of my major models I was not very consistent with color application. As I've learned more and have gotten much more involved with rendering (TwiLight originally and now Thea) the actual colors are very important.

                                  What I would like to be able to do is select a material/color that is in the model from the materials dialog (or something like bagatelo's idea) and then be able to select all objects that have that color/material. Then I need to be able to isolate them so I can see what's been selected, and, finally, with all of these selected, I can change their color. But I need to know which objects, groups, components are that color so I don't accidentally change one that I don't want changed.

                                  Does anyone have an idea of how to do this or even if it could be done?

                                  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
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    One can select all entities that has material with the same colour.
                                    However, this isolation - not quite sure what you mean there. You mean hide all other faces/edges?
                                    Can't think of nay other way to isolate. You do have the Hide Rest of Model feature in SU, but then everything would need to be inside a group/component - and the API doesn't let us upen up groups etc...

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

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      Dragoonprogramming
                                      last edited by

                                      someone buy thomthom a cookie at base camp and take a picture of it 😄

                                      "...And if he says that one more time i'll punch him right in the throat" - Armstrong and Getty
                                      My website http://dragoonprogramming.weebly.com/

                                      1 Reply Last reply Reply Quote 0
                                      • thomthomT Offline
                                        thomthom
                                        last edited by

                                        I'm not going to Basecamp... 😞

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

                                        1 Reply Last reply Reply Quote 0
                                        • Bob JamesB Offline
                                          Bob James
                                          last edited by

                                          @thomthom said:

                                          I'm not going to Basecamp... 😞

                                          Bummer 😢

                                          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
                                          • Bob JamesB Offline
                                            Bob James
                                            last edited by

                                            @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
                                            • 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