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

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

    Scheduled Pinned Locked Moved Plugins
    54 Posts 26 Posters 58.9k 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.
    • A Offline
      Aerilius
      last edited by

      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 Reply Last reply Reply Quote 0
      • massimoM Offline
        massimo Moderator
        last edited by

        @unknownuser said:

        Is someone else having this problem?

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

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          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 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            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 Reply Last reply Reply Quote 0
            • gullfoG Offline
              gullfo
              last edited by

              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 Reply Last reply Reply Quote 0
              • Dave RD Offline
                Dave R
                last edited by

                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 Reply Last reply Reply Quote 0
                • wind-borneW Offline
                  wind-borne
                  last edited by

                  @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 Reply Last reply Reply Quote 0
                  • Dave RD Offline
                    Dave R
                    last edited by

                    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 Reply Last reply Reply Quote 0
                    • Dave RD Offline
                      Dave R
                      last edited by

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

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

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          I guess I'd be interested.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            raineysky
                            last edited by

                            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 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by

                              That apparently fixed it. Thank you.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • McGyverM Offline
                                McGyver
                                last edited by

                                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](http://www.ShareCG.com/pf/full_uploads.php?pf_user_name)

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

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

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

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

                                          Might also be cool to work with for line art!

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement