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

Permanent Window Cut Plugin?

Scheduled Pinned Locked Moved Plugins
34 Posts 10 Posters 5.6k Views 10 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.
  • E Offline
    EarthMover
    last edited by 11 Sept 2010, 03:40

    I noticed that it fails if you resize the component using Fredo Scale, but not if you resize using the native scale tool. Something I'll have to be mindful of since I have my scale shortcut set to Fredo's tool and barely ever use the native one.


    Component Punch test.jpg

    3D Artist at Clearstory 3D Imaging
    Guide Tool at Winning With Sketchup
    Content Creator at Skapeup

    1 Reply Last reply Reply Quote 0
    • D Offline
      dtrarch
      last edited by 11 Sept 2010, 23:39

      hi EM

      Tried with no other script installed on SU 8 pro on desktop (XP Pro) and SU 8 free on my laptop.(Win 7 family pro)
      (made sure that sketchup.rb was there too per script req)

      The sketchup.rb is a copy of the one on version 7.1 that works like a charm.
      version info:for script

      Author : Bill Wood at wh.wood@ntlworld.com

      Usage : Select component(s) on faces and run

      Date : April 2006 - May 2009

      Test made on hole cutout.skp

      Script shows up on plugin menu but no luck on select/execute.?

      Too bad to not have this one work for sure.
      Thanks for taking another look too.

      dtr

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 12 Sept 2010, 00:24

        It should not work for anyone. It tries to call the .entities method on a ComponentInstance.

        So for the folks where it does work, you have some other plugin installed that is defining a .entities method for ComponentInstances.

        Here is the corrected version.


        componentpunch.rb

        Hi

        1 Reply Last reply Reply Quote 0
        • D Offline
          dtrarch
          last edited by 12 Sept 2010, 02:42

          Jim

          Thanks a bunch.
          A real bread and butter app and now works as advertised.

          Good of you to intercede. ๐Ÿ˜„

          dtr

          1 Reply Last reply Reply Quote 0
          • M Offline
            mitcorb
            last edited by 12 Sept 2010, 02:50

            Jim: 2 questions
            Will this be listed in the Extensions Index?
            Should this thread be retitled?

            And thank you for the revision.

            I take the slow, deliberate approach in my aimless wandering.

            1 Reply Last reply Reply Quote 0
            • E Offline
              EarthMover
              last edited by 12 Sept 2010, 22:42

              It's nice to rediscover these obscure and rare plugins and find them so useful. This one in particular as it was buried in a thread and never even got it's own post. If it were still in development, I would ask that a one step undo be added.

              3D Artist at Clearstory 3D Imaging
              Guide Tool at Winning With Sketchup
              Content Creator at Skapeup

              1 Reply Last reply Reply Quote 0
              • P Offline
                pilou
                last edited by 12 Sept 2010, 23:58

                Crazzy plug ๐Ÿ˜Ž
                Just a note if you copy move the component after one use of Component Punch
                this one don't work again with this component moved! ๐Ÿ˜ฎ
                Seems component "Glue" state is losted โ“

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

                1 Reply Last reply Reply Quote 0
                • E Offline
                  EarthMover
                  last edited by 13 Sept 2010, 00:46

                  Pilou,

                  Seems you have to reglue the window (ThomThom's Superglue plugin) and then choose "make unique" and the window will punch properly after that. Although it does still lose it's orientation to glue to other horizontal planes.

                  3D Artist at Clearstory 3D Imaging
                  Guide Tool at Winning With Sketchup
                  Content Creator at Skapeup

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 13 Sept 2010, 09:25

                    Thx I will see that ๐Ÿ˜„

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pilou
                      last edited by 13 Sept 2010, 10:31

                      That's works ๐Ÿ˜‰

                      http://forums.sketchucation.com/download/file.php?id=54431

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

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 13 Sept 2010, 10:55

                        You can modify the code so that if does retain the hole punching property of the component - but the punched hole doesn't move with it...

                        Line #186... add a # so it reads #comp.glued_to = nil - from now on after a restart of SUp any newly punched-component will continue to make a hole in the same face as before.

                        This very tool actually forms the basis of a hole-puncher I have had on a back-burner for many months...
                        Imaging a variant of this tool with a few tweaks, such as -

                        Operated from the right-click context-menu if the selection contains suitable components that punch a hole in a 2D face...

                        Retaining the component's hole-punching properties in the original face.

                        Ability to limit the punched hole's "depth" [say 500mm/20" - adjustable perhaps by right-click dialog], so that if it's a component placed on a single skin wall face then there isn't a hole punched right across the room!

                        A way of linking the faces of the punched hole's "reveals" to the punching-component - using id attributes based on a time+rand id-stamp, and suitable observers attached to the component/reveal's-geometry - both at startup of tagged items if preexisting and as they are punched/made - so that then if you Move/Scale/Rotate a punching-component its associated reveal's-geometry transformation is adjusted to suit [that is, the 3D hole moves with the punching-component]; and also if you erase the punching-component the reveal's-geometry goes too [perhaps with a dialog asking if you want to keep the punched hole(?)]; and if you erase any part of the reveal's-geometry all of the reveal's-geometry erases - but perhaps with a dialog asking if you really want to do that, OR to recreate the punching-component's hole [therefore keeping the attribute linking]; if you Move the face containing the inner reveals hole then the reveals will stretch to suit automatically; if you distort [e.g. Scale] the edges forming the inner-hole of the reveal then this does not affect the rest, but if you Scale/Move the edges forming the outer-hole of the reveal [i.e. in line with the punching-component] then it does the same to the punching-component - e.g. moving it or scaling it to suit the changes - perhaps with a dialog asking if you want to do that...

                        The reveal's material etc should match those of the inner face so that the outer wall face material is not used incorrectly;...

                        Comments on this welcome... It's just I never finished tidying up my code for publication... โ˜€

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          EarthMover
                          last edited by 13 Sept 2010, 12:11

                          Thanks TIG the code tweak fixed the issue with the windows retaining their cutting and gluing attributes. The plugin you are working on sounds like a winner. I like the idea of defining punching depth. This would allow punching through single surface walls without coming out the other side. I also love the idea of being able to make changes to the components and having it reflected in the hole. Another option, if doable, would be the ability to "heal" the punch and delete the component leaving no trace of a hole. Sounds similar to the double cut plugin ThomThom was working on.

                          3D Artist at Clearstory 3D Imaging
                          Guide Tool at Winning With Sketchup
                          Content Creator at Skapeup

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 13 Sept 2010, 12:14

                            DoubleCut ๐Ÿ˜ฒ ๐Ÿ˜•

                            walks off to a corner, huddles up rocking

                            Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 13 Sept 2010, 12:21

                              I know that tt and I are working in parallel - and parallel lines never meet!
                              Several others - including Didier have also had ago and given up... ๐Ÿ˜’

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • U Offline
                                utiler
                                last edited by 13 Sept 2010, 22:33

                                This has been a feature request for future SU releases I don't know why it hasn't been taken seriously by Google. During 3D Basecamp a few weeks ago I discussed just this with a few Googlers and pointed out that with the inclusion of solid tools in V8 it makes sense that this should be the next step.

                                I am aware we are talking about two different things in solids and components but there are similar outcomes.

                                Assume 100mm walls are modeled and grouped. chose component [door/window, DC even...] and select insertion point. Ideally the component will be created to suit 100 thick walls so when inserted both wall planes are cut at the reveals.

                                Move the window and the reveal moves with it. Edit the DC attributes to change height of the door and the reveal changes with it. Remove the door and the wall planes clean up....

                                If this could be done, it would take SketchUp into a new dimension IMO.

                                purpose/expression/purpose/....

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 13 Sept 2010, 22:37

                                  I have decided to work on it 'now' [rather than later]... already it's better than the 'base-tool' - e.g. the reveal faces now match the inner face's properties...
                                  Watch this space - or its sibling thread............

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Rich O Brien Moderator
                                    last edited by 13 Sept 2010, 23:20

                                    That's great news, a much needed tool

                                    Download the free D'oh Book for SketchUp ๐Ÿ“–

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pilou
                                      last edited by 14 Sept 2010, 00:04

                                      Ay yes the famous line 186 makes the trick ๐Ÿ‘

                                      http://d9.img.v4.skyrock.net/d97/stock-car-du-sud/pics/1357430234_small.jpg
                                      ๐Ÿ˜‰

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

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pilou
                                        last edited by 14 Sept 2010, 00:42

                                        Edit ๐Ÿ˜ฎ
                                        Yes you can copy it on the same face, but not on another perpendicular face! ๐Ÿ˜•
                                        Glue is losted again ๐Ÿ˜’ ๐Ÿ’š

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

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          EarthMover
                                          last edited by 14 Sept 2010, 03:42

                                          Quick vid using component punch and 1001bits to make windows with mini blinds. http://www.screencast.com/t/MTU5NDAw

                                          3D Artist at Clearstory 3D Imaging
                                          Guide Tool at Winning With Sketchup
                                          Content Creator at Skapeup

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

                                          Advertisement