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

    [Plugin] Roof.rb

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    170 Posts 73 Posters 156.7k Views 73 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.
    • S Offline
      sherwood111
      last edited by

      Excellent ..
      Yes, it is a fantastic and valuable plugin (installed and working in 2017).
      tylovset, Thank You for your time and input . . .
      TIG, Thank You for the plugin, your time and update.
      Very Much Appreciated !

      1 Reply Last reply Reply Quote 0
      • utilerU Offline
        utiler
        last edited by

        Thanks for doing this, TIG. very much appreciated; as always.....

        purpose/expression/purpose/....

        1 Reply Last reply Reply Quote 0
        • pbacotP Offline
          pbacot
          last edited by

          Thanks TIG!!!!

          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

            20170125_122415.jpgHello TIG

            I have installed V4.0 into SU2017.

            I drew a simple rectanglular face and tried to create a hipped roof. However, I get the attached error message. Any ideas as to what I am doing wrong?

            Using Sketchup Pro 2019

            1 Reply Last reply Reply Quote 0
            • facerF Offline
              facer
              last edited by

              SketchUp 2016 W10 32 bit

              I get the same error message in SketchUp 2016 Roof v4.0

              Tried also for version Roof v3.7 and got the same error message

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

                This limitation is set out in the Help...

                Your selected flat face cannot be at z=0 [i.e. on the ground].

                Also it's best if the seed-face is looking upwards !

                Yours is facing down AND at z=0

                Try again, avoiding those limitations, i.e move the face up off the ground and reverse it so it's upwards... and it should then work [unless of course your face has such a complicated outline that it is just not possible to add a single-pitch hipped roof over it... but that's another issue]...

                TIG

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

                  It works as expected for me. Thanks TIG!

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    Thanks so much TIG.
                    I assume that the help file for V3 is still current 😳

                    Using Sketchup Pro 2019

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

                      The change was to make it compatible with v2017.
                      Its usage is unchanged...

                      TIG

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

                        Tonight I saw an update for Tig's Roof plugin, I installed it, and it worked a couple of times. then I get this, Maybe I did something wrong, I don't know for sure.


                        2017-01-26_211918A.png


                        2017-01-26_211934A.png


                        2017-01-26_211726A.png

                        SU make 2017, /Twilight Render Hobby
                        Windows 10,64 bit,16GB ram, quad core Athlon 3.6 gHz proc. Anything else you want to know, ask me.

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

                          This is a known limitation.
                          Please read the recent posts...
                          The seed-face used for a hipped roof must NOT be at z=0 [when do you see a roof on the ground ?], and it should also be oriented to face upwards.
                          Your test examples seem to involve a rectangle drawn directly onto the ground and it is facing downwards too !
                          Extrude that face upwards into a 'box', select its top face, and now a hipped roof should form OK...

                          TIG

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

                            That makes sense, when I mentioned it worked, I was in another project and drew the roof on the floor (above 0Z) of that model, just experimenting with the update.

                            SU make 2017, /Twilight Render Hobby
                            Windows 10,64 bit,16GB ram, quad core Athlon 3.6 gHz proc. Anything else you want to know, ask me.

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

                              TIG,

                              I made a shape where I can create a Mansard roof, but it says it cannot make a Hipped roof.
                              I mention this because the algorithms seems similar. In fact, I can set "Height of Lower Roof" to only 1cm and it looks like a regular Hipped Roof. However, setting the height to 0 fails like Hipped roof.

                              Could it be a bug? Here's the file: https://1drv.ms/u/s!AnwI6G-MJcza1X_aCfVxdSqVB69t

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

                                The code for both roof-types is very similar, so I can't see why the hipped one fails.
                                However, it was easily fixed: I deleted the top face and drew over a single edge, so that SketchUp added back the face - as explained in the error-message sometimes a face's edge-order/loop-direction becomes confused in the SKP's data-base.
                                That replacement face then made a hipped roof without any difficulty...


                                Capture.PNG

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • mariochaM Offline
                                  mariocha
                                  last edited by

                                  Anyone else having this bug with Gable Roof when using ^Height ?

                                  Error: #<NoMethodError: undefined methodlength' for nil:NilClass>
                                  C:/Users/---------/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/Roof.rb:1725:in dialog_gable' C:/Users---------/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/Roof.rb:2376:in gable'
                                  C:/Users/--------/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/Roof.rb:3919:in onLButtonDown'


                                  ^Height.png

                                  %(#008000)[Mario C.
                                  Every rule has exceptions, but some.]

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

                                    Have you tried ^55" ?
                                    EDIT: Forget that.
                                    It's nothing to do with it per se, although it only manifests itself using ^Height...
                                    There's a weird typo in the gable making code which I need to resolve...
                                    Watch this space...

                                    TIG

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

                                      Here's v5.0 https://sketchucation.com/pluginstore?pln=Roof It fixes a typo in the Gable by ^Height code which caused a failure.
                                      this was a long standing typo, which has taken several years to find and be reported on !

                                      The code is also re-signed for v2018 compatibility...

                                      TIG

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

                                        Please Update Follow me & Rotate

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

                                          @ahmed0007 said:

                                          Please Update Follow me & Rotate
                                          This is not the correct thread to post this request.
                                          This FaR tool has its own thread[s].
                                          Although I have helped resolve some issues with FaR ver the years, it is NOT my code and is copyrighted and encrypted by its author.
                                          So nag him - not me !

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • mariochaM Offline
                                            mariocha
                                            last edited by

                                            A localizable version named Roof-LH.rbz is now available. (LanguageHandler)
                                            French strings included.
                                            Please note that this is not a full version since 'Layers & materials' options have been removed from it.
                                            Available on http://www.formation-sketchup.quebec

                                            if requested I can also load it in the PluginStore.
                                            Happy new year all.

                                            %(#008000)[Mario C.
                                            Every rule has exceptions, but some.]

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 7 / 9
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement