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

    Plugin to make a hole in a group?

    Scheduled Pinned Locked Moved Plugins
    43 Posts 15 Posters 2.2k 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.
    • K Offline
      KrisM
      last edited by

      Yes. Three solid groups contained in a overall group which SU doesn't recognize as solid.
      Kris

      1 Reply Last reply Reply Quote 0
      • sdmitchS Offline
        sdmitch
        last edited by

        @krism said:

        Yes. Three solid groups contained in a overall group which SU doesn't recognize as solid.
        Kris

        It seems that it is easier punching holes in groups when they are not touching face to face.

        Could you post a sample to test with?

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

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

          ]Here are two instances of three solid groups which are grouped together. The group on the left are face to face. The group on the right are 1/64" apart. I can punch holes quite easily if I open the parent group. I can't punch a hole through the whole group from outside it. Solid tools don't work because the parent group isn't recognized as a solid. I've tried "Hole on Solid", TIG's Hole Punch and the hole tool in 1001bit. Non of these do what I'm looking for.
          Kris

          [attachment=0]Hole in Group.skp[/attachment


          Hole in Group.skp

          1 Reply Last reply Reply Quote 0
          • sdmitchS Offline
            sdmitch
            last edited by

            @krism said:

            ]Here are two instances of three solid groups which are grouped together. The group on the left are face to face. The group on the right are 1/64" apart. I can punch holes quite easily if I open the parent group. I can't punch a hole through the whole group from outside it. Solid tools don't work because the parent group isn't recognized as a solid. I've tried "Hole on Solid", TIG's Hole Punch and the hole tool in 1001bit. Non of these do what I'm looking for.
            Kris

            [attachment=0]Hole in Group.skp[/attachment

            I found a solution that works on groups I create but the groups, in the model you supplied, react like components in that the process of punching a hole in one causes holes to appear in the rest. Even in the other grouping so looks like you are stuck.

            Here is a short video to illustrate.

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

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

              Okay, that is weird. The 6 solid groups are copies of the initial group but they are definitely not components. They are created using normal SU tools and aren't anything special. Are your three groups copies or are they three individually created items?
              KrisM

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

                I also see that I did the sample file in 2013 (thought I had 2014 open). Is your file 2013 or 2014?
                KrisM

                1 Reply Last reply Reply Quote 0
                • JQLJ Offline
                  JQL
                  last edited by

                  Several copies of a group are considered as components (same definition) until they are edited somehow. That is the point they become individual entities (different definition).

                  Try double click to edit each group and they will become individual groups. I expect the plugin "wich seems great" will then behave as expected.

                  Feature suggestion?

                  Could that hole be turned into a double face cutting component?
                  Could that second face be diagonal to the first?
                  Could that hole cut through corners?

                  That would be the mantra for sketchup windows...

                  www.casca.pt
                  Visit us on facebook!

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

                    That is interesting and unknown to me up to this moment. Good to know. You should learn something new every day...Guess I'm good for today. I think this is another case of SkecthUp doing something which somebody thought was a good idea but which is contrary to logic. If I want something to behave as a component, I will make a component. I could make the same comment with regard to the Solid Tools.
                    KrisM

                    1 Reply Last reply Reply Quote 0
                    • fredo6F Offline
                      fredo6
                      last edited by

                      Kris,

                      By coincidence, I am working currently on a plugin that is dealing with holes and that would do this sort of cut across multiple groups / components, whether solid or not by the way.

                      Here is a first shot, but still some good efforts to come

                      Fredo

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

                        Fredo6,
                        This is great.If you wouldn't mind, could you do a test on the attached file. The walls were created with Building Structure Tool. The wall groups are composed of some solid group wall parts. There are some underlying attributes attached to the group to identify it as a BST structure which allows the BST tools to do various things. I don't know what this stuff is and don't know if your tool will work on the wall parts. It would be great if it did.
                        KrisM

                        MWall Test.skp

                        1 Reply Last reply Reply Quote 0
                        • cottyC Offline
                          cotty
                          last edited by

                          @fredo6 said:

                          Here is a first shot, but still some good efforts to come

                          Sorry, I don't know an english word to describe this... 👍

                          my SketchUp gallery

                          1 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            @krism said:

                            Fredo6,
                            This is great.If you wouldn't mind, could you do a test on the attached file. The walls were created with Building Structure Tool. The wall groups are composed of some solid group wall parts. There are some underlying attributes attached to the group to identify it as a BST structure which allows the BST tools to do various things. I don't know what this stuff is and don't know if your tool will work on the wall parts. It would be great if it did.
                            KrisM

                            [attachment=2:25vefbvo]<!-- ia2 -->MWall Test.skp<!-- ia2 -->[/attachment:25vefbvo]

                            Kris,

                            Looks like it works on your wall.

                            [attachment=1:25vefbvo]<!-- ia1 -->VisuHole - KrisM wall.gif<!-- ia1 -->[/attachment:25vefbvo]

                            [attachment=0:25vefbvo]<!-- ia0 -->VisuHole - KrisM wall 2.gif<!-- ia0 -->[/attachment:25vefbvo]

                            Fredo


                            VisuHole - KrisM wall.gif


                            VisuHole - KrisM wall 2.gif

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

                              @dave r said:

                              A group of solids isn't a solid so the plugin won't work. 😒

                              It is a solid in other programs, in Max for instance. And it makes life way easier.

                              @Fredo: This new coincidence looks amazing 😲
                              Could the Cutter have multiple (not connected) shapes?

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

                                @rv1974 said:

                                Could the Cutter have multiple (not connected) shapes?

                                is it planned to support the native Shift Projection mode?


                                jjjj.gif

                                1 Reply Last reply Reply Quote 0
                                • sdmitchS Offline
                                  sdmitch
                                  last edited by

                                  With Fredo on the job, I can stop wasting my time!!!!!!!!

                                  Nothing is worthless, it can always be used as a bad example.

                                  http://sdmitch.blogspot.com/

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

                                    Fredo,
                                    This is really good. I will wait patiently for your work to progress although my anticipation is at a high state at the moment.
                                    Kris

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      @rv1974 said:

                                      Could the Cutter have multiple (not connected) shapes?

                                      Yes, it should. Actually, I still have to buld the GUI to pick a stencil pattern from faces in the model, but multiple shapes is possible

                                      Fredo

                                      1 Reply Last reply Reply Quote 0
                                      • fredo6F Offline
                                        fredo6
                                        last edited by

                                        @krism said:

                                        The walls were created with Building Structure Tool. The wall groups are composed of some solid group wall parts. There are some underlying attributes attached to the group to identify it as a BST structure which allows the BST tools to do various things.

                                        I noticed a strange thing in the wall. It seems all normals are reversed and Sketchup is messed up with that. Very strange!

                                        EDIT: this has to do with how the groups were created. If you explode each group and then make them group invidually, this odd behavior disappears.

                                        Fredo

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

                                          Fredo,
                                          The only problem with exploding the walls is that they would no longer be recognized as a structure by BST and then you can't use the BST tools on them. The BST tools allow you to extend walls to other walls, extend to faces and mitre the corners. These are great tools but don't work on non BST objects. The only thing missing was a way to make holes in the walls which doesn't work with Hole on Solid but appears to work with your plugin.
                                          The wall in the sample file comes with BST (its called MWALL). You can actually create your own mwalls which is really the power of BST. I will look at a mwall I created and see if the same issue is present.
                                          KrisM

                                          1 Reply Last reply Reply Quote 0
                                          • fredo6F Offline
                                            fredo6
                                            last edited by

                                            Kris,

                                            I don't suggest you change anything. But it seems that all of these BST groups are systematically 'mirrored', that is one of their axes is reversed.

                                            And when you create a group within such 'mirrored' groups, it is also mirrored.

                                            Fredo

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

                                            Advertisement