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.8k 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.
    • K Offline
      kaciecomeaux
      last edited by

      @tig said:

      It is an old toolset... but it should work.
      Use it with the Ruby Console open...
      A few pointers...
      The face for a hipped roof must be falt and NOT at z=0.
      There should be prompts on the status-bar and dialogs that ask for inputs...
      Report any errors from the Ruby Console...

      Please forgive me, I am fairly new to sketchup. I know that is a ruby file but what does " use it with ruby console open" mean?

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        It's a little box screen that display in text mode in real time all that is working on the screen of Sketchup!

        If there is an error that is displayed and like this that help a lot for debbugging! πŸ˜„

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

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

          Menu - Window > Ruby Console...
          Opens a window that lists errors/outputs and also lets you type in simple Ruby commands...

          TIG

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lazukin
            last edited by

            Big thanks to you.

            1 Reply Last reply Reply Quote 0
            • V Offline
              Valbano
              last edited by

              Upgraded to the 2018 version. In doing so, i lost my two extentions, Tig Roof and Dashed Lines. Tried to install Tig Roof from Plugin in store. I get this error message. "This file does not have an app associated with it for performing this action. Please insstall an app or, if one is already installed, create an association in the Default Apps Setting Page." Anyone have experience this situation?

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

                At last after a private email exchange we get the issue revealed !

                This is nothing to do with SketchUcation.com or its RBZ downloads...

                When you download anything from the Internet your browser will having certain settings to determine what happens to that downloaded file.
                These are set up for each file-type...
                So your 'options' will vary depending on your Internet browser's settings, and then the file-type.
                I suggest you edit your browser's options and ensure that RBZ file types are always prompted for a saved-file destination - usually your Downloads folder - but you could even avoid the 'save' prompt and always save them into Downloads ?
                Otherwise your browser settings can assume you want to open the file immediately, hence the prompt to choose an app.
                But you cannot open an RBZ file in an app.
                You must download it, then install it from within SketchUp itself...

                What's your internet-browser ?
                With that info we can advice you more specifically on the required setup for downloading/saving RBZ files, in your settings/options...

                I repeat the process from my recent private email exchange...

                @unknownuser said:

                Here's how to get it [installed], step by step...
                Download its RBZ file from the PluginStore.
                Save it somewhere sensible - like your Downloads folder...
                [see earlier about your browser's settings prompting for 'save' rather than 'open']
                ...
                In SketchUp open the Extension Manager dialog from the Window menu item.
                Click the bottom-left red-button 'Install Extension'.
                Find and open the RBZ.
                SketchUp then installs it for you...

                PS: I've also merged this into the main 'Roof' thread, where it belongs...

                TIG

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

                  In anticipation of your reply about what-browser...
                  Attached are the settings/options for the most common PC-based browsers, accessed from the top toolbar "..." or 'cog' button.

                  Firefox_Options-General
                  [attachment=3:1id27rd4]<!-- ia3 -->Firefox-Options-General.PNG<!-- ia3 -->[/attachment:1id27rd4]
                  Chrome-Settings-Downloads
                  [attachment=2:1id27rd4]<!-- ia2 -->Chrome-Settings-Downloads.PNG<!-- ia2 -->[/attachment:1id27rd4]
                  Edge-Settings-Downloads
                  [attachment=1:1id27rd4]<!-- ia1 -->Edge-Settings-Downloads.PNG<!-- ia1 -->[/attachment:1id27rd4]
                  InternetExplorer-Internet_Options-Security-Downloads
                  [attachment=0:1id27rd4]<!-- ia0 -->InternetExplorer-Internet_Options-Security-Downloads.PNG<!-- ia0 -->[/attachment:1id27rd4]

                  Use the one applicable to you...


                  Firefox_Options-General.PNG


                  Chrome-Settings-Downloads.PNG


                  Edge-Settings-Downloads.PNG


                  InternetExplorer-Internet_Options-Security-Downloads.PNG

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    L1bn00
                    last edited by

                    πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      presha98
                      last edited by

                      HOW DO I DOWNLOAD IT

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

                        @presha98 said:

                        HOW DO I DOWNLOAD IT

                        No need to use all caps. Go to the first post of the thread and click the Download button.
                        https://sketchucation.com/forums/viewtopic.php?f=80&t=66826

                        Please correct your profile. You've indicated you are using a SketchUp version that does not exist. Showing the actual version you are using helps us help you.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          KBuote
                          last edited by

                          I've successfully downloaded the extension and am able to see it in my extension window, however when I go to the roof extension the options are greyed out. Why might this be?

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

                            Check your Extension Loading Policy in Extension Manager is set to 'Unrestricted'...
                            Restart and retry...

                            TIG

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

                              TIG

                              Hi, im trying your roof plugin and it looks great, however I was wondering how and if I can change the units from inches to mm. im on a Mac Pro. Thanks hope you can help πŸ˜„

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

                                Roof uses the model's current units settings !
                                So change your Model Info > Units to say mm and all will be OK.
                                If you normally work in mm, then you should have a Template which starts in mm and start with that.
                                However, you can change/save a model's units at any time...

                                TIG

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

                                  Thanks so much, it works like a charm,
                                  I opened my templates that is set up in the correct units of mm, and all the measurements were given in mm for building my roofs! thank you πŸ‘

                                  1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    valentin46
                                    last edited by

                                    Bonjour, existe t'il en francais?

                                    Merci πŸ˜‰

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

                                      English only - dΓ©solΓ©

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        LemonCCC
                                        last edited by

                                        @tig said:

                                        Is this with the Hipped roof tool ?

                                        Are there any error messages in the Ruby Console or in dialogs ?
                                        Is there a Bugsplat ?

                                        It is possible to invent a plan face for a hipped roof form that cannot exist in 3d, but usually it tells you it's failed rather than crashing...

                                        Sorry for the late reply. I was on vacation.

                                        Coming back to the issue, I have found the problem: The face was created with multiple broken lines, therefore generating a hipped roof caused the crash. Fix was to just redraw the whole face without broken lines.

                                        I do not know how to find error messages in the ruby console or dialogs
                                        It does show a Bugsplat report

                                        Another issue has popped up: I am unable to generate a hipped roof. I have tried troubleshooting myself, but I even failed generating a hipped roof on a basic square face.

                                        Hipped Roof with the following parameters:
                                        Slope: 22.5 degrees
                                        Fascia: 100mm
                                        Soffit: 300mm

                                        Note: I can not even generate a hipped roof on a basic square with default parameters.

                                        I have uploaded the skp file. SU Pro 2020. Please review if free. Thanks!


                                        Roof Error model_20220915.skp

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

                                          The SKP you provided has 2 roof faces at z>0 [faces at z0 don't work].
                                          These 2 are identical in edge sizes and orientations/direction.
                                          The one on the right takes a hipped roof OK, but the one on the left fails with an error message.
                                          This is weird.
                                          However, if you follow the advice in the error message on that problem face. and erase one edge and remake t the new face will also take a hipped roof OK.
                                          Something in your model's database is skewed.
                                          But it is fixable...

                                          TIG

                                          1 Reply Last reply Reply Quote 1
                                          • L Offline
                                            LemonCCC
                                            last edited by

                                            @tig said:

                                            The SKP you provided has 2 roof faces at z>0 [faces at z0 don't work].
                                            These 2 are identical in edge sizes and orientations/direction.
                                            The one on the right takes a hipped roof OK, but the one on the left fails with an error message.
                                            This is weird.
                                            However, if you follow the advice in the error message on that problem face. and erase one edge and remake t the new face will also take a hipped roof OK.
                                            Something in your model's database is skewed.
                                            But it is fixable...

                                            Thank you. I have tried using new files/ swap Computers/ skp 2022, still no fix for me. Maybe it's just a weird roof shape.

                                            I have resorted to draw the roof manually. I have tested this roof shape with an AutoCAD Plugin. The generated roof design seems to be at fault, missing one ridge, attached screenshot. I have tried manually connecting the ridge, shown in green lines screenshot, and I'd assume it might have a less than 1 degree slope. I can't measure out the exact angle, as AutoCAD shows '180 degree' flat once connected. It's a weird roof layout anyways.

                                            Perhaps a tolerance/rounding on the plugin may help? Just suggesting, I do not have a clue with code writing etc.


                                            Snip 1.JPG


                                            Snip 2.JPG


                                            snip 3.JPG

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

                                            Advertisement