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

      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 Offline
                    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
                                • T Offline
                                  timwarner
                                  last edited by

                                  @watkins said:

                                  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

                                  Thx Bob,

                                  This is actually a one-man show. I built a lamella roof (the one shown at the top of the thread) some years back, based on a crude, and actually wrong Excel model, but only worked out the exact geometry last year. Writing a plugin involved learning Ruby (OK, it shows!), and grappling with the SU documentation, which I have to say I find opaque in many ways. The plugin probably took about three months to work out.

                                  I'm not a builder at all, but I've done some simple construction work, if dry-stack walls count.

                                  1 Reply Last reply Reply Quote 0
                                  • pep75P Offline
                                    pep75
                                    last edited by

                                    Great plugin Tim!!
                                    πŸ˜‰

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

                                      I've corrected the plugin to reflect the very helpful community comments, and fix some minor errors in the way curved surfaces were being generated. Both the revised plugin and documentation are embedded in the original post to make them easier to find.
                                      I'm still puzzling over a couple of issues. First is the odd failure of the intersect_with method in at least one circumstance. (Posted elsewhere http://forums.sketchucation.com/viewtopic.php?f=180&t=46714). This wipes out a couple of faces in a lamella, but is rare, and easy to fix manually. Second, the geometry is off by a small (< 1mm) amount in terms of the components not lining up exactly. It doesn't feel like a rounding error, so my calculations may be incorrect. Practically this is not significant.

                                      Thx all, and TIG and Thomthom especially, for your advice.

                                      1 Reply Last reply Reply Quote 0
                                      • KrisidiousK Offline
                                        Krisidious
                                        last edited by

                                        Really appreicate the plugin... and even more so Tig and Thom for always checking all these plugins out for us and warning us before installing them.

                                        By: Kristoff Rand
                                        Home DesignerUnique House Plans

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

                                          Diagridroof.png

                                          I've updated the plugin to allow the creation of a diagrid lamella roof, where the lamellas are co-planar, following brookefox's suggestion, and to add some error-checking and spinners on input. Updates are located with the original post.

                                          Under some circumstances the upper surface of the lamella is not created properly, for reasons I still don't understand. The cutting instructions are correct, regardless.

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Mra
                                            last edited by

                                            Thanks Tim, hope I get to do a project with this kind of roof one day!

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

                                            Advertisement