sketchucation logo sketchucation
    • Login
    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!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

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

    Scheduled Pinned Locked Moved Plugins
    54 Posts 26 Posters 64.5k Views 26 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.
    • M
      Michaelv
      last edited by

      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 Reply Last reply
      Reply Quote 0
      • M
        moluasa
        last edited by

        Might also be cool to work with for line art!

        1 Reply Last reply
        Reply Quote 0
        • A
          Aerilius
          last edited by

          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 Reply Last reply
          Reply Quote 0
          • OxerO
            Oxer
            last edited by

            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 Reply Last reply
            Reply Quote 0
            • A
              Aerilius
              last edited by

              Thanks!

              1 Reply Last reply
              Reply Quote 0
              • gillesG
                gilles
                last edited by

                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 Reply Last reply
                Reply Quote 0
                • A
                  Aerilius
                  last edited by

                  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 Reply Last reply
                  Reply Quote 0
                  • gillesG
                    gilles
                    last edited by

                    Good work by the way, a useful one.

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

                    1 Reply Last reply
                    Reply Quote 0
                    • A
                      Aerilius
                      last edited by

                      Just to give you an idea: I increased the number of iterations (at every mouse move) from 10 to 150 and the overlength is still half of what it was before (and 150 iterations is far too much). But at least I know which part to optimize.

                      1 Reply Last reply
                      Reply Quote 0
                      • Bob JamesB
                        Bob James
                        last edited by

                        @aerilius said:

                        Minor update (1.4.0):- added icons and cursor

                        I don't see "draw wires" in my toolbar list

                        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 Reply Last reply
                        Reply Quote 0
                        • TIGT
                          TIG Moderator
                          last edited by

                          @bob james said:

                          @aerilius said:

                          Minor update (1.4.0):- added icons and cursor

                          I don't see "draw wires" in my toolbar list

                          Did you first activate its Extension under Preferences ?

                          TIG

                          1 Reply Last reply
                          Reply Quote 0
                          • A
                            Aerilius
                            last edited by

                            I've uploaded a new version 1.4.1 improving the 100% curve length issue (curve was too long).

                            The previous version didn't mention any toolbar (only icon image), though as it seems nobody else has a problem with one-button toolbars I added one ☀ . I hope it doesn't increase the toolbar mess.

                            1 Reply Last reply
                            Reply Quote 0
                            • OxerO
                              Oxer
                              last edited by

                              Thanks Aerilius!!
                              I have saw that you have included the line for the Toolbar and spanish language, thanks again.

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

                              1 Reply Last reply
                              Reply Quote 0
                              • irwanwrI
                                irwanwr
                                last edited by

                                Thank you very much for this plugin.

                                1 Reply Last reply
                                Reply Quote 0
                                • S
                                  slander
                                  last edited by

                                  Thanks very much for this. It produces a really lovely result for drawing thin arches.
                                  I noticed a small problem when I move the endpoints of an existing catenary around - gravity seems to veer away at an peculiar angle. All plan-plane moves seem to work just fine though.

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • A
                                    Aerilius
                                    last edited by

                                    Hi,
                                    the resulting curve is just SketchUp geometry, and does not expose physical behavior of a wire. When moving one end point of an arc, it shows normal SketchUp behavior (ie. SketchUp tries to squeeze or stretch the arc to fit to both end points).
                                    But a wire that really (physically) moves with attached objects would be a cool feature. The plugin would need observers to watch all the time on all these arcs, and recalculate an arc once an endpoint is changed.

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • B
                                      Ben Ritter
                                      last edited by

                                      I cannot get the plugin to work with specific inputs. It creates a the same curve no matter what I enter.

                                      Can you help?

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • B
                                        Ben Ritter
                                        last edited by

                                        Never mind, I figured it out. You have to press Enter after entering the distance, etc.

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • E
                                          escufi
                                          last edited by

                                          Nice Plugin Aerilius , very usefull. Thanks a lot

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • dereiD
                                            derei
                                            last edited by

                                            Very nice and useful !
                                            One question: shouldn't be better suited under DRAW menu, instead of Extensions?
                                            There is a uncanny tendency to put the plugins under Tools or Extensions menus... leaving all others with too little entries, even if the plugin in cause should better fit in other menu.

                                            Cheers.

                                            DESIGNER AND ARTIST DEREI.UK

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement