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

    Roof.rb v2

    Scheduled Pinned Locked Moved Plugins
    20 Posts 13 Posters 2.9k Views 13 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Version 2.0 of Roof.rb is now out.

      See: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1519

      The attached zip contains the .rb script and the .mht help file. Both should go into the Plugins folder and older ones should be removed.

      There is also a separate pdf version of the help for some of you having problems getting the mht to open via the menu item. Open the pdf 'manually'.

      The main changes in v2 are that dialog defs have been reworked in an attempt to suit Mac users. Also the way the Gable tool works has changed: you now run the tool and then pick three points - 1 for the 1st corner of the First-Gable, 2 for the 2nd corner of the First-Gable and 3 for the Line of the Second-Gable. The Pyramid Roof tool is also similar to the gable - pick two points to define the edge from which the slope (if any) will be taken and the third one to set the other side of the pyramid's base.

      Try, and feedback please...

      TIG

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

        Thanks TIG, Much appreciation here!

        Hank

        1 Reply Last reply Reply Quote 0
        • I Offline
          ilay7k
          last edited by

          TIG, great thanks for you!

          1 Reply Last reply Reply Quote 0
          • jim smithJ Offline
            jim smith
            last edited by

            Thanks for the update TIG

            Jim

            "Out of clutter find simplicity,
            from discord find harmony,
            In the middle of difficulty lies opportunity"
            Albert Einstein

            1 Reply Last reply Reply Quote 0
            • kmeadK Offline
              kmead
              last edited by

              WOW, that certainly works a treat. Thank you for all of that work to assist those of us with Macs.

              Thank you very much. All the best and have a great day.

              Karl Mead

              I created Dilbertville, sorry about that...

              1 Reply Last reply Reply Quote 0
              • S Offline
                seasdes
                last edited by

                TIG
                Thank you so much for this script it now works as expected.
                Seasdes 😄

                Using Sketchup Pro 2019

                1 Reply Last reply Reply Quote 0
                • Y Offline
                  ypnos1
                  last edited by

                  Tig

                  Well done man!
                  Amazing - looks like magic from where i'm standing (or shall i say sitting)

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

                    I love this tool, it really makes me smile.
                    Create this really complicated roof shape, pick the surface, choose hip and a perfect roof is created.

                    Is there a way to make the Gable work turning 90 degrees?
                    If I want my roof to follow an L shape for example.
                    With hipped it follows no problem, is there a way to takle this with a gable?

                    http://dmdarchitecture.co.uk/

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

                      thanks for putting so much effort in the tool.

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        gksl4
                        last edited by

                        Thank you very much.

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

                          @unknownuser said:

                          I love this tool, it really makes me smile.
                          Create this really complicated roof shape, pick the surface, choose hip and a perfect roof is created.
                          Is there a way to make the Gable work turning 90 degrees?
                          If I want my roof to follow an L shape for example.
                          With hipped it follows no problem, is there a way to tackle this with a gable?

                          You must either make a hipped roof and then edit it to change the required gable hips into gables, easily done by rotating the hip face vertically and then adding edges etc and then pushpulling and reapplying materials to suit...
                          OR for two gables try making two intersecting gable roof groups, each with a blank-with-fascia second gable; and then select both and explode them and immediately regroup them into one group: then edit that group, select all and intersect with selection. Move the apex of each unwanted gable back to the main ridge, and erase any unwanted coplanar edges (use xray mode to erase unwanted interior edges)...
                          See the attached tutorial...

                          Tutorial

                          TIG

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

                            Thanks for the info.

                            I have found a slight problem with V2 on Vista.
                            It will not show in plugins pull down as the new version.
                            I have extracted ruby to plugins folder and overwritten older version. I also tried deleting it and dragging in a new v2.rb, so I know the correct ruby is in the folder.
                            When I go to use it, I still get the old menu and not the new 3 point option.

                            It works perfectly on my XP machine.

                            http://dmdarchitecture.co.uk/

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

                              @unknownuser said:

                              Thanks for the info.

                              I have found a slight problem with V2 on Vista.
                              It will not show in plugins pull down as the new version.
                              I have extracted ruby to plugins folder and overwritten older version. I also tried deleting it and dragging in a new v2.rb, so I know the correct ruby is in the folder.
                              When I go to use it, I still get the old menu and not the new 3 point option.

                              It works perfectly on my XP machine.

                              Firstly v2.1 is in the depository, so get that now...

                              Secondly - I also have Vista and sometimes you get 'compatibility file / mode' problems. Ensure that SketchUp 6 is running NOT in administrator mode (though you need to have administrator rights for your login). Look on the top bar of the Plugins window - on the right-hand end there might be a red 'compatibility file' option - click it and it should list some new files with the correct content that are there BUT not being allowed to load.

                              It seems that dragging and dropping new files with the same name, into program folders in Vista, sometimes results in this glitch. You can either delete the old file first and then move the new one in, OR open the new file elsewhere (in notepad) and then 'save_as' into Plugins, overwriting the earlier one and it'll (probably) be correct...

                              I haven't the faintest idea why Vista does this - See Help >> 'compatibility' and it will let you open a window and you should ensure that SketchUp ISN'T running in 'compatibility mode'. This should avoid these weird glitches. Vista shows one file but uses another...

                              It's not an issue with the script but more with Vista holding your hand too tightly...

                              TIG

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

                                Version 2.1 is now available: http://www.sketchucation.com/forums/scf/viewtopic.php?p=6648#p6648

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • PixeroP Offline
                                  Pixero
                                  last edited by

                                  Thanks for the script. It will come in handy for a current project.
                                  I can't however see any images in the help file. Im on WinXp.

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

                                    @pixero said:

                                    Thanks for the script. It will come in handy for a current project.
                                    I can't however see any images in the help file. Im on WinXp.

                                    Vista, XP and Mac users all seem to be having problems with different forms of the Help files...

                                    As well as the mht file there's a pdf... see: http://www.sketchucation.com/forums/scf/viewtopic.php?p=6643#p6643

                                    TIG

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

                                      Excellent Script. Many thanks -- works a treat for me!!!

                                      I must commend you also on another of your scripts that i find invaluable at work. It’s your slicer ruby. It comes in very handy for working out the floor space across very large masterplan massing models. It has saved me so much time. Thank you. im not sure it was ever intended for this, but if you set the floor to ceiling height say 3 metres, but don’t give the slices any thickness, then run the script across a large grouped area of buildings then explode the floor slabs within the main group, by using the area tool with all faces within that group selected you get a total floor space for that whole area. You may have to delete the top slices so that you don’t include the roofs. But very, very handy indeed.

                                      Whilst using your most recent roof script i was impressed in the way that you could assign a material and a layer to the new roof.
                                      I have a request.
                                      (Not that your not bizzy enough as it is)
                                      Is it possible to implement this within in the slicer ruby? So that the when you create the new slices you have an option of also assigning a material to the new slices. In this way you could have separate materials for residential, commercial and retail space. This information regarding the areas assigned to the materials could be then exported to an excel sheet. Giving you a detailed breakdown very quickly regarding your model.

                                      Once again many thanks

                                      Both the mentioned scripts are excellent.

                                      All the best

                                      Matt

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

                                        For further Slicer info see... http://www.sketchucation.com/scf/viewtopic.php?f=9&t=2635

                                        TIG

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

                                          Thanks again TIG for a great.....great script!

                                          If you are interesting in more Head Hurting Math. 😄
                                          you could add a Rake Fascia option, instead of the current plumb cut.

                                          I think the idea of the rafters sitting on the exterior wall is valid,
                                          from a construction point of view, regardless be they Rafters or Trusses.
                                          Hence the option of raked versus horizontal Soffit could be added.
                                          BTW the older RoofTool and RafterTool scripts use the same principal,
                                          of rafters sitting on the exterior load bearing walls.

                                          I don't know if you have seen the Archicad Roof framing feature.
                                          Talk about "Head Hurting Math", all the jack and valley rafters
                                          fit neatly against the hip and valley rafters (which is a compound miter cut),
                                          the birds mouth cut for each rafter is also shown all in 3D.

                                          cheers!

                                          [my plugins](http://thingsvirtual.blogspot.ca/)
                                          tomot

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

                                            New sloping fascia and/or sloping soffit options are well advanced and are now in beta testing: only the gable version with all of its permutations for two sloping soffits and gables is proving a pain to debug...

                                            Also looking at allowing heights for gable and pyramid roofs in ^5'4" format as well as existing ^5.3333333 or ^64 depending on units etc...

                                            Also looking at 'Set Slope', which is like the 'Get Slope' tool, but it changes a selected roof face to the given slope (degrees or A:B)...

                                            Also looking at an 'Add Detail' tool so you can add gutters, mouldings, ridges etc to a roof's selected edges; you can also customize the profiles by adding your own - watch this space...

                                            Also preparing new help docs to go with all of this....

                                            TIG

                                            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