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

[Plugin] Roof.rb

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
170 Posts 73 Posters 156.5k Views 73 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.
  • J Offline
    juanjo06
    last edited by 2 Sept 2008, 14:09

    muchas gracias TIGger πŸ‘

    1 Reply Last reply Reply Quote 0
    • P Offline
      PatrickD
      last edited by 12 Dec 2008, 11:01

      Hi TIG
      I am a relatively new SU user (now addicted!)
      I have just used your roof tool for the first time and think it's brilliant. Thank you for sharing such a fabulous resource.
      A Merry Christmas to you also.

      Regards

      PatrickD

      1 Reply Last reply Reply Quote 0
      • E Offline
        ELYSIUM
        last edited by 12 Dec 2008, 11:14

        Tks Tig!!

        1 Reply Last reply Reply Quote 0
        • E Offline
          ELYSIUM
          last edited by 12 Dec 2008, 12:01

          I made a quick test and it worked fine, but i tried to make a roof on a volume with a courtyard, and the script didn't recognized the void. It only worked when i when i made it in to a U type plan. Is it possible to change it in a way that it recognizes holes in the geometry of the plan??

          tks again for this wonderful script!


          3.png


          4.png


          5.png


          6.png

          1 Reply Last reply Reply Quote 0
          • E Offline
            ELYSIUM
            last edited by 13 Dec 2008, 17:20

            roger! tks for the help! πŸ˜„

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 13 Dec 2008, 17:27

              @elysium said:

              I made a quick test and it worked fine, but i tried to make a roof on a volume with a courtyard, and the script didn't recognized the void. It only worked when i when i made it in to a U type plan. Is it possible to change it in a way that it recognizes holes in the geometry of the plan??
              tks again for this wonderful script!

              Making holes in the plan makes Roof.rb just too complex (than it already is !). Your solution of splitting the 'doughnut' is the best way round it. You should split the base-face twice at a central spot (gap a little wider than twice the roof overhang) - then the resulting roof shape is easily editable to 'heal' it. Once the roof is made then open the roof's Group for editing and start to heal the two hips that are temporarily made at the 'split'.

              Use the Move tool - pick on one of the un-needed 'cross' fascias and move it to snap onto the other un-needed one, then pick a top vertex on one of the un-needed hips and move it across onto the other un-needed hip's equivalent vertex to heal the 2 roof faces. The vertices should snap together and leave the roof planes coplanar but with unwanted splitting lines (you erase these next).

              Now you need to heal the bits of soffit etc and get rid of unwanted bits of the roof inside where you have joined these two temporary 'ends' together. It's easiest to do this if you set the Component/Group edit-mode to hide everything else during editing. That way you can simple look at the roof volume from below (its 'ceiling' is left open and any other walls etc below it will be temporarily hidden): then you can add 4 extra Lines to split the unwanted bits of 'cross' soffits off, then Erase the unwanted Edges splitting the 2 healed roof plane, the 2 unwanted 'internal' fascia's horizontal edges and the 2 long-side fascias unwanted vertical splitting Edges; finally Erase the 3 Edges of the 2 unwanted 'cross' pieces of 'internal' soffit to tidy up. Exit the Group edit and it should now look as desired, with its central hole...

              It's actually much quicker to do all of this than it is to write it down !!!

              TIG

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 27 May 2009, 15:14

                Here's RoofHelp.doc (zipped) covering v3.0 - Unzip it and put it in the Plugins folder...

                The .mht and .pdf formats will have to wait until the new year - the laptop I'm having to use over the holidays can't access the big-upload server...


                RoofHelp.zip

                TIG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 14 Nov 2009, 18:18

                  How does your plugin work? In general concept? Intersecting planes?

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

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    TIG Moderator
                    last edited by 14 Nov 2009, 18:27

                    The hipped roof one works by doing a followme around the face loop on a large roof-pitch triangle and intersecting everything with itself, then it erases any geometry that's not needed [the tricky bit], orients faces, applies materials etc. It will fail if the shape can't have a single pitch roof over it... possible with cranked star shapes or re-entrant curved sections where the valleys would diverge up the roof. My recent tutorial shows how to replicate it manually and heal the problem areas manually by redrawing the bits that need another pitch...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Ravage
                      last edited by 27 Nov 2009, 17:52

                      Thanks, TIG for this very useful script
                      Marry Christmas and a very Happy New Year!

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DJMX1
                        last edited by 27 Nov 2009, 19:41

                        Superb plugin. However, why not create toolbar and how can I do to translate it into French?
                        I can create the icons if you want πŸŽ‰

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 27 Nov 2009, 19:46

                          @djmx1 said:

                          Superb plugin. However, why not create toolbar and how can I do to translate it into French?
                          I can create the icons if you want πŸŽ‰

                          This is one of my rare encrypted plugins so translation is not easy/possible - I recently had a PM about an ES version...
                          A toolbar would be good - easy to do [after decryption] - as would better web-dialog interface...

                          Unfortunately 'Roof' is quite near the bottom of the list... 😞

                          But... good things come to those who wait β˜€

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sketchdown
                            last edited by 7 Dec 2009, 16:17

                            @tig said:

                            This is v3.0 of my 'Roof' script.

                            It now incorporates options for sloping fascias and soffits.
                            The help stuff has also been redone.
                            This Roof.rb file replaces the older one in the Plugins folder.
                            The RoofHelp.doc (zipped) file and some alternative larger 'help' file formats (mht and pdf) in separate threads - they are too big for one go...

                            Feedback please...

                            Merry Christams to one and all...

                            how can I dwnload the plugin?

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 7 Dec 2009, 16:20

                              @sketchdown said:

                              how can I dwnload the plugin?

                              From the link in the box saying "Attachments" right under the text you quoted.

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

                              1 Reply Last reply Reply Quote 0
                              • utilerU Offline
                                utiler
                                last edited by 21 Jan 2010, 03:40

                                Hi TIG and others,
                                Just a few observations and possibly a feature to add.

                                1. The eaves fascia size offer users to set thickness of the roof however the result is a thickness measured vertically. [see attached]. Considering roof systems consist of known thickness, would it be possible to change [or add a feature] to offer the input of actual roof thickness?

                                2. Also, as with the gable roof function, is it possible to add a skillion [single pitch] roof option?
                                  I would expect it to operate similar the the gable function; pick gable side first the single pitch side and execute.....


                                Roof_Plugin.png


                                Roof_Plugin-image.png

                                purpose/expression/purpose/....

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  ar_max
                                  last edited by 12 Feb 2010, 04:46

                                  thank you πŸ˜„

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 14 Feb 2010, 23:17

                                    @utiler said:

                                    Hi TIG and others,
                                    Just a few observations and possibly a feature to add.

                                    1. The eaves fascia size offer users to set thickness of the roof however the result is a thickness measured vertically. [see attached]. Considering roof systems consist of known thickness, would it be possible to change [or add a feature] to offer the input of actual roof thickness?
                                    2. Also, as with the gable roof function, is it possible to add a skillion [single pitch] roof option?
                                      I would expect it to operate similar the the gable function; pick gable side first the single pitch side and execute.....

                                    Sorry to be so tardy in my reply πŸ˜’
                                    Most users will have a fascia height [vertical] in mind - although the roof structure [timbers] are a given thickness [though this will vary if it's been 'regularized' too], the fascia has to 'mask' the soffit material and also take into account the tiling laths and so on to kick up the bottom tile correctly. Also you might use differing depth timbers in differing areas BUT want a constant fascia to be seen.
                                    If is not that difficult to sit down before jumping in and work out the likely fascia height from a guess of the roof's build up. You are usually using SUp to make a sketch model - if you were making it physically from card or drawing it with a pencil you'd think to yourself 'I want a 200mm deep fascia' and make/draw it at about that - an initial design should be about proportion and scale not real life wood sizes... If later on the detailed design comes up with 175mm timbers and a 65mm roof build up and a 15mm soffit it's not miles off and can be adjusted to suit ???
                                    If you know the final build-ups then doing a quick bit of trig just the once will give the fascia's vertical height -
                                    FasciaHeight = TotalRoofThickness **/** cos(RoofAngleInDegrees)
                                    If you work in A:B pitch format then it's -
                                    FasciaHeight = TotalRoofThickness ***** (SquareRoot**(**(A*A)+(B*B)**)**) **/** B
                                    πŸ€“
                                    A 'mono-pitched' roof is so easy to make in SUp that I didn't add it... use the protractor tool to set pitch, guide-lines to offset, draw the profile and make the form including the top/bottom overhangs, and with pushpull as needed, including any verge overhangs - color to suit ?
                                    πŸ€“

                                    I've no plans to do any work on **Roof** for a while as there are many things in front of it in the queue 😒

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • utilerU Offline
                                      utiler
                                      last edited by 14 Feb 2010, 23:50

                                      Thanks TIG, can see you have been busy..... πŸ‘

                                      Trig' is what I currently apply to work-out the roof profile vertically; or just set a fascia depth that is close. I just thought if it was a simple addition [obviously I don't speak the language] it would be a great alternative.....
                                      No problem, I can live with it. Keep up your great work!

                                      purpose/expression/purpose/....

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 15 Feb 2010, 08:50

                                        @utiler said:

                                        Thanks TIG, can see you have been busy..... πŸ‘
                                        Trig' is what I currently apply to work-out the roof profile vertically; or just set a fascia depth that is close. I just thought if it was a simple addition [obviously I don't speak the language] it would be a great alternative.....
                                        No problem, I can live with it. Keep up your great work!

                                        It might be easy enough to implement once I applied my self to it but it is one of my few encrypted tools too !
                                        It might happen... but not one day soon...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • utilerU Offline
                                          utiler
                                          last edited by 15 Feb 2010, 10:52

                                          @tig said:

                                          @utiler said:

                                          Thanks TIG, can see you have been busy..... πŸ‘
                                          Trig' is what I currently apply to work-out the roof profile vertically; or just set a fascia depth that is close. I just thought if it was a simple addition [obviously I don't speak the language] it would be a great alternative.....
                                          No problem, I can live with it. Keep up your great work!

                                          It might be easy enough to implement once I applied my self to it but it is one of my few encrypted tools too !
                                          It might happen... but not one day soon...

                                          You're a generous man, TIG.

                                          One day I hope to be able to buy all you ruby writers a beer!!!! πŸŽ‰ πŸŽ‰

                                          purpose/expression/purpose/....

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

                                          Advertisement