• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[Plugin] Select by Material, and Hide All Unselected

Scheduled Pinned Locked Moved Plugins
31 Posts 15 Posters 47.3k 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.
  • B Offline
    Bob James
    last edited by 2 Oct 2010, 09:05

    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
    • C Offline
      CadFather
      last edited by 2 Oct 2010, 09:35

      Bob, make the material active in the material browser

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gaieus
        last edited by 2 Oct 2010, 09:38

        πŸ‘
        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 2 Oct 2010, 13:01

          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
          • C Offline
            CadFather
            last edited by 2 Oct 2010, 13:48

            thanks Karen and take your time..

            1 Reply Last reply Reply Quote 0
            • B Offline
              Bob James
              last edited by 2 Oct 2010, 22:57

              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
              • C Offline
                CadFather
                last edited by 3 Oct 2010, 08:29

                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 3 Oct 2010, 21:59

                  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
                  • C Offline
                    CadFather
                    last edited by 3 Oct 2010, 22:22

                    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 4 Oct 2010, 14:34

                      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 4 Oct 2010, 15:19

                        Karen, thank you. Great!

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          Ben Ritter
                          last edited by 4 Oct 2010, 15:41

                          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
                          • B Offline
                            Bob James
                            last edited by 5 Oct 2010, 05:34

                            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 6 Oct 2010, 12:45

                              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
                              • C Offline
                                CadFather
                                last edited by 6 Oct 2010, 15:22

                                i for one prefer them separate

                                1 Reply Last reply Reply Quote 0
                                • McGyverM Offline
                                  McGyver
                                  last edited by 7 Oct 2010, 04:21

                                  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
                                  • B Offline
                                    Bob James
                                    last edited by 7 Oct 2010, 04:38

                                    @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 23 Dec 2010, 02:01

                                      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 12 Feb 2011, 19:17

                                        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 8 Jul 2011, 21:06

                                          @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