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.
    • JQLJ Offline
      JQL
      last edited by

      Tig,

      I'm sorry for being so persistent but, would it be possible if the plugin would turn the created hole into a "hole cutting component" too? It could then be glued to the opposite face of the wall and be easily manipulated...

      Thanks for your unbelievable work and sharing! Best regards,

      JQL

      www.casca.pt
      Visit us on facebook!

      1 Reply Last reply Reply Quote 0
      • A Offline
        ArCAD-UK
        last edited by

        Hi Tig, just downloaded 2.4 via the SCF loader and auto installed. Worked straight off and everything running as exected, but after closing SU and then restarting I get an immediate bugsplat. I've removed the HPT ruby and SU works (double checked). I see others don't have a problem with SU 2013 pro; where do I start to find the conflict as I would like this in my tool chest?

        I've attached my plug list just in case you recognise the culprit πŸ˜’


        Ruby plug list

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

          I have the same OS/SUp-version and most of those plugins [and many others] loading without issues with the operation of the HPtool, during a session and on a reopening of any SKP - either containing HP-compos or not etc ?
          I am sure it is none of my/SketcUcation plugins, and also the su_, twighlight, tt_ and the two profile-builder files seem safe.
          Start by looking at the other ??

          I am puzzled. πŸ˜•

          Sounds like an observers clash...

          Ensure that you have the latest version of all of these scripts installed...
          Then if it still splats...

          Then use the SketchUcation Plugin Store toolset's Plugins Manager to disable half of the plugins listed.
          it's easiest to do it in alphabetical-order list, so you can keep track of what you are changing...
          Reinstate the HPtool [.rb file]...
          Restart and see if it works.
          If so, swap the loaded/enabled & disabled 'halves' over [obviously leaving HPtool enabled - also never disable deBabelizer - that is used by HPtool and perhaps some other files...].
          Restart SketchUp and see if that now splats.
          If it splats, then we have the culprit in the loaded/enabled set.
          Temporarily rename the HPtool .rb file in the Plugins golder with a final '!' [to disable it].
          Restart and try disabling half of what's still enabled [leaving the HPtool enabled] and restart.
          If it splats then the culprit is still loading, repeat as above disabling half at a time until you zoom in on the culprit.
          If it does NOT splat then the culprit is in the partial set you last disabled, so re-enable half of those, restart to test etc...
          Repeat till the culprit is found.
          If there's not one I am stumped !

          It should only take a few iterations to find what's clashing...

          Let me know what's causing the issue ?
          Then we can look to correct it...

          TIG

          1 Reply Last reply Reply Quote 0
          • A Offline
            ArCAD-UK
            last edited by

            Hi Tig, I should have guessed the conflict is in add_hidden_layer which is quite useful but it was also a legacy file from here... http://sketchuptips.blogspot.de/2007/08/add-hidden-layer.html. Between the two HPT wins but it would be nice if AHL could be fixed easily.

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

              Jim's AHL is an old script [~6yrs] - it does some pretty simple stuff but has no observers, or other on-load code at all, except for setting up it's item in the menu.***

              I am at a loss to see what is happening to cause such a clash/splat... πŸ˜•
              The HPT has no layer manipulations and nothing that I can see to clash at all...
              When I add AHL to my Plugins folder and restart SketchUp I get no issues at all when opening SKPs - without without HP-compos etc !!

              As an alternative - there might be a similar tool within Didier Bur's 'Layer Manager'?

              Here are some possible 'fixes' for AHL - which of course I can't test because I can't get it to break ! πŸ˜’
              Try these in this order until you get a resolution ???
              ***The menu item creation is set up somewhat oddly:

              unless file_loaded?( "add_hidden_layer.rb" )
                  UI.menu.add_item("Add Hidden Layer") {AddHiddenLayer.start}
                  file_loaded("add_hidden_layer.rb")
              end
              

              so try rewriting it as:

              unless file_loaded?(__FILE__)
                  UI.menu("Plugins").add_item("Add Hidden Layer"){AddHiddenLayer.start()}
              end
              file_loaded(__FILE__)
              

              Then restart SketchUp and see if it starts OK with AHL & HPT loaded...
              Since AHL loads after HPL try renaming its .rb file with a leading # so that it loads beforehand - this might avoid the issue...

              TIG

              1 Reply Last reply Reply Quote 0
              • A Offline
                ArCAD-UK
                last edited by

                πŸ˜’ Apparently a completely fresh COLD boot this morning and everything is running again with both the hacked and original versions of AHL πŸ˜• Thanks for the help.

                Another excellent tool from the Master! 😍

                1 Reply Last reply Reply Quote 0
                • A Offline
                  ArCAD-UK
                  last edited by

                  Hi Tig, I was playing with this last night testing the boundaries. One thing that πŸ˜• me is I can create cutting components with complex geometry including projecting groups with faces flush with the cutting plane, but as long as there is an ungrouped "loop" of edges SU cuts as expected. In HPT as has been previously mentioned such a component can cause unexpected displacement if there are groups/components projecting from the cut plane.

                  I appreciate the "fix", I was just wondering if the HPT would benefit from a requirement for a single loop on the cutting plane and ignore all other group/component and non-cutplane entities which would be more in line with the native SU cutting process?

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    ArCAD-UK
                    last edited by

                    Hi TIG, I get regular bug splats if the Outliner is fully open e.g. displaying contents. Is there a fix or is this an SU problem? I've noticed with a number of plugs that the Outliner window goes manic with some processes but they don't always splat.

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

                      It's a know issue with any heavily processed tool.
                      Recommended that the Outliner is closed or at least rolled up when going intensive operations...

                      TIG

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

                        PLEASE HELP!
                        Hole punch menu does not appear after plugin installation and requred objects and component peparation. All required folders are ok. 😒
                        SKETCHUP 2013

                        1 Reply Last reply Reply Quote 0
                        • 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
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 8 / 10
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement