• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Hole Punching Tool

Scheduled Pinned Locked Moved Plugins
200 Posts 43 Posters 219.8k Views
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.
  • J Offline
    JQL
    last edited by 11 Apr 2013, 21:29

    Dear TIG,

    I'm divided between using Hole Punch tool or Double Cutting Components to create openings.

    I've attached an image and .skp with details:

    http://www.casca.pt/varios/holepunchtool.jpg

    If Hole Punch Tool could automatically create steps 4 and 5 on image, we could have the best of both worlds.

    If by any chance you were able to adapt the observers(!?) you use to connect faces and components, and make them connect both components as in step 7,then Hole Punch Tool would be, in my modest opinion, a revolution in the way people model windows in Sketchup.

    Of course I'm totally incapable of coding, so I'll be looking forward for your reply... ansiously!

    Best regards,

    JQL


    Sketchup File Used for "wishlist"

    www.casca.pt
    Visit us on facebook!

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 7 Sept 2013, 16:16

      Here's an update http://sketchucation.com/forums/viewtopic.php?p=271170#p271170

      It cuts through multi-leaf walls and also into groups onto which a cutting instance is glued [but do NOT copy grouped punched-components because the reveals will not remain inside the group!]

      TIG

      1 Reply Last reply Reply Quote 0
      • J Offline
        JQL
        last edited by 12 Sept 2013, 23:07

        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 25 Sept 2013, 15:08

          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
          • T Offline
            TIG Moderator
            last edited by 25 Sept 2013, 15:50

            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 25 Sept 2013, 19:52

              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
              • T Offline
                TIG Moderator
                last edited by 26 Sept 2013, 08:54

                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 26 Sept 2013, 09:40

                  πŸ˜’ 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 27 Sept 2013, 08:29

                    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 30 Sept 2013, 14:23

                      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
                      • T Offline
                        TIG Moderator
                        last edited by 30 Sept 2013, 14:25

                        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 30 Sept 2013, 14:31

                          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
                          • T Offline
                            TIG Moderator
                            last edited by 30 Sept 2013, 14:49

                            @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 30 Sept 2013, 15:31

                              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 30 Sept 2013, 15:44

                                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
                                • T Offline
                                  TIG Moderator
                                  last edited by 30 Sept 2013, 17:04

                                  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 2 Oct 2013, 19:44

                                    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
                                    • T Offline
                                      TIG Moderator
                                      last edited by 2 Oct 2013, 21:05

                                      @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 2 Oct 2013, 21:17

                                        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
                                        • T Offline
                                          TIG Moderator
                                          last edited by 12 Dec 2013, 21:47

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

                                          TIG

                                          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