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

    [Plugin] Roof.rb

    已排程 已置頂 已鎖定 已移動 Extensions & Applications Discussions
    extensions
    170 貼文 73 Posters 156.8k 瀏覽 73 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • S 離線
        SUHEIRELALI
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • V 離線
          valentin46
          最後由 編輯

          Bonjour, existe t'il en francais?

          Merci 😉

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            English only - désolé

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • L 離線
              LemonCCC
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • TIGT 離線
                TIG Moderator
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 1
                • L 離線
                  LemonCCC
                  最後由 編輯

                  @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 條回覆 最後回覆 回覆 引用 0
                  • Rich O BrienR 離線
                    Rich O Brien Moderator
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • B 離線
                      bluexeiden
                      最後由 編輯

                      Idk why i keep on getting bugsplat error. Pls help

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 離線
                        TIG Moderator
                        最後由 TIG 編輯

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

                        TIG

                        1 條回覆 最後回覆 回覆 引用 -1
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 9 / 9
                        • 第一個貼文
                          最後的貼文
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement