• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

Roof.rb v1

Scheduled Pinned Locked Moved Plugins
80 Posts 20 Posters 10.0k Views
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.
  • A Offline
    alpro
    last edited by 8 Dec 2007, 05:03

    Sorry, must of did something wrong the first time, can produce a hip roof now but when I try anything else I get the following. Thanks again, this definitely can be a very useful script.

    Mike

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

    1 Reply Last reply Reply Quote 0
    • D Offline
      dylan
      last edited by 8 Dec 2007, 05:03

      Thanks TIG, the new script now works perfectly - What a great Ruby!

      http://dmdarchitecture.co.uk/

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 8 Dec 2007, 05:11

        @alpro said:

        TIG, I'm still getting the same errors, after replacing the current version. Thanks for the quick reply to last post though. Hope you get it figured out, let me know if you need any additional info in regards to my computer specs. Thanks.
        Mike

        Are you sure you overwrote v1.0 with v1.1 ?
        No matter... put this attached file into you Plugins folder. It should fix the problem either way...

        http://www.sketchucation.com/forums/scf/sas/Ruby/array_to.rb

        TIG

        1 Reply Last reply Reply Quote 0
        • R Offline
          rhankc
          last edited by 8 Dec 2007, 05:12

          Tig, just ran a couple gable roofs with the new spin. It worked with the default setup, with pitch entered, I played with the eaves a bit, think she is looking good..
          I want to congratulate you...humbly...this is like a grand slam. I am really looking forward to putting this roof tool through it's paces. Thanks

          Hank

          1 Reply Last reply Reply Quote 0
          • D Offline
            davekn
            last edited by 8 Dec 2007, 05:12

            Hi Tig

            First off - many thanks for the script it looks great.
            However at the moment I don't appear to be able get it to do anything at all.
            I am using an iMAC & Sketchup Pro and when I select a horizontal face on the top of a box & go to the plugins folder & pick roof - hipped roof then nothing happens at all - I don't even get the first dialogue box.
            If I select a face & gable edge & pick Gable ended roof then I get the message
            'You must select one horizontal RECTANGULAR [= right-angled] face, and one edge (that's at the 'gable') !' even though this is what I have done. I have tried just about every combination of edges & faces to no avail.

            If you need any further info then let me know.
            Regards Dave

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 8 Dec 2007, 05:21

              davekn

              Have you downloaded v1-1 that fixes some errors ?

              301 Moved Permanently

              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 Offline
                davekn
                last edited by 8 Dec 2007, 05:22

                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
                • T Offline
                  TIG Moderator
                  last edited by 8 Dec 2007, 05:23

                  @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 Offline
                    davekn
                    last edited by 8 Dec 2007, 05:24

                    Hi Tig

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

                    Dave

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      boofredlay
                      last edited by 8 Dec 2007, 05:24

                      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 Offline
                        alpro
                        last edited by 8 Dec 2007, 05:24

                        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 Offline
                          dylan
                          last edited by 8 Dec 2007, 05:25

                          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
                          • T Offline
                            TIG Moderator
                            last edited by 8 Dec 2007, 05:26

                            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
                            • T Offline
                              TIG Moderator
                              last edited by 8 Dec 2007, 05:28

                              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 Offline
                                davekn
                                last edited by 8 Dec 2007, 05:29

                                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 Offline
                                  alpro
                                  last edited by 8 Dec 2007, 05:31

                                  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

                                  301 Moved Permanently

                                  favicon

                                  (www.sketchucation.com)

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    boofredlay
                                    last edited by 8 Dec 2007, 05:31

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

                                    http://www.coroflot.com/boofredlay

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dylan
                                      last edited by 8 Dec 2007, 05:32

                                      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
                                      • D Offline
                                        Didier Bur
                                        last edited by 8 Dec 2007, 05:32

                                        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
                                        • T Offline
                                          TIG Moderator
                                          last edited by 8 Dec 2007, 05:34

                                          @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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 3 / 4
                                          3 / 4
                                          • First post
                                            46/80
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement