sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    {Req] Hide Solids

    Scheduled Pinned Locked Moved Plugins
    12 Posts 3 Posters 530 Views 3 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.
    • kenK Offline
      ken
      last edited by

      Your plugin indicates there is a problem. However, with many parts nested, it is hard to tell just which part is not solid. I just wanted to drill down by selection and every time I hit a solid it disappears leaving me with just non solids. Now that I have a less complicated model, I can use the plugins designed to handle non-solids to make the required corrections.

      Thank you for your reply.

      Ken

      Fight like your the third monkey on Noah's Ark gangway.

      1 Reply Last reply Reply Quote 0
      • voljankoV Offline
        voljanko
        last edited by

        Hmm,not a bad idea. ๐Ÿ‘

        SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

        1 Reply Last reply Reply Quote 0
        • voljankoV Offline
          voljanko
          last edited by

          I have made it and tested it a little and is a very useful feature.The only thing that I miss is a good "UNHIDE ALL" button.
          Tomorrow I will send you the version of SuSolid plugin with the "Hide Solids" option in Settings menu.

          SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

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

            Two one-liners to copy/paste into the Ruby Console +<enter> to run them...
            To hide all active solids

            Sketchup.active_model.active_entities.each{|e|e.hidden=true if e.respond_to?(;manifold?) and e.manifold?}
            

            To show all active solids

            Sketchup.active_model.active_entities.each{|e|e.hidden=false if e.respond_to?(;manifold?) and e.manifold?}
            

            ๐Ÿค“

            TIG

            1 Reply Last reply Reply Quote 0
            • voljankoV Offline
              voljanko
              last edited by

              Hello Tig.
              What about nested solids?

              SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

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

                The last code only works on 'active_entities', as you can already hide everything outside of the current edit context using view settings...
                BUT to hide/show absolutely everything 'solid' both in the model and nested inside groups and definitions use these two one-liners...

                m=Sketchup.active_model;m.entities.each{|e|e.hidden=true if e.respond_to?(;manifold?) and e.manifold?};m.definitions.each{|d|next if d.image?;d.entities.each{|e|e.hidden=true if e.respond_to?(;manifold?) and e.manifold?}}
                

                and

                m=Sketchup.active_model;m.entities.each{|e|e.hidden=false if e.respond_to?(;manifold?) and e.manifold?};m.definitions.each{|d|next if d.image?;d.entities.each{|e|e.hidden=false if e.respond_to?(;manifold?) and e.manifold?}}
                

                TIG

                1 Reply Last reply Reply Quote 0
                • kenK Offline
                  ken
                  last edited by

                  Darn, I am overwhelmed.

                  Seems the solution is at hand.

                  voljanko, thank you for your reply and plugins.

                  TIG, thank you for your code. Every day a little bit more on the Sketchup ruby learning curve.

                  Ken

                  Fight like your the third monkey on Noah's Ark gangway.

                  1 Reply Last reply Reply Quote 0
                  • voljankoV Offline
                    voljanko
                    last edited by

                    Hello Ken,
                    I have sent to your email the version with your "Hide Solids" feature.
                    Please test it and if you confirm it, I will include it also in free version of SuSolid plugin, so everybody can benefit from your idea ๐Ÿ˜„

                    p.s.it would be better if you rename this thread to something more specific.Suggestion:"Hide Solids" ๐Ÿ˜‰
                    Edit: done TIG ๐Ÿ˜ฎ

                    SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

                    1 Reply Last reply Reply Quote 0
                    • kenK Offline
                      ken
                      last edited by

                      David

                      Thank for updating your plugin. The new "hide solid" is great for taking apart old models component/group by component/group that were not made correctly (solid) when first modeled.

                      Now I can cycle thought a project and make sure each and every part/component/group that should be a solid is solid. Not only does the plugin now hide parts that are solid, it give you and opportunity to correct each non solid.

                      Again thank you for the fast reply.

                      Hope everyone enjoys the new feature.

                      Ken

                      Fight like your the third monkey on Noah's Ark gangway.

                      1 Reply Last reply Reply Quote 0
                      • voljankoV Offline
                        voljanko
                        last edited by

                        Hello Ken,
                        thank you for the review and "approval" of the new feature of the SuSolid plugin.
                        And most of all, thanks for the great idea.
                        Now I have updated the free version of the plugin on my site http://www.SuSolid.com

                        How to use the new "Hide Solids" feature:
                        1.In "Settings" menu set the "Hide Solids" to "Yes".
                        2.Now when you click the "Analise" tool (or any solid repair tool) you will still see the magenta colored solids,but when exit the tool or re-click it,the solids will hide.
                        3.To unhide solids,just set the "Hide Solids" to "No" and the solids will unhide.

                        SuSolid.com - solid check - solid repair- solid intersection check - weight plugin

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

                        Advertisement