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.
    • 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
                      • Rich O BrienR Online
                        Rich O Brien Moderator
                        last edited by

                        You can get a result if you break the face up...

                        https://i.imgur.com/GR5Bd65.png

                        ..so its a case of finding the correct pattern to get the result you need

                        Download the free D'oh Book for SketchUp πŸ“–

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bluexeiden
                          last edited by

                          Idk why i keep on getting bugsplat error. Pls help

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

                            Without a lot more detail, or even a SKP, we are guessing - e.g. perhaps you are holding your tongue wrongly πŸ˜•

                            TIG

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

                            Advertisement