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

    [Plugin] MakeWindow v0.1

    Scheduled Pinned Locked Moved Plugins
    17 Posts 11 Posters 24.4k Views 11 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.
    • S Offline
      shaunco
      last edited by

      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

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

        1 Reply Last reply Reply Quote 0
        • Mike LuceyM Offline
          Mike Lucey
          last edited by

          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
          • Didier BurD Offline
            Didier Bur
            last edited by

            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

              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

                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

                  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

                    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

                      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

                        thanks!

                        IOviz.com
                        SU Pro 2024 PC

                        1 Reply Last reply Reply Quote 0
                        • 3 Offline
                          3eighty
                          last edited by

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

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

                            Hello.
                            This plugin doesn't work in SU2015

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

                              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

                                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

                                  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

                                    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 Offline
                                      Box
                                      last edited by

                                      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