• 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.
  • D Offline
    dtrarch
    last edited by 8 Dec 2007, 05:46

    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 8 Dec 2007, 05:47

      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 8 Dec 2007, 05:51

        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 8 Dec 2007, 05:52

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

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

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

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

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

                    The good news is... I have had a 'Pauline Moment' [road to Damascus and all that...]. I have seen the light... I am setting off re-writing the gable (and pyramid) tools so that you will only need to select point-one then point-two that will define where the line for where the gable (or pyramid pitch) starts and then point-three which gives the 'depth' of the gable-roof's base (or the pyramid's other side) - the point will be translated to a common 'z' anyway, so its exact location isn't critical, however, best to keep it square to the first two points as it'll return the true perpendicular distance from line pt1-pt2 to pt-3 anyway.

                    The bad news is... you'll have to live with the deficiencies of v1.3 a bit longer while I fix all of this in "v2.0" with a new help .mht file...

                    It'll take 'a few days'...

                    TIG

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

                      That sounds good TIG and an improvement on what is already a fantastic tool.
                      Look forward to testing version 2.0!

                      http://dmdarchitecture.co.uk/

                      1 Reply Last reply Reply Quote 0
                      • kmeadK Offline
                        kmead
                        last edited by 8 Dec 2007, 05:58

                        This looks like yet another great script. I unfortunately echo Davekn's experience on a PPC Mac. I will try this next week on my work Intel Mac to see if the issues are the same. As an aside the .MHP file doesn't open on my Mac. The PDF is fine however.

                        Many thanks and have a great day.

                        Karl Mead

                        I created Dilbertville, sorry about that...

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

                          Version 2 now out see this thread instead...

                          301 Moved Permanently

                          favicon

                          (www.sketchucation.com)

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • jujuJ Offline
                            juju
                            last edited by 8 Dec 2007, 06:02

                            I'm closing this thread seeing that TIG has version 2 out already. You can find the thread here should you wish to continue posting about the Roof.rb script.

                            Thx.

                            Save the Earth, it's the only planet with chocolate.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              tomislavm
                              last edited by 21 Apr 2008, 09:45

                              Thank You for this, it is very useful.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                Jim
                                last edited by 21 Apr 2008, 09:57

                                There's version 3 here.

                                301 Moved Permanently

                                favicon

                                (www.sketchucation.com)

                                Hi

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

                                Advertisement