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

    [Plugin] Hole Punching Tool

    Scheduled Pinned Locked Moved Plugins
    200 Posts 43 Posters 219.8k Views 43 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      @moonray

      Let's assume you've installed it properly.
      There is NO Plugins-menu item or toolbar.
      If you right-click the context-menu has a submenu for the tool.
      Some items are enabled/disabled - depending on what is selected.
      If you have a component-instance selected that is gluing/cutting and glued to a face then you get the Punch option etc...

      Can you post a simple example SKP so that we can see what you have done...

      If you have not installed it properly, then you won't get the tool appearing in SketchUp at all.
      How did you install it exactly ? πŸ˜•
      Your post suggests that the file/subfolder have installed correctly into the Plugins folder... but this might be an illusion...
      Can you post a screen-shot of the folder, including its top bars in Windows Explorer...
      If you have limited access rights to your Plugins folder Windows can leave you thinking it's installed, but it's not! Limited security permissions is the default for folders inside the Program Files tree - it needs adjusting to allow you to add/manage plugins...
      A button/link in the window's top-bars saying 'Compatibility Files...' is a give away...
      To set up you Plugins folder correctly...
      As an admin [if you are not already one change your status in the Users Control Panel.
      Find the Plugins folder and select it
      Right-click
      Context-menu
      Properties
      Security
      Edit...
      set permissions to FULL [read/write] for all users/groups listed
      Apply/OK

      Also select the SketchUp.exe file [in the same folder] and in the same way...
      Properties
      Compatibility
      Tick the bottom check-box 'Run this Application as Administrator'

      Now you can add/manage your Plugins... β˜€

      TIG

      1 Reply Last reply Reply Quote 0
      • M Offline
        moonray
        last edited by

        Thank you for reply!
        Yes understand that it is should be ncontext menu (not simple)
        I have changed permitions to maximum rights both of exe file and plugins folder but
        I still haven't found what I am looking for.
        Please see my attached screens and the file.


        scene and screenshots of folders

        1 Reply Last reply Reply Quote 0
        • M Offline
          moonray
          last edited by

          It is OK! Thank you!
          It works perfectly!
          The reason was that i did not install the plugin inside sketchup itself, but just copied files to folders. I did not know that I am so stupid. 🀣
          Thankyou! β˜€

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

            Glad it's fixed.
            The RBZ is an archive and it's contents need installing into the Plugins folder... πŸ˜’

            TIG

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

              Hi
              I am having a real problem with getting the hole punching tool to work, I am obviously missing something
              I have added a sketchUp file of where I am with it
              I would like to thank you in advance for your help
              Regards
              David


              Hole Punching Test.skp

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

                @David

                You Component doesn't CUT a hole in its glued face, so how do you expect it to PUNCH one ??


                Capture.PNG

                TIG

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

                  TIG beat me to it but note the changes I made to your model.


                  Hole Punching Test.skp

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    Here's a future-proofed update.
                    http://sketchucation.com/forums/viewtopic.php?p=271170#p271170

                    TIG

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

                      This updated version makes the lingvo files compatible with v2014.
                      http://sketchucation.com/pluginstore?pln=HolePunchTool

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        garystan
                        last edited by

                        TIG :

                                Does the Hole Punchng Tool (plugin) require Sketchup 8 Pro ?  The reason I'm asking is because I have Sketchup 8 (Free).  When I downloaded this plugin, Sketchup said it was downloaded and installed.  But, apparently, it's not in my Plugins Folder (within Sketchup).   I checked and it is in the sdk folder inside of the Plugin Folder.  But, the documentation doesn't state where it's supposed to be downloaded to, or what version of Sketchup it works with.  With the Torus plugin, the documentation stated it would reside in the DRAW tab in Sketchup (which it is).
                        
                                                                                      garystan
                        
                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          If you read the usage notes... πŸ˜’

                          This tool only ever appears in the right-click context-menu.
                          The enabled items vary depending on what is currently selected...
                          From just 'set depth', to punch [if not punched], to undo/redo/unlink etc if it is punched...

                          It is about to be reissued [tomorrow?] after reports of an observer glitch preventing Move etc [selection auto-undo] if the selection contains a punched component...
                          This will be fixed shortly...

                          TIG

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

                            Here's an update in the PluginStore....
                            http://sketchucation.com/pluginstore?pln=HolePunchTool
                            v2.8 Fixes an observer glitch whereby the whole selection was cleared if a punched instance/reveal was in the selection and the active tool was changed. πŸ˜’
                            Turned out to be a simple typo 😳

                            Please update your installation...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              SSM
                              last edited by

                              Great tool but mine isnt working. After trying to place my window component, I right click to select "punch hole" but the only option I can select is "set depth". Thanks for any help in advance!

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

                                Is your component definition [door/window/etc] set up to both glue AND cut ?
                                It must cut a hole in its glued_onto-face BEFORE it can ever be considered for a 'punch'...
                                If not, then it will never work...
                                AND please remember that a cutting component definition must have its 'blue' axis [shown as a blue-X] perpendicular to its main geometry - i.e. so it 'lays onto the face that it is to 'cut'.

                                Post an example SKP with wall/instances so we can see what you have set up wrongly...............
                                πŸ˜•

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • mariochaM Offline
                                  mariocha
                                  last edited by

                                  After inserting doors and windows, which do cut openings, in some particular cases I would like the cut face to be copied and visible on the parent face, i.e outside the compo. Do you think part of your plugin could be used to get that ?

                                  %(#008000)[Mario C.
                                  Every rule has exceptions, but some.]

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

                                    @mariocha said:

                                    After inserting doors and windows, which do cut openings, in some particular cases I would like the cut face to be copied and visible on the parent face, i.e outside the compo. Do you think part of your plugin could be used to get that ?
                                    I don't fully understand the question...
                                    If you UNlink the cutting instance - context-menu - then it is no longer connected to the instance anyway ?
                                    Please explain what you mean/want = somewhat better...

                                    Or perhaps ex-the-tool - how about using "intersect" between the instance and face, then "unglue" the instance ??

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • mariochaM Offline
                                      mariocha
                                      last edited by

                                      Finally, I think your suggestion to intersect the compo with the face will be just fine. Thousand thanks ! πŸ˜„

                                      %(#008000)[Mario C.
                                      Every rule has exceptions, but some.]

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

                                        Maybe can help for some cases ?

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

                                        1 Reply Last reply Reply Quote 0
                                        • mariochaM Offline
                                          mariocha
                                          last edited by

                                          Dynamic components tend to get pretty complicated. They are mainly made of sub-components and groups.
                                          In order to have them cut opening, I add loose edges framing the opening I want.
                                          Some geometry, trimmings, extend outside the perimeter of those edges.
                                          And also, some geometry are hidden, depending on the user choice of options.
                                          So HolePunch is having a lot of problems with my complicated DCs.
                                          Looking at the code, I think I understand that it is adding all the faces of sub components and groups as punching elements. Too many overlapping geometry in my DCs, I think.
                                          Btw, your code is a huge lesson in high level SU Ruby API coding.
                                          So my question; Is a HolePunch variant taking only the cut-opening edges as punching elements a good idea ? If so, feasible ?
                                          PunchCutOpening.rb ? πŸ˜‰

                                          %(#008000)[Mario C.
                                          Every rule has exceptions, but some.]

                                          1 Reply Last reply Reply Quote 0
                                          • mariochaM Offline
                                            mariocha
                                            last edited by

                                            @mariocha said:

                                            Is a HolePunch variant taking only the cut-opening edges as punching elements a good idea ? If so, feasible ?
                                            PunchCutOpening.rb ? πŸ˜‰

                                            Ok, so as not to have anybody waste time over this, let it be known that I have done it. Well only proof of concept. Still a lot to do.
                                            It took a lot of reading of numerous post and I must thank TIG, TT, Dan, Driven, Jim, and others for their several replies to newbies questions and for their unscripted plugins from which one can learn a lot.
                                            Cookies to you all SU-Ruby masters. πŸ˜„

                                            %(#008000)[Mario C.
                                            Every rule has exceptions, but some.]

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

                                            Advertisement