sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    Roof.rb v1

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

      davekn

      Have you downloaded v1-1 that fixes some errors ?

      404 Not Found

      favicon

      (www.sketchucation.com)

      This should get you somewhere. However, the accuracy of the 'rectangle' checking is perhaps causing some problems and I'm looking at ways of building in some 'tolerance'. Have you simply drawn a rectangle 'on the floor' and tried that ?

      TIG

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

        Hi Tig

        Yes I downloaded v1 & I have tried drawing a rectangle on the floor but with exactly the same results.

        I had to rename the the V1 download as I have the problem that all downloads apart from zipped files come in as 'download.php'. The original was okay as it came in a zipped file.
        I presume the v1 file is still named roof.rb

        many thanks Dave

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

          @davekn said:

          Hi Tig

          Yes I downloaded v1 & I have tried drawing a rectangle on the floor but with exactly the same results.

          I had to rename the the V1 download as I have the problem that all downloads apart from zipped files come in as 'download.php'. The original was okay as it came in a zipped file.
          I presume the v1 file is still named roof.rb

          many thanks Dave

          Try the v1.1 zip to be sure...

          TIG

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

            Hi Tig

            Sorry - I have just tried that as well.
            Same result.

            Dave

            1 Reply Last reply
            Reply Quote 0
            • boofredlayB
              boofredlay
              last edited by

              TIG, version 1.1 only worked on the Hipped and Mansard, not on the Gable or Pyramid. I went to church, went for a walk, tried it again and it works... hmmm.

              Anyway, for now all 4 roofs work. Thanks a bunch. I can see me using this one quite a bit.

              http://www.coroflot.com/boofredlay

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

                TIG, I can get all four roofs to work some of the time, pretty much hit or miss,even tried a rectangle on the floor as you suggested to davekn, it seems to work better when I try to put a roof over a square instead of a rectangle, works pretty much all of the time, so I'm guessing that you are correct in thinking of some rectangle tolerance method. Still a great script though, thanks.

                Mike

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

                  Well as I said, on my XP machine they are all working fine with 1.1.

                  On my vista machine, the hipped roof works ok, none of the others will.

                  These errors must be making your brain hurt TIG!

                  http://dmdarchitecture.co.uk/

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

                    They do (aaargh) especially when I don't get any errors on XP or Vista set-ups almost exactly like yours ...
                    BUT it shall be sorted !

                    TIG

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

                      Here's v1.2. Click here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1516
                      There's now a slight tolerance in checking if the face to make a gable or pyramid roof is rectangular. If the sides are out by less than ~0.2mm in 1000mm it'll still work. However, in that case you might get gables not lining perfectly with the block below.

                      I hope this now addresses a few problems. Keep the feedback coming...

                      TIG

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

                        Tig

                        Tried the version 2 but still no luck.
                        Now when I pick the face & edge I dont get the dialogue box I had before about 'needing to pick a face & edge', but nothing else happens - no box to add the information required for eaves etc.
                        Tried a rectangle on the floor & a square on the floor.
                        Tried all the different types of roof.
                        Is there anybody else on the forum who has a Mac & is getting the script to work? I am now worried I am doing something really stupid & missing something out.

                        Thanks for all the effort.
                        Dave

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

                          TIG, the latest version seems to work alot better, only problem I'm having is with the gable roofs, they all seem to come up a little short. Keep up the good work. Thanks again for a great script.

                          Mike

                          404 Not Found

                          favicon

                          (www.sketchucation.com)

                          1 Reply Last reply
                          Reply Quote 0
                          • boofredlayB
                            boofredlay
                            last edited by

                            TIG, v1.2 is working flawlessly on my work computer.
                            Thanks.

                            http://www.coroflot.com/boofredlay

                            1 Reply Last reply
                            Reply Quote 0
                            • D
                              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
                                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
                                  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
                                    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
                                      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
                                        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
                                          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

                                          404 Not Found

                                          favicon

                                          (www.sketchucation.com)

                                          Using Sketchup Pro 2019

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • TIGT
                                            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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 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