sketchucation logo sketchucation
    • Login
    βŒ› Sale Ending | 30% Off Profile Builder 4 ends 30th September

    [Plugin] Select by Material, and Hide All Unselected

    Scheduled Pinned Locked Moved Plugins
    31 Posts 15 Posters 47.4k Views 15 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.
    • Bob JamesB Offline
      Bob James
      last edited by

      This is exactly the tool I've been looking for πŸ‘

      BUT: I selected a material (clicked on it to make it the current material), clicked on "Material Selection" in the Plugins drop-down list....but nothing happens 😲
      The material I selected was within a group: is that the problem?

      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
      • CadFatherC Offline
        CadFather
        last edited by

        Bob, make the material active in the material browser

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          πŸ‘
          It can be ver useful when someone is modelling for GE for instance, too (like in this topic).
          Models sometimes get rejected for "incomplete texturing" when the modeller misses to texture a face or two somewhere in the model.

          Gai...

          1 Reply Last reply Reply Quote 0
          • K Offline
            kwalkerman
            last edited by

            Thanks for all the positive feedback.

            Bob - the tool should work to select materials within groups. However, if you are currently in component or group edit mode, it will only look at entities within the current workspace. Try exiting all components and running the plugin again. If this doesn't work, try it on a simple model... and let me know how it goes.

            CadFather - I can add something like this... Just give me a few days. Weekends are for construction.

            --
            Karen

            1 Reply Last reply Reply Quote 0
            • CadFatherC Offline
              CadFather
              last edited by

              thanks Karen and take your time..

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

                In the attached picture I have:

                1. Clicked on the tile material in the model
                2. Noted that there are 46 faces with this material
                3. Clicked on the tile material in the Material Editor
                4. Clicked on Material Selection in the Plug-ins

                Nothing selected-nothing hidden ❓


                Material Selection.png

                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
                • CadFatherC Offline
                  CadFather
                  last edited by

                  there are 2 menus in the plugins, one to select and one to hide - they don't work together at once

                  but it all works fine on my SU8, WinXP

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kwalkerman
                    last edited by

                    The more I think about the option to 'get' the material under the cursor, the less it makes sense to me to add it into the plugin. I really like the fact that you can choose a material from the materials browser for selection. This way, you can choose to select something that you don't want in your model (or can't find), such as unpainted surfaces.

                    If you left the current functionality, and added the ability to get the material under the cursor, this would add a step to the process, which makes it no better than doing the following:

                    1. Pick a material with the built-in SU picker
                    2. Select materials

                    Let me know what you think.

                    --
                    Karen

                    1 Reply Last reply Reply Quote 0
                    • CadFatherC Offline
                      CadFather
                      last edited by

                      Hi Karen, i was thinking it could be fast right-clicking and select by material - though this way works just fine

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kwalkerman
                        last edited by

                        Bob - I sent you a PM, asking to see the model you are having difficulty with. Did you get everything figured out?

                        --
                        Karen

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          Ben Ritter
                          last edited by

                          Karen, thank you. Great!

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Ben Ritter
                            last edited by

                            Karen,

                            I have the same problem as Bob. Other materials are not hiding. I'm using version 8. I tried it with the default entity Susan. Ben

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

                              Karen,
                              Thanks for the offer to look at my model, but I think I have it now:
                              So the sequence is to make the material active, use "Material Selection" and then use "Hide All Un-selected".

                              CadFather: I did not see the other entry in the plugin list: "Hide All Un-selected".

                              That's sort of an unusual approach. I would suggest that the "Material Selection" entry have a fly-out menu for the Hide option.


                              Plugins-Material Selection.png


                              Plugins-Material Selection.png

                              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
                              • K Offline
                                kwalkerman
                                last edited by

                                Bob (and CadFather),

                                I wanted to leave them separate because I thought 'hide all unselected' could be useful for other applications... But I think I can figure out a fly-out.

                                --
                                Karen

                                1 Reply Last reply Reply Quote 0
                                • CadFatherC Offline
                                  CadFather
                                  last edited by

                                  i for one prefer them separate

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

                                    You rock!! I'm finishing up a huge model and just this morning I was thinking I wonder if there is anything that could... well, do what this ruby does!! THANK YOU!!

                                    [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

                                      @cadfather said:

                                      i for one prefer them separate

                                      I yield to the power πŸ˜„ (As long as they stay together in the plugin list)

                                      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
                                      • A Offline
                                        ahnvtk
                                        last edited by

                                        This is useful, thanks. πŸ‘

                                        One limitation: it seems as if this will only select faces with a material if both sides of the face contain the material. For inconsistently textured scenes that would mean the material is overlooked.. Maybe it could have two modes: one where it will select only faces with the material on both sides, and another that selects faces if the material is on either side?

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kwalkerman
                                          last edited by

                                          Right now it looks only at the front side. I could do another run that looked at the back side, if that would help?

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

                                            @kwalkerman said:

                                            Right now it looks only at the front side. I could do another run that looked at the back side, if that would help?

                                            (Extremely late in reply - sorry)

                                            Yeah, that would help - and then two options or modes depending on the result. 1) If the material on the back side is the same as the front, group it with everything else that has that material. or, 2) If the material on the back side is different, group it separately (in a group with all faces that have this back/front combination). That would be great.

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

                                            Advertisement