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

    [Plugin] "Drill" extension for making holes

    Scheduled Pinned Locked Moved Plugins
    36 Posts 22 Posters 35.1k Views 22 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.
    • utilerU Offline
      utiler
      last edited by

      This is great mate, well done!!
      I think though; is it possible to somehow enable SU snapping [end point, midpoint, etc...] and also inference locking?

      Many thanks!!!!

      purpose/expression/purpose/....

      1 Reply Last reply Reply Quote 0
      • C Offline
        cyan.archnet
        last edited by

        very interesting plugin, will give it a try, THANKS!

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

          very simple and efficient tool!! good

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

            sorry to bother the illuminatti with this, but something weird is happening to this plugin (edit: and others)

            Only seems to drill a hole size "1". I'm using a metric setup so the hole shows as 22.x mm, I assume it's defaulting to imperial units..?

            When ever I try to change the size, it still reverts and drills the hole size "1"

            more;.. oops.. just tried another plugin that had an input and that's not allowing a change - or at least taking any notice of what I write in the box.

            XP with v8

            I've broken something! I've tried the repair from install, if that doesn't work, I'll rip it all out and reinstall? but curious if this has been seen before and what caused it.

            Many thanks

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

              oh, as I have to "drill" about 1500 holes, THANK YOU for the plugin! 😄

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

                Thanks for the plug-in. It works at drilling a hole in my panel, but the diameter doesn't adjust, even though I'm entering a number in the vcd.
                I looked at the sript in notepad and see the diameter number. So why isn't the diameter changing? Any suggestions?

                Regards, Les

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

                  Les, are you hitting Enter after typing the new dimension value? it works for me.

                  This plugin doesn't seem to utilize inferencing which makes it difficult to accurately place holes. I'd find this a really useful tool if it did.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    Dave R,
                    Thanks for the suggestion on using the enter key. It works fine now.
                    I noticed that the unit of measure came up in the vcd also. In my case it is in millimeters.
                    tried several different hole sizes, from five millimeter to twenty millimeter, and all worked. This will work good enough for a model representation.
                    Thanks for your help.

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

                      I've edited the plugin to include snapping/inferencing. That was the deal breaker for me—without snapping, this plugin was not useful to me. But with it, I will be using this all the time!

                      Thank you to lunkwill (the original author) and TIG (another tweaker) for all their work!

                      Hope you find this as useful as I did.


                      Updated to include snapping/inferencing.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pants
                        last edited by

                        Does this really work for others?

                        I just installed the latest-gen plugin, and for me, it's got a drawback that makes it unusable: the diameter of the hole can't be changed. My various entries of different diameters do show up in the text-box, but I've been machine-gunning test-holes for a few minutes, and nothing about the diameter changes from one to the next, whether I've got "0.1" in the box or "11": all measure out at 0.875" (7/8"), which is the default hole-size.

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

                          @pants said:

                          Does this really work for others?

                          I just installed the latest-gen plugin, and for me, it's got a drawback that makes it unusable: the diameter of the hole can't be changed. My various entries of different diameters do show up in the text-box, but I've been machine-gunning test-holes for a few minutes, and nothing about the diameter changes from one to the next, whether I've got "0.1" in the box or "11": all measure out at 0.875" (7/8"), which is the default hole-size.

                          for me it is unstable

                          sometimes it works

                          most f the times it doesn't...

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

                            You must press <enter> after typing the new size?

                            Also that size is currently always defaulting to decimal inches.
                            BUT if you edit the file at:
                            @@drill_diameter = 0.875
                            to read
                            @@drill_diameter = 0.875**.inch*****
                            then it'll work with any units you have setup or you input, taking unsuffixed values as 'current units' or those with suffixes alternatively: so if you are working in inches but want one hole at exactly 1cm type that +<enter>...
                            ***If you normally work in say 'mm' change it to default to say '10mm' initially, if your model-units are mm then typing 12 + <enter> will make a 12mm hole...
                            I.E. @@drill_diameter = 10.mm

                            TIG

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

                              @tig said:

                              You must press <enter> after typing the new size?

                              Also that size is currently always defaulting to decimal inches.
                              BUT if you edit the file at:
                              @@drill_diameter = 0.875
                              to read
                              @@drill_diameter = 0.875**.inch*****
                              then it'll work with any units you have setup or you input, taking unsuffixed values as 'current units' or those with suffixes alternatively: so if you are working in inches but want one hole at exactly 1cm type that +<enter>...
                              ***If you normally work in say 'mm' change it to default to say '10mm' initially, if your model-units are mm then typing 12 + <enter> will make a 12mm hole...
                              I.E. @@drill_diameter = 10.mm

                              yes, it works now

                              i usually use meter as default unit

                              I changed "@@drill_diametre = 1" into " @@drill_diametre = 1.m" in the plugin, and typed "enter" after changing the diameter

                              thank you

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

                                I'm curious about why hitting the Enter key seems to be a problem with this plugin when Enter is so frequently used with the native tools and there are many other plugins that have the same requirement. The fellow who posted immediately above the post with the most recent revision had the same problem which was solved by hitting Enter.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

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

                                  @dave r said:

                                  I'm curious about why hitting the Enter key seems to be a problem with this plugin when Enter is so frequently used with the default tools and there are many other plugins that have the same requirement. The fellow who posted immediately above the post with the most recent revision had the same problem which was solved by hitting Enter.

                                  which default tools?

                                  the VCB, Ruby console, ...?

                                  most plugins input are made through a dialog box, and in this case, it is obvious: you click "OK" on the button

                                  With the VCB, there is no button... you are just supposed to know it is necessary to hit "enter"

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

                                    @unknownuser said:

                                    With the VCB, there is no button... you are just supposed to know it is necessary to hit "enter"

                                    Exactly. The native tools use the VCB and you have to hit Enter to make the setting. There are a lot of plugins which take their inputs via the VCB, Bezier.rb, BZ_Spline, Curvemaker, etc.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pants
                                      last edited by

                                      @glro said:

                                      @dave r said:

                                      I'm curious about why hitting the Enter key seems to be a problem with this plugin when Enter is so frequently used with the default tools and there are many other plugins that have the same requirement. The fellow who posted immediately above the post with the most recent revision had the same problem which was solved by hitting Enter.

                                      which default tools?

                                      the VCB, Ruby console, ...?

                                      most plugins input are made through a dialog box, and in this case, it is obvious: you click "OK" on the button

                                      With the VCB, there is no button... you are just supposed to know it is necessary to hit "enter"

                                      Yes, my mistake in not reading previous comments carefully - but as I think Glro indicates, in Sketchup, I have learned to resist what's usually the mistake of using an <enter> in the VCB, after getting used to all /other/ VCB uses (at least for me, thus far) virtually punishing me for what, in SU, is usually the MISTAKE of hitting <enter>. Yes, the <enter> requirement is typical of /other/ CAD software - and pretty much everywhere else in the world of data "entry," where nothing is "entered" until one hits "enter" - but I personally haven't used other plugins where this is the norm.

                                      Reading sloppily through the above exchanges, I'd taken the mention of using <enter> as "you did't make the mistake of using "enter," did you?" and then somehow completely missed the response - and that was before I'd installed the plugin a few hours later, by which time I'd forgotten all of that anyway.

                                      1 Reply Last reply Reply Quote 0
                                      • BoxB Online
                                        Box
                                        last edited by

                                        I'm not sure I understand how you can use SU and see hitting enter as a mistake. Enter is the norm.

                                        Draw a circle, type 29s enter and it is a 29 sided circle, draw a line and type 357mm enter and it is a line 357mm long, ctrl move type 5x enter etc etc etc

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

                                          David, like Box, I am confused as to how you think hitting the Enter key is a mistake. How in the world do you draw anything with precision if you aren't using Enter after typing values for the various operations you need to do? In fact there's no point in typing any values in the VCB is you don't hit the Enter key afterward.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            Pants
                                            last edited by

                                            I'm confused, too, looking back on this. I think it was low blood sugar and sleep deprivation that doubled me over, and the purple meth that did me in. Maybe my cat was walking on my keyboard, or...I don't know. I'd like to delete my first post here and all following, please. Where do I click for that?

                                            My bad.

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

                                            Advertisement