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

    [Plugin] Lamella Roofs

    Scheduled Pinned Locked Moved Plugins
    63 Posts 25 Posters 47.9k Views 25 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.
    • T Offline
      timwarner
      last edited by timwarner

      A lamella roof is made up of many identical lamellas arranged in intersecting helical arches. It looks like this:

      https://lh6.googleusercontent.com/-lBogYgc9SMo/T94pSd8oeAI/AAAAAAAAAis/Bfoi5IWHTNQ/s868/IMGP0701.JPG

      I have created a plugin that generates a Sketchup model of such a roof, like this:

      https://lh4.googleusercontent.com/-Bny3x0D_QtM/T94s3sn74dI/AAAAAAAAAjM/Rr5L_umfoA0/s923/Screen+shot+2012-06-12+at+10.08.26+AM.png

      The plugin also supports the creation of a diagrid roof, where the lamellas are more-or-less co-planar, rather than staggered.
      The lamella_roof plug-in and documentation are attached. All comments very welcome.


      lamella_roof.rb


      Lamella roof plugin.pdf

      1 Reply Last reply Reply Quote 0
      • iichiversiiI Offline
        iichiversii
        last edited by

        Images dont show, but cheers for the plugin πŸ‘

        Bring on the Rain...

        1 Reply Last reply Reply Quote 0
        • Rich O BrienR Offline
          Rich O Brien Moderator
          last edited by

          Hi Tim,

          I fixed those image links....nice looking plugin BTW πŸ‘

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

          1 Reply Last reply Reply Quote 0
          • iichiversiiI Offline
            iichiversii
            last edited by

            Excellent... πŸ‘

            Bring on the Rain...

            1 Reply Last reply Reply Quote 0
            • T Offline
              timwarner
              last edited by

              Thx very much for fixing the image links, Rich.

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

                Nice Plugin Tim, thanks.

                Here is a good example of a Lamella Roof with loads of info on its construction.

                Hounslow East Underground Station Lemella roof, London, UK.

                http://research.ttlchiltern.co.uk/pif294/tdk/case%20studies/hounslow%20east%20timber%20lamella%20roof%20structure/01%20small.htm

                Mike


                Lamella_Roof.jpg

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

                1 Reply Last reply Reply Quote 0
                • T Offline
                  timwarner
                  last edited by

                  Indeed, a beautiful roof. Note though that this uses the Cowley connector http://www.cowleytimberwork.co.uk/connectors.htmlto line up the lamellas at the nodes, which is a bit fancy (and may be expensive). There are quite a few modern examples of lamella roofs, and I'm going to document them on my blog (http://www.lamellaroof.com - so far unpopulated; stay tuned!) I personally like the through-bolts, and the offset look.

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

                    Interesting. I very much like that first image you posted, Tim. Are the crowns on the pieces simple circular arcs?

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • EscapeArtistE Offline
                      EscapeArtist
                      last edited by

                      Reminds me of some of the beautiful wooden aircraft hangar roofs I've seen.

                      http://1.bp.blogspot.com/_xJWa77A8OSw/SuDcqC8eSSI/AAAAAAAAE4I/PPInLhwgz1U/s400/nervi+hangar+orvieto1.jpg

                      Works of art. I don't think too many survive to this day, I didn't see many pictures.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        timwarner
                        last edited by

                        To be precise, a section through the roof across its axis is circular, but the lamellas are skewed, so the edge is elliptical. However, to complicate things, there is a twist in the elliptical surface. If you run the plugin and inspect the lamella closely you'll see how it works.

                        Nervi designed aircraft hangars in this style. Also Junkers (of dive-bomber fame) designed a steel lamella system used by the British in WWII for over 100 hangars in RAF airfields scattered across the UK.

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

                          Interesting.

                          Any chance you could fix the script to use model units and make it accessible from a menu so the console isn't required?

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • Paul RussamP Offline
                            Paul Russam
                            last edited by

                            As Dave said +
                            If you run the script in an existing model the first thing it does is DELETE EVERYTHING!! 😲 😲 😲 and I do mean delete, not hide, not move, DELETE

                            Not good, not good at all

                            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
                            • GaieusG Offline
                              Gaieus
                              last edited by

                              @escapeartist said:

                              Reminds me of some of the beautiful wooden aircraft hangar roofs I've seen...

                              And reminds me of "perpendicular style" English Gothic vaults. πŸ˜‰

                              Gai...

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

                                @paul russam said:

                                As Dave said +
                                If you run the script in an existing model the first thing it does is DELETE EVERYTHING!! 😲 😲 😲 and I do mean delete, not hide, not move, DELETE
                                Not good, not good at all
                                That's because the OP [TimWarner] doesn't seem to realize that you can make your own Template that doesn't include Sang etc; so in line #50 he has
                                ents.clear! # Get rid of Sang
                                Which of course empties the model if you've already dome some modeling !
                                A disaster !!
                                BUT it's easily disabled to avoid it erasing your existing model 😲 - edit the file and change line #50 to read.
                                **#**ents.clear! # Get rid of Sang
                                so that it's now ignored β˜€

                                To avoid the clunky 'First run from the Console to install a menu item' [every time!]... the closing ' end' can simply be moved above the ' if...' that makes the menu entry so the menu is made as the script is auto-loaded πŸ˜•

                                Also it's best to make the dialogs' defaults dimensions as 'lengths' thus:
                                values = [1200**.l**,6000**.l**,20.0,6,2]
                                forcing it into 'inches', i.e. 100'x50' - which now displays in the current units.
                                If you're metricyou could use: [30.m,15.m,... etc anyway
                                Then you can leave those two 'lengths' alone as
                                height = results[0] span = results[1]
                                i.e. NO .to_f is needed as it already knows it's a 'length' !
                                In the second dialog you can make the sizes directly in 'mm' with [38.mm,150.mm,2,10.mm] etc and then skip changing the results with .to_f and also later on no .mm is needed etc - that way anyone can use it inputing in mm or cm or inches etc, depending on their current unit settings...

                                Also you should stop if the user 'cancels' a dialog thus:
                                results = **inputbox**(prompts, values, "Roof Settings") **return nil unless results**

                                Also some other 'tips' - wrap the whole 'creation' part after the dialog in a model.start_operation('lamella')...create... model.commit_operation at the end, to make an easy one-step undo !

                                Also you can easily protect you code inside a module thus:
                                **module TimWarner** def **self.**lamella_roof()
                                ...
                                rest of code
                                ... adjust the closing menu item to use the now modularized method:
                                plugins.add_item("Lamella roof") { **self.**lamella_roof() }
                                ...
                                [ruby:14pvbkvc]end#module[/ruby:14pvbkvc] goes after everything else...

                                If you implement these general changes this has the basis of a useful toolset...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  I recommend you read the guidelines to SketchUp Ruby Plugin developement I wrote down so that your plugin play nice with the shared plugin environment it runs in. Avoiding potential conflicts.

                                  Link Preview Image
                                  Golden Rules of SketchUp Plugin Development

                                  The Ruby language is very easy to extend to suit your needs. Some very pretty looking code can be written. However, when you write plugins for SketchUp’s Ruby API you should be careful. The e…

                                  favicon

                                  Procrastinators Revolt! (www.thomthom.net)

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

                                  1 Reply Last reply Reply Quote 0
                                  • brookefoxB Offline
                                    brookefox
                                    last edited by

                                    Will the routine allow the creation of in-line lamellas, without the slight offsets?

                                    Thank you much for sharing, Tim.

                                    (bmike, you didn't forget the bookmark feature here?)

                                    ~ Brooke

                                    1 Reply Last reply Reply Quote 0
                                    • bmikeB Offline
                                      bmike
                                      last edited by

                                      @brookefox said:

                                      (bmike, you didn't forget the bookmark feature here?)

                                      bookmark, what is that?
                                      i usually post, then it is in my threads.
                                      will have to try to bookmark...

                                      πŸ˜„
                                      πŸ‘

                                      mike beganyi design + consulting llc

                                      1 Reply Last reply Reply Quote 0
                                      • bmikeB Offline
                                        bmike
                                        last edited by

                                        reply to keep this in my list of threads.
                                        i'll peek back once the ruby gets improved.

                                        nice looking plugin.

                                        mike beganyi design + consulting llc

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          watkins
                                          last edited by

                                          Dear Tim,

                                          You and your colleagues are to be congratulated on your achievement. How long did it take start to finish, and did you have building experience before starting the project?

                                          Kind regards,
                                          Bob

                                          1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            timwarner
                                            last edited by

                                            @brookefox said:

                                            Will the routine allow the creation of in-line lamellas, without the slight offsets?

                                            Thank you much for sharing, Tim.

                                            (bmike, you didn't forget the bookmark feature here?)

                                            Simple answer, no. The plugin assumes the use of dimensional lumber and common bolt connectors, as in the original Zollinger concept, and in recent examples like the Rural Studio dog shelter http://apps.cadc.auburn.edu/rural-studio/Default.aspx?path=Gallery%2fProjects%2f2006%2fhalecoanimalshelter%2f. But it's a natural option, and easier to model. Thx for the (implicit) suggestion.

                                            PS I'm attaching a brief monograph on the underlying geometry.


                                            The Geometry of a Lamella Roof

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

                                            Advertisement