sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] WireTool (Catenary) (1.4.1) – updated 06.03.2013

    已排程 已置頂 已鎖定 已移動 Plugins
    54 貼文 26 Posters 61.1k 瀏覽 26 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Dave RD 離線
      Dave R
      最後由 編輯

      So why don't I have this same problem? I didn't modify the script and it works fine for me.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 條回覆 最後回覆 回覆 引用 0
      • wind-borneW 離線
        wind-borne
        最後由 編輯

        @dave r said:

        So why don't I have this same problem? I didn't modify the script and it works fine for me.

        Which version are you using?
        initial version works fine for me, updated version moves to origin.

        "To read between the lines was easier than to follow the text."OSX 10.11.6

        %(#BF80BF)[SU 8 pro

        1 條回覆 最後回覆 回覆 引用 0
        • Dave RD 離線
          Dave R
          最後由 編輯

          That would explain it. I didn't catch that there was an update because the thread title wasn't edited to show that as is SOP here.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 條回覆 最後回覆 回覆 引用 0
          • Dave RD 離線
            Dave R
            最後由 編輯

            So now I've updated the plugin and added the line as mentioned. I get some rather strange behavior now. See the video.

            [flash=420,315:13s7e1sa]http://www.youtube.com/v/7IJXmgk8lio?version=3&hl=en_US[/flash:13s7e1sa]

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              I have the original version [that works] if anyone wants it... 😕

              TIG

              1 條回覆 最後回覆 回覆 引用 0
              • Dave RD 離線
                Dave R
                最後由 編輯

                I guess I'd be interested.

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 條回覆 最後回覆 回覆 引用 0
                • R 離線
                  raineysky
                  最後由 編輯

                  I would very much like to have it if it makes rope. I tried it but got results like Dave shows in the video.

                  1 條回覆 最後回覆 回覆 引用 0
                  • Dave RD 離線
                    Dave R
                    最後由 編輯

                    That apparently fixed it. Thank you.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 條回覆 最後回覆 回覆 引用 0
                    • McGyverM 離線
                      McGyver
                      最後由 編輯

                      This is very cool! Thank you!

                      Edited to add- This is REALLY cool! I was just messing around with it and it works great for something I was making. THANKS!

                      Visit My ShareCG Freebie Gallery

                      1 條回覆 最後回覆 回覆 引用 0
                      • A 離線
                        Aerilius
                        最後由 編輯

                        Tools normally don't have weird behavior without reason. Running it with the Ruby console open gives often more definable results.
                        So I found and fixed an unobvious bug with the translations that stirred up all methods and I changed that the x-width of segments is variable to give always the same segment length.

                        1 條回覆 最後回覆 回覆 引用 0
                        • M 離線
                          Michaelv
                          最後由 編輯

                          Great Thanks.

                          There was another catenary tool (and other geometric curves too) here:
                          http://forums.sketchucation.com/viewtopic.php?t=41310

                          I needed to make them like this though.

                          See below however, the first segment is much longer and they become smaller as they go on the curve:


                          Cats.jpg

                          1 條回覆 最後回覆 回覆 引用 0
                          • A 離線
                            Aerilius
                            最後由 編輯

                            @Michaelv: Thanks for noticing this! It was not much visible with little sagging (110%) but with big sagging. Sorry that it took some time (it's not easy to do math with curve lengths).
                            I fixed it now.

                            I also thought about the problem and find that the corners/endpoints a even less noticeable when I use equal angles between the segments. If you prefer equal segment lengths, you can change the parameter @@segments_distribution_mode to 1 inside the script.

                            1 條回覆 最後回覆 回覆 引用 0
                            • M 離線
                              Michaelv
                              最後由 編輯

                              Thanks!

                              A nice option (but I can do it when I get a minute) would be for the start to start either like you did (wire) or horizontal )like a cable that's more rigid, yet supported by posts.
                              Toggle with alt/option

                              I think all it takes is force the angle at point of attachment to be horizontal, and the equation would take care of the rest. But maybe not. 😄
                              Never mind, I looked at it and the equation as it stands is for tension always parallel to the tangent of the curve, thus deflection equations (with rigidity, etc..) at the boundary would have to be used until that is the case. too complicated for the time being.

                              Danke Shoen!

                              1 條回覆 最後回覆 回覆 引用 0
                              • M 離線
                                moluasa
                                最後由 編輯

                                Might also be cool to work with for line art!

                                1 條回覆 最後回覆 回覆 引用 0
                                • A 離線
                                  Aerilius
                                  最後由 編輯

                                  Minor update (1.4.0):

                                  • converted it into a SketchUp Extension (that you can turn on/off)
                                  • added icons and cursor
                                    Please remove older version if you update.
                                  1 條回覆 最後回覆 回覆 引用 0
                                  • OxerO 離線
                                    Oxer
                                    最後由 編輯

                                    Thanks for the update!!
                                    This is the spanish language:
                                    %(#FF0000)["es" => {
                                    "Draw Wires" => "Dibujar Cables",
                                    "Catenary" => "Catenaria",
                                    "Tool to draw catenary curves." => "Herramienta para dibujar curvas catenarias."
                                    "Arc Length" => "Longitud Arco",
                                    "Segments" => "Segmentos",
                                    "Distance" => "Distancia",
                                    "Select first end" => "Selecciona Primer Final",
                                    "Select second end" => "Selecciona Segundo Final"
                                    },]
                                    You can to include in the next version.

                                    EDIT: On Mac the icon doesn't show but I have added the line below in the end of the WireTool.rb file and now it shows:

                                       %(#FF0000)[UI::Toolbar.new(@@translate["Draw Wires"]).add_item(cmd)]
                                    

                                    "The result is the end what is important is the process" by Oxer
                                    http://www.oxervision.blogspot.com/

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • A 離線
                                      Aerilius
                                      最後由 編輯

                                      Thanks!

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • gillesG 離線
                                        gilles
                                        最後由 編輯

                                        I notice that you specify a length you always got a approximation, not the desired length.

                                        " c'est curieux chez les marins ce besoin de faire des phrases "

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • A 離線
                                          Aerilius
                                          最後由 編輯

                                          That has two reasons: SketchUp has no curves and like arcs, the length of these catenary curves isn't the sum of the segments.
                                          The other reason is that the numerical algorithm needs many many more iterations to reduce the bulge if the curve is almost straight (100% should theoretically give a straight line). I'm working on improving this.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • gillesG 離線
                                            gilles
                                            最後由 編輯

                                            Good work by the way, a useful one.

                                            " c'est curieux chez les marins ce besoin de faire des phrases "

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement