• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] MakeWindow v0.1

Scheduled Pinned Locked Moved Plugins
17 Posts 11 Posters 24.4k 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.
  • S Offline
    shaunco
    last edited by 15 Dec 2007, 08:17

    The attached script allows for the easy creation of window components (split in to interior and exterior components). This script is quite flexible in allowing for the creation of rectangular or arched top windows that are split in to any number of vertical and horizontal panes.

    A few notes up front:

    • This is my first SketchUp script
    • This is my first time writing Ruby (been professionally programming in C++ for 15 years)
    • My window "part" terminology is probably wrong
    • This is for creating window components ... my skills are not quite that of TIGs, so this script is not yet cool enough to place a window on an existing wall or to have prompts with dropdowns. For now, it creates windows as components - which can be replicated as needed
    • Please read the usage notes in the .rb file

    Feedback is encouraged!
    Please get the latest version from the PluginStore...http://sketchucation.com/pluginstore?pln=makewindow

    -Shaun

    1 Reply Last reply Reply Quote 0
    • S Offline
      shaunco
      last edited by 17 Dec 2007, 23:01

      No feedback? Is this at least working for anyone else?

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mike Lucey
        last edited by 18 Dec 2007, 01:38

        Shaun,

        I've downloaded and thank you for the script. I will have a go at it as soon as I can and get back to you.

        Mike

        Support us so we can support you! Upgrade to Premium Membership!

        1 Reply Last reply Reply Quote 0
        • D Offline
          Didier Bur
          last edited by 19 Dec 2007, 14:06

          Hi

          prompts = [$exStrings.GetString("Interior/Exterior [i/e] (materials)"),
          

          The use of '$exStrings.GetString' seems useless to me as long as there's no ".strings" file that come with the script. Or am I wrong somewhere ❓

          DB

          1 Reply Last reply Reply Quote 0
          • S Offline
            shaunco
            last edited by 19 Dec 2007, 19:26

            No, you didn't miss anything... Like I said, this is my first ever Ruby script. I copied the $exStrings.GetString() calls from the SketchUp examples not knowing exactly what it did 😕 . I will add a .strings file to the next revision.

            1 Reply Last reply Reply Quote 0
            • C Offline
              caddict
              last edited by 30 May 2008, 20:41

              Hi Shaun

              I've been working with your window script. It is useful and quite flexible. A few questions/comments:

              I don't get the interior/exterior idea? how do i easily unite the interior and exterior parts? why not make the whole window as one entity?

              the window is created inside a section of wall. this could be useful but maybe not necessary...what's your thinking behind this?

              not sure what you mean by cladding...do you mean architrave? that surrounds the window? If I set clad width to zero, it gives a strange result...an unwanted face appears across the whole window

              If you haven't lost interest, it is a useful tool and it would be great with a little fine tuning.

              hope it's useful feedback

              steve

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by 30 May 2008, 23:43

                Where is $exStrings defined? I must have moved the file. I think a lot of people just copy it blindly, and it just works for most users.

                Hi

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 31 May 2008, 15:33

                  Thanks Shaun.

                  A couple questions:

                  Why are you drawing a wall section along with the window?

                  I don't see any difference in an interior and exterior window?

                  Can you make it remember the previous values in the dialog?

                  Here's a couple shots of the UI and the windows it generates.


                  make_window_ui.jpg


                  make_window.jpg

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nsxdavid
                    last edited by 21 Feb 2010, 22:06

                    This plugin for making windows has been around for awhile, but thought I'd make an update or two.

                    This version remembers dialog values between uses. Makes this much easier to experiment with.

                    A couple notes:

                    The only difference between an interior and an exterior version fo a window seems to be how it names the component and the materials it creates. I guess so you can paint them differently (which makes sense, I suppose). Because it remembers dialog values now, it's easier to create the opposite version.

                    This works with SketchUp 7.1 without modification, by the way.

                    -- David


                    makewindow.rb

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      troyhome
                      last edited by 22 Feb 2010, 00:42

                      thanks!

                      IOviz.com
                      SU Pro 2024 PC

                      1 Reply Last reply Reply Quote 0
                      • 3 Offline
                        3eighty
                        last edited by 22 Feb 2010, 05:11

                        A big thank you..Now maybe I can see my soul...

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dkapotov
                          last edited by 6 Dec 2014, 14:44

                          Hello.
                          This plugin doesn't work in SU2015

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by 6 Dec 2014, 15:35

                            I just installed it from the RBZ in v2015 and it worked fine... [PC]
                            It appears under the Draw menu...

                            I would expect it to also work on MAC - the code is relatively simple and not OS-dependent ??

                            What issues are you having ?
                            How did you install it ?

                            Remember that it is ~5 years old, so there might better better solutions around by now...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              dkapotov
                              last edited by 4 Jan 2015, 20:42

                              I put it into Library > Application Support > SketchUp 2015 > SketchUp > Plugins

                              but with launching SU it show mistake


                              Mistake.png

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by 4 Jan 2015, 21:45

                                This Plugin is > 7 years old !
                                It's no longer supported, there are probably several better things available !
                                I've updated the PluginStore version to be cross-version compatible, by removing 'string' conversions across 'locales'...
                                http://sketchucation.com/pluginstore?pln=makewindow

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dkapotov
                                  last edited by 5 Jan 2015, 08:10

                                  Hi TIG.
                                  I try to install this plugin. Installation process done normally, but after I cannot find link in Plugins menu and in Toolbars.
                                  I installed it from Preferences window and Extensions part.
                                  Win7 64 Pro
                                  SU2015 Pro

                                  1 Reply Last reply Reply Quote 0
                                  • BoxB Online
                                    Box
                                    last edited by 5 Jan 2015, 12:06

                                    It becomes very frustrating for people who answer questions when people don't read what they say.

                                    @tig said:

                                    It appears under the Draw menu...


                                    Make window.gif

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

                                    Advertisement