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

    Roof.rb v1

    Scheduled Pinned Locked Moved Plugins
    80 Posts 20 Posters 10.0k Views 20 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.
    • D Offline
      dylan
      last edited by

      I did have the same problem as Alpro posted above with the gable roof stopping short. This was intermittent though.

      http://dmdarchitecture.co.uk/

      1 Reply Last reply Reply Quote 0
      • Didier BurD Offline
        Didier Bur
        last edited by

        Hi TIG
        Very nice work ! V1.2 is working OK here, both on W2000 and XP.
        It's a pity that I can't translate it to french (script is crypted) 😒 πŸ˜‰
        Regards,

        DB

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

          @didier bur said:

          Hi TIG
          Very nice work ! V1.2 is working OK here, both on W2000 and XP.
          It's a pity that I can't translate it to french (script is crypted) 😒 πŸ˜‰
          Regards,

          Since I've copied your cunning techniques you should be able to crack it easily! ?;^)

          Please feel free to make a re-encrypted french version, with a suitable change to the header in which you take the blame for the translation! ?:-| Toit.rb ?
          You could also rework RoofHelp.mht into french - as say ToitAide.mht with the end menu bits reworked to suit, before recrypting...

          Wait for v1.3 to arrive before doing any translating. The fix for v1.2 itself caused a glitch with the materials for some types of gables that I didn't spot before reissuing it yesterday...

          TIG

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

            Version v1.3 of Roof.rb is now available.
            Click here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1516
            It fixes most of the outstanding bug reports. But keep the feedback coming...

            TIG

            1 Reply Last reply Reply Quote 0
            • A Offline
              alpro
              last edited by

              TIG, v1.3 is working perfectly, thanks for a great script,it should be a big time saver.

              Mike

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

                The roof script is amazing Tig. It worked as advertised with no hitches. As an architectural illustrator it will get used to death. Your efforts are deeply appreciated,
                Thank you!!!

                Robert

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

                  TIG

                  V1.3 now offsets a gable roof to the side of the polygon used to define the roof.

                  Sorry

                  Seasdes

                  301 Moved Permanently

                  favicon

                  (www.sketchucation.com)

                  Using Sketchup Pro 2019

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

                    @seasdes said:

                    TIG
                    V1.3 now offsets a gable roof to the side of the polygon used to define the roof.
                    Sorry
                    Seasdes

                    A new one - I haven't managed to reproduce that (yet). As you can see from others comments they aren't getting the problem. Does it always do it, or at certain rotations of the rectangle about the origin? What are the setting you use in the dialog and system are you on ?
                    Edit: Found out the cause - looking for a fix. IF you have a manually drawn rectangle - 4 sides, drawn clockwise and the face reversed (down) you get your problem; with the same face if you reverse (up) it before running gable-roof tool the two gable-ends swap over but otherwise the roof is in the right place. Must be trappable and fixable - thinking on it...
                    Looking into it now. It shall be fixed...

                    TIG

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

                      Thank you TIG. This is a truly wonderful script that will save me a lot of time
                      Seasdes

                      Using Sketchup Pro 2019

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

                        @tig said:

                        @seasdes said:

                        TIG
                        V1.3 now offsets a gable roof to the side of the polygon used to define the roof.
                        Sorry
                        Seasdes

                        A new one - I haven't managed to reproduce that (yet). As you can see from others comments they aren't getting the problem. Does it always do it, or at certain rotations of the rectangle about the origin? What are the setting you use in the dialog and system are you on ?
                        Edit: Found out the cause - looking for a fix. IF you have amanually drawn rectangle - 4 sides, drawn clockwise and the face reversed (down) you get your problem; with the same face if you reverse (up) it before running gable-roof tool the two gable-ends swap over but otherwise the roof is in the right place. Must be trappable and fixable - thinking on it...
                        Looking into it now. It shall be fixed...

                        Hello TIG

                        The problem that I reported happens all of the time - regardless of how the rectangle is drawn. The problem did not occur in V1

                        Seasdes

                        Using Sketchup Pro 2019

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

                          Tig

                          Still having the same problems with v3 as with the previous versions.

                          The get slope angle works fine & so the script must be working - but as previously said I don't even get the initial info box when trying to draw any of the roofs.
                          This must be a Mac thing.

                          Dave

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

                            @davekn said:

                            Tig

                            Still having the same problems with v3 as with the previous versions.

                            The get slope angle works fine & so the script must be working - but as previously said I don't even get the initial info box when trying to draw any of the roofs.
                            This must be a Mac thing.

                            Dave

                            Are you getting any messages in the Ruby Console Window when you try and run it ?
                            Are there any other Mac users out there trying this ? Successfully or not ? I don't know of any Mac/PC issues that could be causing this...

                            TIG

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

                              Super and very much needed script but the Gable still is iffy for me and some faces that are created square are refused by the script and will not execute.
                              Here is a jpg and skp for your review.

                              Dave

                              301 Moved Permanently

                              favicon

                              (www.sketchucation.com)

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

                                Tig

                                The following comments are in the Ruby console
                                Hipped Roof -
                                Error: #<NoMethodError: undefined method dialog_hip' for Roof:Class> (eval):210:in hip'
                                (eval):2749
                                (eval):210:in `call'
                                (eval):210

                                Mansard Roof -
                                Error: #<NoMethodError: undefined method dialog_man' for Roof:Class> (eval):802:in mansard'
                                (eval):2750
                                (eval):210:in `call'
                                (eval):210

                                Gable roof -
                                Error: #<NoMethodError: undefined method dialog_gable' for Roof:Class> (eval):1514:in gable'
                                (eval):2751
                                (eval):802:in `call'
                                (eval):802

                                Pyramid roof -
                                I still get the instruction to pick a rectangular face & edge etc

                                Dave

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

                                  fantastic script TIG!

                                  Please allow me to make the following small observation:
                                  see attachment

                                  http://www.sketchucation.com/forums/scf/sas/Ruby/roof.jpg

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

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

                                    Hello,

                                    The problem could be solve making one of the wings a block.

                                    301 Moved Permanently

                                    favicon

                                    (www.sketchucation.com)

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

                                      @dtrarch said:

                                      TIG
                                      Super and very much needed script but the Gable still is iffy for me and some faces that are created square are refused by the script and will not execute.
                                      Dave

                                      This error seems to be because the face although seemingly a rectangle has 5 sides ? I'm working on a fix for some other gable related problems and will try to fix this then. In the meanwhile draw a line on the gable edge, group it and edit the group and then draw a rectangle over the original, gable roof the lot new face in the group. Explode the group and you should still have the gable roof group. A fix is in progress...

                                      TIG

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

                                        @davekn said:

                                        Tig

                                        The following comments are in the Ruby console
                                        Hipped Roof -
                                        Error: #<NoMethodError: undefined method dialog_hip' for Roof:Class> (eval):210:in hip'
                                        (eval):2749
                                        (eval):210:in `call'
                                        (eval):210

                                        Mansard Roof -
                                        Error: #<NoMethodError: undefined method dialog_man' for Roof:Class> (eval):802:in mansard'
                                        (eval):2750
                                        (eval):210:in `call'
                                        (eval):210

                                        Gable roof -
                                        Error: #<NoMethodError: undefined method dialog_gable' for Roof:Class> (eval):1514:in gable'
                                        (eval):2751
                                        (eval):802:in `call'
                                        (eval):802

                                        Pyramid roof -
                                        I still get the instruction to pick a rectangular face & edge etc

                                        Dave

                                        Mac must call sub def's differently from PC. I'll look into redoing these sub-def dialogs...

                                        TIG

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

                                          @iglesias said:

                                          Hello,

                                          The problem could be solve making one of the wings a block.

                                          You got there ahead of me ! However, we do need a kinder gable-roof rectangle checking routine - I'm on to it...

                                          TIG

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

                                            @tomot said:

                                            fantastic script TIG!
                                            Please allow me to make the following small observation:
                                            see attachment

                                            The roof that is created is a 'true' hip with all of the faces at the same angle/slope. If you want a single springing point for all the apse rafters then make the apse-end a semi-circle, OR be prepared to make an uneven pitched roof by hand...

                                            TIG

                                            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