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

      @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
                • V Offline
                  victor hugo
                  last edited by

                  I dropped the lamella_roof.rb to the plugins folder and nothing happens, restarted SU and is not on the list?

                  Any one has the same issue.

                  I also like the big hangars made of concrete by the designer an italian eng-arch Pier Luigi Nervi.

                  Thanks.

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

                    What did you expect to happen? Did "Lamella roof" show up in the Plugins menu?

                    Go back to the Plugins folder and make sure lamella_roof.rb is there with the correct extension and that you didn't put it in some other Plugins folder.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      victor hugo
                      last edited by

                      pasted in the C:\Program Files\Google\Google SketchUp 8\Plugins.

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

                        Let's see if I can drag some useful information out of you so we can help you. πŸ˜’

                        And after you close and reopen SketchUp does the plugin show in the Plugins menu? Do you really have XP as your profile indicates?

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          victor hugo
                          last edited by

                          Not shown after reopen.

                          yes XP

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

                            Post a screen shot of your Plugins folder showing the file installed. Make sure extensions are being shown.

                            And you did actually close SketchUp and reopen it? You didn't just minimize it?

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • V Offline
                              victor hugo
                              last edited by

                              Dave.

                              I had some extensions unloaded........ load them and restarted SU and is working now...

                              Thanks.

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

                                There's no way in the world we could have helped you without knowing that. πŸ˜’

                                I'm glad it's working now.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

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

                                  Hi Dave R,

                                  My understanding from this exchange is that the problem was related to Victor Hugo's plugin folder, but is there anything I should do to make this plugin more robust?

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

                                    Hi Tim,

                                    No, your plugin is just fine. There's nothing you could do in your script to prevent a user from unticking boxes in the Extensions list under Preferences. V.H.'s problem wasn't specific to your script. It just happened yours is the one he was trying to use when he discovered he had a problem.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      prousteilcalamaro
                                      last edited by

                                      Hi Tim,

                                      Your plugin seems very nice, however I've a problem in executing it.
                                      After the two windows for the parameters (I leave them as default), the plugin stops working, no drawing is produced and the Ruby Console shows an error as follows:

                                      @unknownuser said:

                                      Error: #<NoMethodError: undefined method make_unique' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lamella_roof.rb:289:in lamella_roof'
                                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/lamella_roof.rb:1038

                                      I'm using SU 8 and the new version of your plugin.

                                      Is something wrong with my SU preferences? I've a lot of plugins loaded.
                                      Let me know how to solve the problem (I'm not a programmer).

                                      Thanks

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

                                        There's nothing wrong with Tim's plugin. It works just fine on SU 8. Considering that there's not much to installing it, I suspect you have another plugin that is causing the problem. There are some plugins that are known to cause other plugins to fail. SketchyPhysics is one.Matchbox_r1.1 is another. There are more. Perhaps you could post a screenshot of your Plugins directory and we'll be able to tell you which one it is.

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

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

                                          Sounds like SketchyPhysics to me - that is known to mess with the base class/methods - like 'group.copy' which should return a reference to the 'new-group' but after the ill-advised reworking it returns 'nil'... so then when some legit code tries to do something to the copy
                                          [like '.make_unique'] it fails because now it's 'nil' and not 'new_group'.
                                          It could be relatively easy to fix this but the authors of this and some other 'rogue' scripts have either lost interest, or simply don't care about others and their legit tools, which expect the API to work as it ought...

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            prousteilcalamaro
                                            last edited by

                                            Thank you very much!

                                            I had SketchyPhysics in my Plugins folder. I removed that plugin (I don't need it for my actual project) and Lamella Roof works fine: it's a great plugin.

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

                                            Advertisement