• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Request] Script to produce window openings in walls

Scheduled Pinned Locked Moved Plugins
9 Posts 6 Posters 1.0k 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.
  • P Offline
    Paul Russam
    last edited by 13 Aug 2009, 16:04

    Hello All,
    I've a small request for a script to punch holes in walls.
    I've attached a multi scene model to show the current steps I go through to get what I want, Its a tedious process that's the same each time except for opening size, position, wall thickness, cill size etc.

    I've written 1 script before but I've forgotten just about everything and would have to start learning all over again which sadly, I don't have the time or energy for.

    Does anybody want to have a go?

    Thanks for looking, Paul


    Window Opening Script request.skp

    Paul Russam
    English doesn't borrow from other languages. It follows them down dark allies, knocks them over, and goes through their pockets for loose grammar.

    1 Reply Last reply Reply Quote 0
    • M Offline
      mirjman
      last edited by 13 Aug 2009, 17:27

      i wonder if you could model the window recesses/sills/surrounds as a dynamic component. This way, you could just place your dynamic component, and only have to cut out the front and back of the wall manually (or can you include a dynamic component that cuts holes as well?)

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 13 Aug 2009, 21:10

        There have been several attempts to double-cut twin-skinned walls with 'openings'.

        I have my own version that works OK for what I need, but it needs components pairs... for the outer-opening and inner-opening that are then inexorably linked together by observers... thus it doesn't work on general cutting elements without work - Didier Bur had something similar...

        Mine isn't for general release yet, but...

        TIG

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 14 Aug 2009, 07:17

          1001bit plugin has a feature like that. http://www.1001bit.com/products/opening.shtml

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

          1 Reply Last reply Reply Quote 0
          • P Offline
            Paul Russam
            last edited by 14 Aug 2009, 09:21

            How about instead of trying to cut the 'tunnel' in the wall like a normal pushpull would do, the script builds the required faces instead.

            Dialog prompts for defaults:
            ..Reveal depth
            ..Outer cill width
            ..Outer cill height
            ..Outer cill depth
            ..etc

            1.Select 2 points of rectangle on outer skin of wall
            2.Delete new face
            3.Find inner skin of wall
            --(the thickness of the wall)
            4.Draw identical rectangle on inner skin
            5.Delete new face
            6.Build 4 faces of outer reveal from outer skin to specified depth
            7.Get and apply outer skin material to new faces
            8.Build 4 faces of inner reveal
            --(variable depth to match unknown wall thickness)
            9.Get and apply inner skin material to new faces

            Obviously I've missed out all the steps for the cill etc but as a method would this work? The only thing I see a problem with is step 3, finding the inner skin.

            Paul Russam
            English doesn't borrow from other languages. It follows them down dark allies, knocks them over, and goes through their pockets for loose grammar.

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 14 Aug 2009, 09:36

              You might be interested in one of my plugins I got in the working: http://forums.sketchucation.com/viewtopic.php?f=180&t=19011
              NOTE: you shouldn't use the plugin posted in that thread - it will cause bugplats. But I think I found the cause for it. I'm working around that.

              It's not a solution you can use right now - but it just illustrates what I want to achieve. Can't give any time estimate - things are a bit busy atm.

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

              1 Reply Last reply Reply Quote 0
              • P Offline
                Paul Russam
                last edited by 14 Aug 2009, 10:34

                Thanks Thom, that look interesting, Thanks also for the link to 1001 plugins.

                Paul Russam
                English doesn't borrow from other languages. It follows them down dark allies, knocks them over, and goes through their pockets for loose grammar.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MartinRinehart
                  last edited by 14 Aug 2009, 14:58

                  I think you will get 90% of what you want if you enlarge the window component's definition to window_and_all_the_surrounding_stuff. Cut a bigger opening and move in a window_and_all_the_surrounding_stuff and you're done. Ditto for doors.

                  http://www.martinrinehart.com/models/tutorial/images/09/window_complete.jpg

                  Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RickW
                    last edited by 14 Aug 2009, 16:19

                    Windowizer4 will cut the opening in the wall and create any storefront-type glazing for you. You can then quickly add the surrounds using a component or a Dynamic Component. You can also replace the window & frames with a pre-built component, if you want.

                    RickW
                    [www.smustard.com](http://www.smustard.com)

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

                    Advertisement