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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • A 離線
      Aerilius
      最後由 Aerilius 編輯

      This Plugin allows to draw physically accurate wires and ropes (catenary curves) between two points with only two clicks.

      [floatr:t2flpn38]preview.png[/floatr:t2flpn38]
      Installation: Open Window → Preferences → Extensions → Install Extension and select this file; alternatively use an unzip program to extract the contents into the SketchUp/Plugins folder. [previous downloads: 778]
      Version: 1.4.1

      Date: 06.03.2013

      Usage:
      (Menu) Plugins → Draw Wires

      • Type a number + %(#000000)[s] to change the number of curve segments:
        %(#000000)[24s]
      • Type a number + %(#000000)[%] to set an arc length (relative to the distance between source and target point):
        %(#000000)[120%]
      • Type a length to set a fixed arc length:
        %(#000000)[72.5m]
        %(#000000)[30.66"]

      History:
      version 1.4.1: 06.03.2013

      • added Spanish translation
      • fixed non-convergent numerical approximation for curve lengths near 100% of distance
        version 1.4.0: 01.03.2013
      • converted into a SketchUp Extension
      • image and cursor added
        version 1.3: 03.06.2012
      • fixed wrong segment length (only noticeable with big sag like 200%)
      • changed segments to have equal angles (visually best result, but not all segments have the same length)
      • added optional parameter @@segment_distribution_mode in the script to toggle back to equal length segments (edit the ruby file)
        version 1.2: 30.05.2012
      • now all segments have equal arc length (no more equal x length)
      • error with translation in activate didn't properly activate the tool
      • @state=0 fixed
        version 1.1: 27.05.2012
      • translations
      • better precision (changed threshold for numerical calculations)
        version 1.0: 27.05.2012
      1 條回覆 最後回覆 回覆 引用 0
      • KrisidiousK 離線
        Krisidious
        最後由 編輯

        sweet thanks.

        By: Kristoff Rand
        Home DesignerUnique House Plans

        1 條回覆 最後回覆 回覆 引用 0
        • Bob JamesB 離線
          Bob James
          最後由 編輯

          I can really use this! Thank you. 👍

          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

          1 條回覆 最後回覆 回覆 引用 0
          • thomthomT 離線
            thomthom
            最後由 編輯

            @aerilius said:

            Type a length to set a fixed arc length:

            !!! I tried on this a couple of years ago! Never worked out how to do a fixed length curve. I need to snoop around in your code. I wanted to make a tool that would anchor the end point to other geometry so when you moved of the the object it was attached it the curve would update.

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 條回覆 最後回覆 回覆 引用 0
            • iichiversiiI 離線
              iichiversii
              最後由 編輯

              Now this is a great plugin, thanks 👍

              Bring on the Rain...

              1 條回覆 最後回覆 回覆 引用 0
              • gullfoG 離線
                gullfo
                最後由 編輯

                very cool! this is one of the more useful shapes in acoustics!

                Glenn

                http://www.runnel.com

                1 條回覆 最後回覆 回覆 引用 0
                • thomthomT 離線
                  thomthom
                  最後由 編輯

                  @gullfo said:

                  very cool! this is one of the more useful shapes in acoustics!

                  That I wasn't aware of. Guess I need to read up on it again.

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 條回覆 最後回覆 回覆 引用 0
                  • mitcorbM 離線
                    mitcorb
                    最後由 編輯

                    Another good tool concept. By the way, Remus Knowles has another version in the Plugins Index.

                    I take the slow, deliberate approach in my aimless wandering.

                    1 條回覆 最後回覆 回覆 引用 0
                    • iichiversiiI 離線
                      iichiversii
                      最後由 編輯

                      @mitcorb said:

                      Another good tool concept. By the way, Remus Knowles has another version in the Plugins Index.

                      Any idea what his version is called?

                      Bring on the Rain...

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

                        Remus' plugin is the Simple Catenary Curve. It "just" calculates the curve for a given set of 17 points but it put me on the right path to look on Wikipedia after I had a paper full of integrals that didn't want get further simplified.

                        1 條回覆 最後回覆 回覆 引用 0
                        • urgenU 離線
                          urgen
                          最後由 編輯

                          HA!...cool idea.thanks Aerilius 👍

                          --pupil forever...------

                          1 條回覆 最後回覆 回覆 引用 0
                          • N 離線
                            nektares
                            最後由 編輯

                            I always did this with splines, this is a much better and precise way to do it, Thank you!

                            1 條回覆 最後回覆 回覆 引用 0
                            • sdmitchS 離線
                              sdmitch
                              最後由 編輯

                              When I tried the plugin, I kept getting a canatnary drawn from the origin to my first pick point. Adding a @state = 0 to the def initialize method fixed this problem.

                              Nothing is worthless, it can always be used as a bad example.

                              http://sdmitch.blogspot.com/

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

                                Hi Sam,
                                thanks for the tip. I wonder why this happens, although the initialize method does not have @state=0, this should be set when the activate method calls reset.
                                Is someone else having this problem?

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

                                  @unknownuser said:

                                  Is someone else having this problem?

                                  Yes the same here. Thanks for the plugin btw. 👍

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    create_geometry and draw_geometry can be refactored into one method that returns an array of point3d objects - the only difference between these methods are the final statement. DRY

                                    Thomas Thomassen — SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

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

                                      I didn't experience the same thing that Sam reported.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • gullfoG 離線
                                        gullfo
                                        最後由 編輯

                                        i added the @state=0 and it made a difference in terms of being able to select the first point. very nice tool!

                                        Glenn

                                        http://www.runnel.com

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement